osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Shopping cart empties after login.

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-24-2003, 07:23 PM
bsa bsa is offline
New Member
 
Join Date: Aug 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bsa
Default Shopping cart empties after login.

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-24-2003, 07:29 PM
bsa bsa is offline
New Member
 
Join Date: Aug 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bsa
Default

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 08-24-2003, 07:55 PM
bsa bsa is offline
New Member
 
Join Date: Aug 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bsa
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 08-24-2003, 11:18 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,489
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 08-25-2003, 07:02 PM
bsa bsa is offline
New Member
 
Join Date: Aug 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bsa
Default

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


All times are GMT -8. The time now is 09:26 PM.


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