This is a discussion on Session ID / osCsid missing after moving from ms1 to ms2 within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; hi all, i am really frustrated now. i've done an upgrade from osc2.2 ms1 to ms2. i first ftp'd the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hi all, i am really frustrated now. i've done an upgrade from osc2.2 ms1 to ms2. i first ftp'd the ms2 to my host and have done the installation and did all the configurations to be the same as my old site. in then renamed the old catalog directory to /old_shop/ and the new one to /shop/ (as it was before with the previous site). EVERYTHING is working fine except that the session id is missing which is resulting in myself/clients not being able to log in or the shopping cart to be emptied. i've looked through all the posts and 99% of all the time the problem is with the configure.php file. i've configured it exactly the same as it was before (although you can configure cookies etc with ms2). i use a shared https server and i do save my sessions in mysql. my config file: define('HTTP_SERVER', 'http://www.cdx.co.za'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://velocity.secureguards.com/~cdx/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.cdx.co.za'); define('HTTPS_COOKIE_DOMAIN', 'velocity.secureguards.com'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/~cdx/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', '/home/cdx/public_html/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'cdx_shop'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'cdx_shop'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' i have played with the path names and none has solved the problem. sometimes i do get a session id after i have cleared my computers cache but not on all the links. everything worked before...why not now?! please help! thanks Marnitz www.cdx.co.za
__________________ Marnitz Engelbrecht South Africa |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| define('HTTPS_SERVER', 'https://velocity.secureguards.com/~cdx/'); .... define('HTTPS_COOKIE_PATH', '/~cdx/shop/'); Thus cookies is stored in: https://velocity.secureguards.com/~cdx//~cdx/shop/ ? Try: define('HTTPS_SERVER', 'https://velocity.secureguards.com/~cdx'); If that does not full work then try define('HTTPS_COOKIE_PATH', './~cdx/shop/'); or define('HTTPS_COOKIE_PATH', '/shop/'); Good luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| hi jpf, thanks for the reply. i've tried that and it is still not working. what iv'e noticed is that links that are in the html part of my index.php file (refer to my intro text and hover over the buy, sell or contact links) does have the session id but ALL the other links, eg. My Account, Cart Contents etc does NOT have the session id?! i think this has something to do with the problem. what else can i try?? thanks!
__________________ Marnitz Engelbrecht South Africa |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| moving to a different host | Christy | osCMax v2 Installation issues | 5 | 05-22-2006 05:46 PM |
| Moving between Servers | auxone | osCommerce 2.2 Installation Help | 2 | 10-31-2004 12:18 PM |
| Moving a website | Zych | osCMax v1.7 Discussion | 6 | 08-24-2004 10:32 AM |
| SSL Errors, Session Cookie, Session Cache, NOVICE Problems? | hanool | osCommerce 2.2 Modification Help | 1 | 09-07-2003 12:49 PM |
| Links not working with osCsid session id | MG | osCommerce 2.2 Modification Help | 1 | 09-02-2003 11:06 PM |