ZenphotoCMS Forum
I found a little bug - 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: I found a little bug (/thread-5039.html)



I found a little bug - Laurent - 2009-04-15

Hi
When i use the search function i have a error that appear from time to time.

`
Zenphoto Error
La requête MySQL ( SET @serachtarget='epervier d'europe' ) 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 'europe'' at line 1

Backtrace:

in query (class-search.php [497])
in searchengine->searchfieldsandtags (class-search.php [694])
in searchengine->getsearchalbums (class-search.php [720])
in searchengine->getalbums (class-search.php [326])
in searchengine->getnumalbums (template-functions.php [376])
in getnumalbums (template-functions.php [4098])
in normalizecolumns (search.php [1])
in include (index.php [114])
`
I notice that the error only accur when i wrote the word : d'europe in the search field.

I Use the 1.2.4 version.

This bug is not very important for me it's just for information.

Regards
Laurent




I found a little bug - sbillard - 2009-04-15

Thanks. We will get a fix for this into the nightly build.