This is a discussion on osCmax 2.0, new install empty cart within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I have just finished a new install and all went well till i attempted to test the buy now and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have just finished a new install and all went well till i attempted to test the buy now and the cart comes up empty. my php version is 4.3.11 config is: define('HTTP_SERVER', 'http://www.joliimports.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.serverd.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.joliimports.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure.serverd.net/~barrowj'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/~barrowj/'); 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/barrowj/public_html/'); 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', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'database name'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' i have not made any modifications to the system other than upload some products. Any help would be appreciated. |
|
#2
| ||||
| ||||
| These are wrong: define('HTTP_COOKIE_DOMAIN', 'www.joliimports.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure.serverd.net/~barrowj'); Should be: define('HTTP_COOKIE_DOMAIN', 'joliimports.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.serverd.net'); These are also wrong: define('HTTPS_SERVER', 'https://secure.serverd.net'); define('DIR_WS_HTTPS_CATALOG', '/~barrowj/'); Should be: define('HTTPS_SERVER', 'https://secure.serverd.net/~barrowj'); define('DIR_WS_HTTPS_CATALOG', '/');
__________________ Michael Sasek osCMax Developer
|
| The Following User Says Thank You to michael_s For This Useful Post: | ||
nag.jnb (08-01-2007) | ||
|
#3
| |||
| |||
| Hi Michael, I made the changes as suggested but i still get an empty cart. Thanks, Joe |
| The Following User Says Thank You to barrowj For This Useful Post: | ||
nag.jnb (08-01-2007) | ||
|
#4
| ||||
| ||||
| You just set it up wrong I am sure. If that much was messed up by default, I am willing to bet the paths are all wrong. Open up your standard osC configure.php file and compare it to the osCMax one. Make sure the paths are correct.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| i actually copied the paths exactly from my original osC configure file and then when that didn't work, i reinstalled fresh again to see if i had corrupted the install somehow. i did read in one of the earlier post about register_globals and checked the oscommerce contribs but not sure if i can use it to fix this problem. |
|
#6
| |||
| |||
| I'm having this same issue. I seem to be having a real hard time getting everything to work right. When I install under Apache everything seems to go fine on the install process. Everything works until I add a product, then on every page click I get the damn error box "Document Contains No Data". When I install using IIS, the auto install doesn't work at all, so I have to manually configure all the paths. When I do this, I don't get the "Document Contains No Data" error, but the shopping cart still doesn't work. Most the time it doesn't show any products, but every now and again, I'll get a stack overflow error. |
|
#7
| |||
| |||
| it seems my problem is now fixed, it was the "buy now" button problem fixed by michael on 6/21. search for "buy now" button |
|
#8
| ||||
| ||||
| Or just go to the bugtracker and view bug : http://bugtrack.oscmax.com/view.php?id=11 It has the fix attached.
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shopping cart empty error | jasonabc | osCommerce 2.2 Modification Help | 1 | 12-18-2004 11:06 PM |
| I can't checkout man+cart is empty (i fiddled with cookies) | Guile | osCommerce 2.2 Installation Help | 1 | 09-03-2004 08:12 AM |
| Empty shopping cart after clicking Buy Now Button | Walter | osCommerce 2.2 Modification Help | 0 | 05-03-2004 10:02 AM |
| Empty cart on secure checkout | fragzilla | osCommerce 2.2 Modification Help | 3 | 09-17-2003 01:35 PM |
| Shopping cart won't empty | judoka | osCommerce 2.2 Modification Help | 2 | 07-14-2003 01:07 PM |