Page 1 of 1

Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 7:40 pm
by rareshoy
Cart Error.png

Cart Error.png (117.27 KiB) Viewed 1084 times

Hello, I have installed Opencart 2.2 on my website and in the cart error it appears this message. I have tried with 3 opencart versions ( 2.0.0, 2.0.3.1, 2.2) and I have the same message and I don't understand what's the problem. This error appears on fresh install.

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 7:49 pm
by imdevlper18
When same error is appearing despite 3 different installs, The error could be because of cache.

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 8:01 pm
by i2Paq
On your store-front; do you see all the images etc. correct?

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 8:09 pm
by rareshoy
Yes, everything appears correct, this is the only problem.

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 8:25 pm
by rareshoy
@imdevlper18

What do you mean by chache? Where should I look for?

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 8:29 pm
by imdevlper18
Actually i faced such similar issue while working with one of the client recently. The server sends old page back from history.
So what you see is old page. And new files are never called.

You can clear browser cache or try incognito mode in Chrome.

Re: Opencart 2.2 Cart Error

Posted: Thu Jun 16, 2016 8:37 pm
by rareshoy
Well, I have the same problem in incognito mode and in other browser. I have Also tried on mobile and on Microsoft Edge.

SOLVED: Re: Opencart 2.2 Cart Error

Posted: Wed Jun 29, 2016 2:41 pm
by imdevlper18
This error was solved finally. The error was because of server.
The server had one php module that was causing this issue.

This php module does not sent fields in $_POST when they are empty.
So in backend this issue of undefined index was coming.

When host was told about this issue explaining him that when fields are left empty, fields are not received in $_POST.
They disabled the php module and it started working fine.

Hope this helps someone.