ZenphotoCMS Forum
multiple_layouts.php error sql and Undefined variable: parentlayouts - 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: multiple_layouts.php error sql and Undefined variable: parentlayouts (/thread-7869.html)



multiple_layouts.php error sql and Undefined variable: parentlayouts - midas - 2010-11-18

Hi
nightbuild
error sql
please add space to sql query (line 190)
and
Notice: Undefined variable: parentlayouts in C:\wa\www\z7\zp-core\zp-extensions\multiple_layouts.php on line 191

Zenphoto encountered an error
MySQL Query ( SELECT id, data FROM zp_plugin_storage WHERE aux=2AND 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 'type = "multiple_layouts_albums_images"' at line 1

Backtrace:

-> query (functions-db-MySQL.php [105])
-> query_full_array (multiple_layouts.php [190])
-> checkLayoutUseForImages (multiple_layouts.php [373])
-> getLayout
-> call_user_func_array (functions-filter.php [147])
-> zp_apply_filter (index.php [170])




multiple_layouts.php error sql and Undefined variable: parentlayouts - sbillard - 2010-11-18

ok, thanks