ZenphotoCMS Forum
MySQL error - Multiple Layouts - 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: MySQL error - Multiple Layouts (/thread-8890.html)



MySQL error - Multiple Layouts - lainyrache - 2011-07-21

Hi
I am getting the following error:

MySQL Query ( SELECT id,``data FROM zp_plugin_storage WHERE aux = AND type = "multiple_layouts_albums_images" ) failed. MySQL 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 'AND type = "multiple_layouts_albums_images"' at line 1

When I disable the Multiple Layouts plugin the problem is resolved. But I do need to use this plugin for my site..
When I am on a page of search results, and albums and images are displayed, if I click on an image thumbnail to see the Image page, I get the above error. If I click on the album to go to the album page, the link works fine

I have found this error on the forum, but it has apparently been solved in the version I am using. (1.4.0.4)
Can anybody please help me with this?
Many thanks!

(Apologies for posting this twice- I thought the first one hadn't submitted!)




MySQL error - Multiple Layouts - acrylian - 2011-07-21

Try an upgrade to the current version.