Results 1 to 4 of 4

Products not being put into cart

This is a discussion on Products not being put into cart within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hello everyone, lovely forum you have here! There was a related post on the forum, mentioning the fact that a ...

      
  1. #1
    Lurker
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    0


    Default Products not being put into cart

    Hello everyone, lovely forum you have here!

    There was a related post on the forum, mentioning the fact that a bad configuration file was the cause of this issue. I have looked into the config file and don't see anything out of place, though I am probably missing something. I am new to the oscommerce package, but to be honest I don't think the people that installed this package for my client did a very good job.

    Here is a copy of the config file as it is right now. The website is currently functional and online as well.


    define('HTTP_SERVER', 'https://shop.synergeticlifesuccess.com');
    define('HTTPS_SERVER', 'https://shop.synergeticlifesuccess.com');
    define('ENABLE_SSL', true);
    define('HTTP_COOKIE_DOMAIN', 'shop.synergeticlifesuccess.com');
    define('HTTPS_COOKIE_DOMAIN', 'shop.synergeticlifesuccess.com');
    define('HTTP_COOKIE_PATH', '/./');
    define('HTTPS_COOKIE_PATH', '/./');
    define('DIR_WS_HTTP_CATALOG', '/./');
    define('DIR_WS_HTTPS_CATALOG', '/./');
    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', '/var/www/vhosts/shop.synergeticlifesuccess.com/httpdocs/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

    Thank you. If I need to include more information please let me know.

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,428
    Rep Power
    48


    Smile Re: Products not being put into cart

    Kira,

    I think your problem lies in the warning that is displayed on your web page when you try and add the item to the basket.

    Basically, it is a session problem.

    Underneath the green menu bar you can see the problem ...

    Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.
    Check your server for the tmp folder.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    Lurker
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    0


    Default Re: Products not being put into cart

    Hmm, I don't know where this error is located that you are seeing, regardless...

    There is a tmp directory at /httpdocs/tmp/, httpdocs being the root of the website. Perhaps the directory cannot be written to? Or perhaps the PHP configuration is pointing to a different tmp?

    I will need to get in touch with the host today and see if they are aware of this possibility.

    Thank you for your time and input~

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: Products not being put into cart

    Change to store session in MySQL (which should be the default) not file based.

    Change configure.php files to:

    PHP Code:
      define('STORE_SESSIONS''mysql'); 
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    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!

Similar Threads

  1. Products added to cart
    By countingsheep in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 04-28-2008, 08:53 AM
  2. Can't remove old products from cart
    By Annakay in forum osCMax v2 Features Discussion
    Replies: 2
    Last Post: 04-01-2008, 10:24 AM
  3. Add multiple products to cart
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-01-2007, 03:50 AM
  4. Losing products from shopping cart?
    By angelbud in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-18-2004, 03:08 PM
  5. 2 products by page in shopping cart
    By EPierre in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 12-01-2002, 09:57 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
  •