|
|
 |
Re: FN-FORUM: O S Commerce help please
date posted 2nd May 2008 13:21
Quoting Lee Rickler [EMAIL REMOVED]
>
> Well ... straight away I can see that it's a template and therefore this
> could cause it's own problems.
>
> But, I tried adding something to the cart and was redirected to this page:
> http://www.4wire.co.uk/shop/cookie_usage.php
>
> This indicates that you have a problem with the OSC cookie settings.
> Double check them in the admin area.
>
>
If it's a cookie issue as Lee says, it may be (bearing in mind I don't =20
know OS Commerce) that you've got the cookie domain wrong in =20
configure.php . I've fallen foul of this a couple of times, but =20
normally the cookie domain should be just ".site.com" (i.e. no =20
http://www in front of the domain name )
The . at the start means it's available to all subdomains of site.com =20
, which is useful - but to my knowledge having the http://www on the =20
front may be what's causing some of these issues.
[quote]
>>> /shop /includes/configure.php
>>>
>>> define('HTTP_SERVER', 'http://www.domainname.co.uk');
>>> define('HTTPS_SERVER', '');
>>> define('ENABLE_SSL', false);
>>> define('HTTP_COOKIE_DOMAIN', 'http://www. domainname.co.uk');
>>> define('HTTPS_COOKIE_DOMAIN', '');
>>> define('HTTP_COOKIE_PATH', '/shop/');
>>> define('HTTPS_COOKIE_PATH', '');
[/quote]
You may also want to take out the /shop/ in the cookie path, I'm not =20
so certain on that one.
Alex
http://www.ozbon.com
>>> /shop /includes/configure.php
>>>
>>> define('HTTP_SERVER', 'http://www.domainname.co.uk');
>>> define('HTTPS_SERVER', '');
>>> define('ENABLE_SSL', false);
>>> define('HTTP_COOKIE_DOMAIN', 'http://www. domainname.co.uk');
>>> define('HTTPS_COOKIE_DOMAIN', '');
>>> define('HTTP_COOKIE_PATH', '/shop/');
>>> define('HTTPS_COOKIE_PATH', '');
|
 |
|