ZenphotoCMS Forum
Error when add categories (Admin/Managed news categories) - 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: Error when add categories (Admin/Managed news categories) (/thread-7834.html)



Error when add categories (Admin/Managed news categories) - midas - 2010-11-09

Hi
I got a message after save
Zenphoto encountered an error
MySQL Query ( SELECT * FROM zp_news_categories WHERE title="a:2:{s:5:"en_US";s:6:"kkkkkk";s:5:"pl_PL";s:12:"llllllllllll";}" ) 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 'en_US";s:6:"kkkkkk";s:5:"pl_PL";s:12:"llllllllllll";}"' at line 1

Backtrace:

-> query (functions-db-MySQL.php [86])
-> query_single_row (lib-auth.php [702])
-> Zenphoto_Administrator->save (admin-users.php [143])




Error when add categories (Admin/Managed news categories) - acrylian - 2010-11-09

What Zenphoto version?




Error when add categories (Admin/Managed news categories) - sbillard - 2010-11-09

There appears to be an error in the handling of "managed news" articles. That will get fixed in a nightly build soon, but you should be cautious with these builds at the moment as we are making some considerable changes.