after upgrading from 1.4.5.7 to 1.4.5.8 error Archive:
Fatal error: MySQLi Error: ( SELECT DISTINCT id, show,title,titlelink FROM [prefix]news WHERE show = 1 AND (date >= "2013-12-01 00:00:00" AND date < "2014-01-01 00:00:00") ORDER BY date desc ) failed. MySQLi returned the 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 'date`` desc' at line 1
how to fix? (where to find what file?)
thanks...
ok thanks but update did not help ... same
Fatal error: MySQLi Error: ( SELECT DISTINCT id, show,title,titlelink FROM [prefix]news WHERE show = 1 AND (date >= "2013-12-01 00:00:00" AND date < "2014-01-01 00:00:00") ORDER BY date desc ) failed. MySQLi returned the 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 'date`` desc' at line 1 in ....
.../zp -core/functions-db-MySQLi.php on line 78
hi
I have a look.
With official zenpage theme, there is the same issue.
step to reproduce :
in search field, set an unknown value
then, the html flow is broken.
there is a hot fix with my theme to avoid an issue with zenphoto 1.4.5.8.
http://www.vincentbourganel.fr/news/zpArdoise-a-ZenPhoto-ZenPage-theme
but really, I don't know what are you playing with some core functions...
there is not always backward compatibility and I have to adapt my themes painfully.
I think there is a residual issue with the news archive.
step to reproduce with official themes (garland and zenpage) :
Sorry, that you have trouble updating. Feel free to ask if you need help. But sometimes it is needed if things have been wrong from the beginning.
The guide is always our official themes and also our site's theme which is heavily customized and quite more complex than the official themes. We did not encounter any really serious update issues with that. (The last issue was the search issue but that was not a theme one).