Page 1 of 1
OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jul 26, 2011 12:07 am
by ripper
Hi,
when completing checkout I have this weird error. No matter which delivery or payment choose. I was upgrading from 1.4.9.5 to 1.5.1 and then 1.5.1.1. Everything else seems OK
Thx
L.

Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jul 26, 2011 2:58 pm
by ripper
Please help me...

Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jul 26, 2011 3:05 pm
by ripper
When it's in Firefox it's this error:

Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jul 26, 2011 4:59 pm
by JNeuhoff
How about posting the URL of your webiste so others can see this error and then help you?
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Wed Aug 10, 2011 5:14 pm
by wolfsteritory
1.5.1.1
i have kinda the same problem on the checkout process
i get the same error at the delivery selection if the language is not English
* i have translated the language myself from the original English version, no error there , checked 3 times )
http://100.diacenamedical.ro/index.php? ... t/checkout
if you need to login :
customer username: test
pass: 1234
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Wed Aug 10, 2011 11:55 pm
by i2Paq
wolfsteritory wrote:1.5.1.1
i have kinda the same problem on the checkout process
i get the same error at the delivery selection if the language is not English
* i have translated the language myself from the original English version, no error there , checked 3 times )
http://100.diacenamedical.ro/index.php? ... t/checkout
if you need to login :
customer username: test
pass: 1234
The test account does not work.
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Thu Aug 11, 2011 2:39 pm
by wolfsteritory
yes, sorry
customer username:
test@test.com
pass: 1234
* i forgot the customer logs in with email ...
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Fri Aug 12, 2011 11:24 pm
by JNeuhoff
Your error message is:
syntax error, unexpected T_STRING in /home8/diacenam/public_html/100/catalog/language/romana/payment/cheque.php on line 4
Fix your language file, and the error will go away!
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Wed Aug 17, 2011 1:36 pm
by wolfsteritory
thnx allot mate
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Mon Nov 14, 2011 4:47 am
by xsobakax
version open cart 1.5.1
hello!
I have the same problem and don't understand how did it happen?
'cause I didn't fix anything on website.
here is the picture:
can you advice me what need I check?
my shope here:
http://www.owlstore.ru
(it's on russian...)
update.
I figured out the problem
Code: Select all
<b>Notice</b>: Undefined index: code in <b>/home/host3803/public_html/catalog/model/checkout/order.php</b> on line <b>23</b>{"output":"<div class=\"checkout-product\">\n
but I don't know what is it)
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jan 17, 2012 11:00 pm
by angelo
Hi,
I'm using opencart 1.5.1.3.1 here and I experience the same error... on Chrome it alerts: "Syntax error: Unexpected Token <" and I can't finish the checkout process.
What I've noticed is that there is some db interaction cause a record in the "order" table is created with 0 as invoice number and 0 as order_status_id.
Any clue???
Thanks
Re: OC 1.5.1.1 SyntaxError: Syntax Error
Posted: Tue Jan 17, 2012 11:58 pm
by angelo
SOLVED
As suggested in
this topic I used firebug to find out where the error was...