ZenphotoCMS Forum
Zenphoto encountered an error ! - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Zenphoto encountered an error ! (/thread-8111.html)



Zenphoto encountered an error ! - hucste - 2011-01-16

Hello...
When i'm trying to change an options in zenpage theme, i've this error :

Quote:Zenphoto encountered an error
La requête MySQL ( SELECT name, value, id FROM zp_options WHERE name='zenpage_homepage' AND ownerid= AND theme='zenpage' ) a échoué. Erreur : 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 'AND theme='zenpage'' at line 1

Trace :

-> query (functions-db-MySQL.php [90])
-> query_single_row (functions.php [1937])
-> setThemeOption (admin-functions.php [857])
-> processCustomOptionSave (admin-options.php [414])
An idea?!




Zenphoto encountered an error ! - kagutsuchi - 2011-01-16

I'm pretty sure this was already fixed in trunk, so it should be fixed in the nightly builds.




Zenphoto encountered an error ! - hucste - 2011-01-16

I'm using stable Zenphoto 1.4.
And it's not good idea to fix-it with svn version.
( http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#41 )




Zenphoto encountered an error ! - kagutsuchi - 2011-01-17

A recent news post describes that there have been changes in the development stream. The nightly builds are now built from what is essentially the stable release with some bug fix patches. You should be able to use it without any problems.




Zenphoto encountered an error ! - hucste - 2011-01-17

I've seen this post ... but it's same code than proposed!




Zenphoto encountered an error ! - hucste - 2011-01-17

I've seen this post ... but it's same code than proposed on the zenpage theme!




Zenphoto encountered an error ! - acrylian - 2011-01-17

You have of course to update your installation not only the theme. Or just wait for 1.4.0.1.




Zenphoto encountered an error ! - hucste - 2011-01-17

yes, all with archive stable 1.4.0!

I download the tar.gz and i update segun the doc (all 9 points!).
http://www.zenphoto.org/2008/08/installation-and-upgrading/