Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 8 of 8

Thread: osCmax 2.0, new install empty cart

  1. #1
    barrowj
    Guest


    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


    osCmax 2.0, new install empty cart


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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', '/');

  3. #3
    barrowj
    Guest


    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


    osCmax 2.0, new install empty cart


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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.

  5. #5
    barrowj
    Guest


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


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


    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


    osCmax 2.0, new install empty cart


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    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.

Similar Threads

  1. shopping cart empty error
    By jasonabc in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-18-2004, 11: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

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
  •