Page 1 of 1

[0.7.9 RC5] Admin Display Parse Time Setting

Posted: Thu Dec 11, 2008 2:17 pm
by dad
Setting of the "Display Parse Time: YES" for admin panel could not allow restore saved backup.sql file.

Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Page created in 0.28 seconds
' at line 1
Error No: 1064

Page created in 0.28 seconds

Re: [0.7.9 RC5] Admin Display Parse Time Setting

Posted: Thu Dec 11, 2008 3:46 pm
by bruce
Yes, it is a bug. Your only hope is to turn of the parse time option in your store admin.

Re: [0.7.9 RC5] Admin Display Parse Time Setting

Posted: Thu Dec 11, 2008 7:45 pm
by Qphoria
Confirmed and added:
http://code.google.com/p/open-cart/issues/detail?id=117

Thanks dad ( :P) and bruce!

Re: [0.7.9 RC5] Admin Display Parse Time Setting

Posted: Wed Dec 17, 2008 11:14 pm
by Qphoria
This should be fixed in the latest SVN
The fix was to add a new format_data function to the language class and update a good handful of files to use the new method with the proper $language->get of the format from the file instead of hardcoding the date(d F Y)

You can see the changes here:
r258, r268