Post by VSLRA » Sat Sep 18, 2010 8:54 pm

Hello,
I need to solve my problem. I installed OpenCart without any problems and everything works perfect, but when I want to add more then one thing to the basket, the basket dont works. It shows just that first added thing.

When I add first item it shows in basket, but when i want to add another one it not shows in basket and there is just first one. When I remove the first item from basket there shows second added item instead of empty basket.

So please, where is my problem? Why i can't add more than one thing to basket?
Last edited by VSLRA on Sat Sep 18, 2010 11:13 pm, edited 1 time in total.

Newbie

Posts

Joined
Sat Sep 18, 2010 8:47 pm

Post by Xsecrets » Sat Sep 18, 2010 9:05 pm

you need to turn register globals off.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by VSLRA » Sat Sep 18, 2010 9:14 pm

Where can I find it please?

Newbie

Posts

Joined
Sat Sep 18, 2010 8:47 pm

Post by VSLRA » Sat Sep 18, 2010 9:29 pm

OK i looked to the php.ini and its off... so any other idea how to solve it?


You can take a look on this url: http://www.test.rvbcosmetics.cz/

Newbie

Posts

Joined
Sat Sep 18, 2010 8:47 pm

Post by Xsecrets » Sat Sep 18, 2010 11:40 pm

I can assure you that the problem is that register globals are on. Just because it has register globals off in the php.ini shipped with opencart doesn't matter. Not all hosting companies look for php.ini in individual accounts. You'll need to ask your hosting company how to change php settings. Sometimes it's in .htaccess, sometimes you have to rename the php.ini to php5.ini, a few you have to put it in a completely different folder for it to take affect. you'll just have to check with your hosting company.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by VSLRA » Sat Sep 18, 2010 11:50 pm

OK thank you very much! I will ask my provider

Newbie

Posts

Joined
Sat Sep 18, 2010 8:47 pm

Post by VSLRA » Sun Sep 19, 2010 12:08 am

So i set .htaccess to php_flag register_globals off and now it's working.

Thank you for your time!

Newbie

Posts

Joined
Sat Sep 18, 2010 8:47 pm
Who is online

Users browsing this forum: No registered users and 32 guests