Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on More OSCommerce hell in the Shared & Semi-Dedicated forum
This is a post a I placed on the OSCommerce forum, but I'm wondering if it may be more familiar here. This has been an ...

  1. #1
    Loyal Client
    Join Date
    Aug 2002
    Posts
    269

    More OSCommerce hell

    This is a post a I placed on the OSCommerce forum, but I'm wondering if it may be more familiar here. This has been an ongoing OSCommerce setup fiasco for about a week and about 5 times deleting and starting all over.

    I've been trying to set up my configuration files and having nothing but problems. Here's the situation. I'm creating a store on a multi-hosted account with a shared SSL. The store is in the root (not /catalog).

    Path to store: www.trainvideodepot.com
    SSL path to store: secure24.nocdirect.com/~lakeminn/trainvideodepot
    File path to store: /home/lakeminn/public_html/trainvideodepot

    Here's the pertinent part of my config:

    define('HTTP_SERVER', 'http://www.trainvideodepot.com');
    define('HTTPS_SERVER', 'https://secure24.nocdirect.com');
    define('HTTP_COOKIE_DOMAIN', 'www.trainvideodepot.com');
    define('HTTPS_COOKIE_DOMAIN', 'secure24.nocdirect.com');
    define('HTTP_COOKIE_PATH', '/');
    define('HTTPS_COOKIE_PATH', '/~lakeminn/trainvideodepot/');
    define('DIR_WS_HTTP_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/~lakeminn/trainvideodepot/');
    define('DIR_FS_CATALOG', '/home/lakeminn/public_html/trainvideodepot/');

    Everything works up to a point. If I go to the store and try to log in, it switches to the secure mode. When I enter my account info, it gives me a 404 page not found error, but the URL is exactly right. I looked at the error log on the server, and there are no errors.

    This is a live example. You can try this out yourself by trying to login with an e-mail of test@test.com and a password of "testpassword".

    Thanks

  2. #2
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    works fine for me


    Delelte all Cache, and Cookies and try

    if that does not work Close all Browser Windows and Restart Browser


    if that does not work

    Restart your computer


    if that does not work, Run around Screaming and cussing

  3. #3
    Loyal Client
    Join Date
    Aug 2002
    Posts
    269
    Oh shoot... I neglected to update my post here. I posted the same thing on OSCommerce. After another 10 hour session, I finally figured it out. Sorry about that, and thanks for checking it.

    If anyone else is having trouble,

    define ('HTTPS_SERVER', 'https://secure24.nocdirect.com');
    define('DIR_WS_HTTPS_CATALOG', '/~acctid/catalog/');

    doesn't work

    define ('HTTPS_SERVER', 'https://secure24.nocdirect.com/~acctid');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    doesn't work

    define ('HTTPS_SERVER', 'https://secure24.nocdirect.com/~acctid/catalog');
    define('DIR_WS_HTTPS_CATALOG', '/');

    DOES work.

    Weird, because the URL is constructed by adding those two together (HTTPS_SERVER . DIR_WS_HTTPS_CATALOG).

    Weirder: If you let the guided setup fill in the URL for you, you'll get the 2nd example (which doesn't work on this server).

    Weirderer: I have OSCommerce on another server with the 2nd example, and it works fine.

    I think there's a hidden bug somewhere in the software.

  4. #4
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    Originally posted by salewit


    I think there's a hidden bug somewhere in the software.
    that is possible OSC is still under development

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
  •