Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login page link


Jen7pc

Recommended Posts

Posted

I'm troubleshooting troublesome session cookies process.

 

I've tweaked configure.php to get as far as the login screen. Now, I'm trying to figure out which part of catalog/includes/configure.php is drawn upon when one clicks the "signin" button when on https://secure19.host.net/secure1/mysite/catalog/login.php

 

I'm getting a 404 error, so something is wrong. If I change the https server definition then I get a 404 error sooner in the process. So it must be calling some other part of configure.php - but I can't tell which part.

 

Note, this is a shared SSL

 

Suggestions?

 

Thanks.

 

JWM

Posted

Let me rephrase my question ...

 

When I click on signin at the login.php page, the link turns out to be

 

https://secure19.host.net/secure1//catalog/index.php

 

It is missing the 'myurl' after secure1/

 

Which part of catalog/includes/configure.php relates to that definition?

 

Note: if define('HTTPS_SERVER' is changed I get a 404 error before getting to the login page.

 

Here's the configure.php code:

 

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

define('HTTPS_SERVER', 'https://secure19.host.net/secure1/');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', '.myurl.com/');

define('HTTPS_COOKIE_DOMAIN', '.secure19.host.net/secure1/myurl/catalog/');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', 'myurl/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxx');

define('DB_SERVER_PASSWORD', 'yyy');

define('DB_DATABASE', 'zzz');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

This is on a windows box, with a shared ssl.

 

Thanks,

JWM :'(

Archived

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

×
×
  • Create New...