|
|
 |
RE: FN-FORUM: O S Commerce help please
date posted 2nd May 2008 13:37
Hoorah!
I bloody love you (Done in me friends best Welsh accent)!
That was a b***ch to find. The COOKIE_DOMAIN variable had to be changed to
''4wire.co.uk', no http or www. I would never have found that.
Now onto the next headache where it falls over on the checkout_shipping.php
page, but this is due to a PayPal Pro setting.
I may be back begging more favours later on, lol!
Thanks a million guys!
Best regards
Nigel Harrison
Acumen Design Consultants
078 1139 1174
01763 232 624
[EMAIL REMOVED]
www.acumendesigns.com
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Alex
Townsend
Sent: 02 May 2008 14:57
To: FN-FORUM / [EMAIL REMOVED]
Subject: Re: FN-FORUM: O S Commerce help please
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
know OS Commerce) that you've got the cookie domain wrong in
configure.php . I've fallen foul of this a couple of times, but
normally the cookie domain should be just ".site.com" (i.e. no
http://www in front of the domain name )
The . at the start means it's available to all subdomains of site.com
, which is useful - but to my knowledge having the http://www on the
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
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', '');
--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|