Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moved to new Domain, can't add item to cart


Guest

Recommended Posts

Posted

I recently moved my entire oscommerce store succesfully to a new server + domain. Everything seems to be working excluding the fact that I cannot add anything to my shopping cart.

 

All of the paypal API credentials are updated to new working ones also.

 

 

What did I miss, do I need to change something in a file?

 

 

 

Please help,

If you know a for sure solution im willing to pay..

Posted

The most common reason for the cart being constantly empty would be incorrect cookie settings in the config file.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

The most common reason for the cart being constantly empty would be incorrect cookie settings in the config file.

This is what my config file looks like

 

 

http://i.imgur.com/G36Cs.png

 

 

look at that pic to see it ^^^

Posted

This is what my config file looks like

 

 

http://i.imgur.com/G36Cs.png

 

 

look at that pic to see it ^^^

NO.

 

That's only part of the config file.

 

You blacked out some of the cookie settings...

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

NO.

 

That's only part of the config file.

 

You blacked out some of the cookie settings...

:huh:

sorry I marked out part of the domain name

 

look at this pick:

http://i.imgur.com/tUpSF.png

 

it has only the first letter of the domain "f"

Posted

sorry I marked out part of the domain name

 

look at this pick:

http://i.imgur.com/tUpSF.png

 

it has only the first letter of the domain "f"

 

 

this what i have done in my config file

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

try this..... may be it will help you.....

Please take backup of your files before do changes suggested by me

Posted

Got my issue fixed by Chris Dun,

 

This is what he said incase anyone else has similar issue.

 

Bill,

 

Change the first four lines of your configure.php to reflect the www.

 

so the lines would appear as http://www.sitename.net

 

 

Your redirect is not allowing the session to be created because the current configure is not seeing www.sitename.net it is seeing sitename.net

 

Browsers interpret them as two different things when a session is created.

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...