This is a discussion on Shopping cart empties after login. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello, I don't know if this is AABox specific. My webserver has an httpdocs directory and a secure httpsdocs directory. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I don't know if this is AABox specific. My webserver has an httpdocs directory and a secure httpsdocs directory. I have simply copied the catalog directory into both. If I fill up my cart then login the shopping cart is empty. I set STORE_SESSIONS to 'mysql', if I set STORE_SESSIONS to '' then it just gets really weird. If I try to symlink the httpsdocs/catalog to httpdocs/catalog I get a PHP open_basedir() error. Does anybody know how to make PHP follow symlinks? Will that even fix my problem? My "Visitor Cart" is not merging with the "Member Cart". The HTTP_COOKIE_DOMAIN and HTTPS_COOKIE_DOMAIN are exactly the same, as are the COOKIE_PATHs. Thanks, Brad |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| Here is my server info in case it is a version problem. Server OS: Linux 2.4.18-17.7.x Database: MySQL 3.23.49 Server Date: 08/24/2003 23:27:58 Datebase Date: 08/24/2003 23:27:58 Server Up Time: 11:27pm up 178 days, 46 min, 1 user, load average: 0.00, 0.00, 0.00 HTTP Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) FrontPage/5.0.2.2623 mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 PHP Version: 4.1.2 (Zend: 1.1.1) |
|
#3
| |||
| |||
| I've actually symlinked my /httpsdocs to /httpdocs and I am still having the same problem. I'm running Plesk 5.0 on my server and I got that tip from the Plesk forums. Thanks, Brad |
|
#4
| ||||
| ||||
| First, try turning "Force Cookies" to False in the admin and see if that clears up the problem If it does, you have a cookie path issue. If not, the issue is probably with the path settings in configure.php This suggestion will not solve your trouble, but at least get closer to a cause.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Solved it, thanks for directing me to the sessions portion of the configuration. I had the following set to true, which will of course cause a shopping cart to empty: Recreate Session Recreate the session to generate a new session ID when the customer logs on or creates an account (PHP >=4.1 needed). The "Force Cookies" didn't do it. Thanks again, Brad |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shopping cart | decoster | osCMax v2 Customization/Mods | 1 | 12-05-2006 08:12 AM |
| Which shopping cart should I use? Please help. | earth-friendly | osCMax v2 Customization/Mods | 6 | 07-16-2006 12:36 PM |
| shopping cart issue | martinR | osCommerce 2.2 Installation Help | 1 | 01-25-2005 10:09 AM |
| Shopping cart problem | Anonymous | osCMax v1.7 Discussion | 2 | 11-08-2003 10:55 AM |
| have shopping cart on a schedule | lopeel | osCommerce 2.2 Modification Help | 1 | 10-07-2003 09:28 AM |