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

osCmax 2.0, new install empty cart

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

      
  1. #1
    New Member
    Join Date
    Jun 2004
    Location
    Georgia
    Posts
    9
    Rep Power
    0


    Default osCmax 2.0, new install empty cart

    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. #2
    osCMax Developer

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


    Default RE: osCmax 2.0, new install empty cart

    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


    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

  3. #3
    New Member
    Join Date
    Jun 2004
    Location
    Georgia
    Posts
    9
    Rep Power
    0


    Default RE: osCmax 2.0, new install empty cart

    Hi Michael,

    I made the changes as suggested but i still get an empty cart.

    Thanks, Joe

  4. #4
    osCMax Developer

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


    Default RE: osCmax 2.0, new install empty cart

    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


    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
    New Member
    Join Date
    Jun 2004
    Location
    Georgia
    Posts
    9
    Rep Power
    0


    Default RE: osCmax 2.0, new install empty cart

    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. #6
    New Member
    Join Date
    Nov 2004
    Location
    Colorado
    Posts
    17
    Rep Power
    0


    Default RE: osCmax 2.0, new install empty cart

    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. #7
    New Member
    Join Date
    Jun 2004
    Location
    Georgia
    Posts
    9
    Rep Power
    0


    Default RE: osCmax 2.0, new install empty cart

    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. #8
    osCMax Developer

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


    Default RE: osCmax 2.0, new install empty cart

    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


    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

Similar Threads

  1. shopping cart empty error
    By jasonabc in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-18-2004, 10:06 PM
  2. I can't checkout man+cart is empty (i fiddled with cookies)
    By Guile in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-03-2004, 08:12 AM
  3. Empty shopping cart after clicking Buy Now Button
    By Walter in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-03-2004, 10:02 AM
  4. Empty cart on secure checkout
    By fragzilla in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-17-2003, 01:35 PM
  5. Shopping cart won't empty
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-14-2003, 01:07 PM

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
  •