Post by trixiemay » Thu May 24, 2018 7:54 am

Any idea what the the following error means?
And how is it fixed?

Code: Select all

generation2.build says 
SyntaxError: Unexpected token < in JSON at position 0 
OK 
<b>Warning</b>: sprintf(): Too few arguments in <b>/var/www/vhosts/generation2.build/httpdocs/opencart/catalog/controller/ checkout/cart.php</b> on line <b>346</
b>{11success11:false,11total11 : 114 item(s) - $0.0011}

___________________________________________
"Speak softly but carry a big stick" :crazy:


New member

Posts

Joined
Thu Mar 09, 2017 2:53 pm


Post by yodapt » Thu May 24, 2018 10:05 am

Something is missing, but it's hard to tell what without a closer look. PM me if you need assistance.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by ocguru » Thu May 24, 2018 1:58 pm

Hi, the error is in "catalog/language/en-gb/controller/checkout/cart.php". There will be a language variable which require more arguments.

Regards,
OCGURU
Opencart Developer - View All Extensions
Contact Me - outputwebtech@gmail.com


User avatar
New member

Posts

Joined
Sat Jan 03, 2015 5:09 pm
Location - India

Post by thekrotek » Thu May 24, 2018 3:42 pm

ocguru wrote:
Thu May 24, 2018 1:58 pm
Hi, the error is in "catalog/language/en-gb/controller/checkout/cart.php". There will be a language variable which require more arguments.
He didn't mention his OC version and you gave him a path for 2.2 and higher. For earlier OC versions it'll be "english" instead of "en-gb".

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Active Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by ocguru » Thu May 24, 2018 4:39 pm

Yes I know the difference of english and en-gb folder, but thats just was just an assumption and the member will be smart enough to find the language file.

Regards,
OCGURU
Opencart Developer - View All Extensions
Contact Me - outputwebtech@gmail.com


User avatar
New member

Posts

Joined
Sat Jan 03, 2015 5:09 pm
Location - India
Who is online

Users browsing this forum: No registered users and 11 guests