osCmax v2.5 User Manual
Results 1 to 5 of 5

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

      
  1. #1
    bsa
    bsa is offline
    New Member
    Join Date
    Aug 2003
    Posts
    13
    Rep Power
    0


    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

  2. #2
    bsa
    bsa is offline
    New Member
    Join Date
    Aug 2003
    Posts
    13
    Rep Power
    0


    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)

  3. #3
    bsa
    bsa is offline
    New Member
    Join Date
    Aug 2003
    Posts
    13
    Rep Power
    0


    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

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    bsa
    bsa is offline
    New Member
    Join Date
    Aug 2003
    Posts
    13
    Rep Power
    0


    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

Similar Threads

  1. Shopping cart
    By decoster in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-05-2006, 08:12 AM
  2. Which shopping cart should I use? Please help.
    By earth-friendly in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 07-16-2006, 12:36 PM
  3. shopping cart issue
    By martinR in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 01-25-2005, 10:09 AM
  4. Shopping cart problem
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-08-2003, 10:55 AM
  5. have shopping cart on a schedule
    By lopeel in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-07-2003, 09:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •