Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

unable to login or create account


BryceJr

Recommended Posts

After enabling ssl/secure mode in both configure.php, I'm unable to log in or create account in shopping cart.

No error messages just a blank white screen after a few seconds.

Unable to log in mysite/admin also -- had to disable ssl to log in.

I can most likely secure admin by using some of the

contributions, htaccess, password protect thru cPanel, etc.

 

It works in UNSECURE mode.

I'm on a shared server but NOT shared ssl.

Force cookie is enabled (true).

 

includes/configure.php

define('HTTP_SERVER', 'http://www.mysite.com');

define('HTTPS_SERVER', 'https://mysite.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.mysite.com');

define('HTTPS_COOKIE_DOMAIN', '.mysite.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

admin/includes/configure.php

define('HTTP_SERVER', 'https://www.mysite.com');

define('HTTP_CATALOG_SERVER', 'https://www.mysite.com');

define('HTTPS_CATALOG_SERVER', 'https://www.mysite.com');

define('ENABLE_SSL_CATALOG', 'true');

define('DIR_FS_DOCUMENT_ROOT', '/home/content/o/p/g/opgmys/html/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/content/o/p/g/opgmys/html/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/home/content/o/p/g/opgmys/html/');

 

includes/application_top

// set the type of request (secure or not)

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

myenv.php -- https://mysite.com

$HTTP_HOST == mysite.com

$HTTPS_HOST ==

getenv('SERVER_PORT') == 443

getenv('HTTPS') == on

getenv('HTTP_X_FORWARDED_SERVER') ==

getenv('HTTP_X_FORWARDED_HOST') ==

getenv('HTTP_X_FORWARDED_BY') ==

$_SERVER['HTTPS'] == on

getenv('DOCUMENT_ROOT') == /home/content/o/p/g/opgmys/html

$DOCUMENT_ROOT == /home/content/o/p/g/opgmys/html

 

Posted on another forum. Points finger on osCommerce. Called hosting service for assistance. They wanted me to download their version of osCommerce and reinstall. site:gotpaintballskillsDOTcom

 

Opera and IE worked very well. Firefox can't go through. Any thoughts or ideas are welcomed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...