I'm not seeing the new search. I get a blank "search results" page and if I click the magnifying glass to show search criteria I get:
Fatal error: Uncaught mysqli_sql_exception: 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 ')' at line 3 in /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php(132): mysqli->query()
#1 /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php(888): pwg_query()
#2 /usr/local/piwigo-beta/include/functions.inc.php(1587): query2array()
#3 /usr/local/piwigo-beta/search_rules.php(85): array_from_query()
#4 {main} thrown in /usr/local/piwigo-beta/include/dblayer/functions_mysqli.inc.php onTest site: https://photos.radwans.net
If I do a search with results, I get this:
But if I go to the main search screen (search.php) I get this:
I guess technically that error trying to view the search criteria is correct since there weren't any.
Last edited by windracer (2023-06-27 13:31:45)
Offline
2 issues here :
1) the new search only works with theme Modus (and especially with color scheme "Newspaper")
2) the "search_rules.php" popup does not work and I just removed it (became useless) for 14beta2
Offline
Ahhh, okay. I'll do some testing with Modus then, thanks for the clarification.
Offline