Post by dad » Thu Dec 11, 2008 2:17 pm

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

dad
New member

Posts

Joined
Tue May 27, 2008 4:30 am

Post by bruce » Thu Dec 11, 2008 3:46 pm

Yes, it is a bug. Your only hope is to turn of the parse time option in your store admin.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Qphoria » Thu Dec 11, 2008 7:45 pm

Confirmed and added:
http://code.google.com/p/open-cart/issues/detail?id=117

Thanks dad ( :P) and bruce!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Wed Dec 17, 2008 11:14 pm

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

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 5 guests