Results 1 to 6 of 6

Thread: Shared SSL with OS commerce

  1. #1
    andychev's Avatar
    andychev is offline Master Glow Jedi
    Join Date
    Apr 2005
    Location
    Chester, UK
    Posts
    150

    Default Shared SSL with OS commerce

    HI,

    Ive installed os commerce through fantastico and using by downloading it from them. However, after trying many things i keep coming up with the following error message when i try and access any of the secure areas. Is this a setting on the server or is it something wrong with the configuration? Help its driving me insane!

    The error is
    --------------------------------------------------------------------------

    Warning: Unknown(): open_basedir restriction in effect. File(/home/user/public_html/catalog/account.php) is not within the allowed path(s): (/home/server/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/user/public_html/catalog/account.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: Unknown(): open_basedir restriction in effect. File(/home/user/public_html/catalog/account.php) is not within the allowed path(s): (/home/server/:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0

    Warning: Unknown(/home/user/public_html/catalog/account.php): failed to open stream: Operation not permitted in Unknown on line 0

    Warning: (null)(): Failed opening '/home/user/public_html/catalog/account.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0

    --------------------------------------------------------------------------

    The configuration file is
    -------------------
    define('HTTP_SERVER', 'http://www.specialistaggregates.com');
    define('HTTPS_SERVER', 'https://server.host.com/~user');
    define('ENABLE_SSL', true);
    define('HTTP_COOKIE_DOMAIN', 'www.specialistaggregates.com');
    define('HTTPS_COOKIE_DOMAIN', 'server.host.com/~user');
    define('HTTP_COOKIE_PATH', '/catalog/');
    define('HTTPS_COOKIE_PATH', '/catalog/');
    define('DIR_WS_HTTP_CATALOG', '/catalog/');
    define('DIR_WS_HTTPS_CATALOG', '/catalog/');

    -----------------------

    Any help would be greatly appreciated

    Thanks
    Andy
    Last edited by Matt; 04-15-2005 at 03:27 PM.

  2. #2
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,250

    Default

    define('HTTP_COOKIE_DOMAIN', 'www.specialistaggregates.com');
    define('HTTPS_COOKIE_DOMAIN', 'server.host.com/~user');
    You should change those to:

    Code:
     
    define('HTTP_COOKIE_DOMAIN', 'specialistaggregates.com');
    define('HTTPS_COOKIE_DOMAIN', 'host.com/~user/');
    as a start and see what happens.
    Last edited by Matt; 04-15-2005 at 03:28 PM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  3. #3
    andychev's Avatar
    andychev is offline Master Glow Jedi
    Join Date
    Apr 2005
    Location
    Chester, UK
    Posts
    150

    Default

    Good news!

    I think ive found the problem! nothing to do with oscommerce.

    It seems to be a server problem as i have a small php file [mod-edit -REMOVED phpinfo.php]

    All works rosy! As soon as the secure version is used [mod-edit -REMOVED phpinfo.php]

    everything breaks and gives the same errors as above. Possibley secure path needs including in the php.ini?

    Hope this can be fixed.

    Andy
    Last edited by Matt; 04-15-2005 at 03:29 PM.

  4. #4
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,250

    Default

    I have removed that file from public view for the time being while I look into it but I would advise not displaying your php.info for the world to see for security purposes.

    You should PM me your cpanel password so I can see what is going on as an regular user.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  5. #5
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,250

    Default

    What happens now when you try?

    Seems to work fine for me.

    Seems like the cart is configured a bit weird, as soon as I added a product it took me to SSL instead of only when the SSL is needed for things like gathering customer data.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  6. #6
    andychev's Avatar
    andychev is offline Master Glow Jedi
    Join Date
    Apr 2005
    Location
    Chester, UK
    Posts
    150

    Default

    Sorry i didnt realise that what that file was

    However, whatever you have done it seems to be working now, the shop is probably configured a bit weird cos i was playing with loads of the settings trying different things i will start from scratch now.

    Thanks again

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16