osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Session ID / osCsid missing after moving from ms1 to ms2

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-09-2004, 11:22 AM
MG MG is offline
New Member
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MG
Default Session ID / osCsid missing after moving from ms1 to ms2

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-11-2004, 08:10 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-11-2004, 09:26 AM
MG MG is offline
New Member
 
Join Date: Aug 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
MG
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 10:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax