sandy234
I create a new folder, add images - then when I click on that folder link on my site, I get the message below:
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 'ASC, file ASC, id ASC' at line 7 in /home/---------/emik.me/Photos/include/dblayer/functions_mysqli.inc.php:132 Stack trace: #0 /home/----------/emik.me/Photos/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT DISTINC...') #1 /home/----------/emik.me/Photos/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT DISTINC...') #2 /home/----------/emik.me/Photos/include/section_init.inc.php(319): query2array('\nSELECT DISTINC...', NULL, 'image_id') #3 /home/-------------/emik.me/Photos/index.php(12): include('/home/-----------...') #4 {main} thrown in /home/----------/emik.me/Photos/include/dblayer/functions_mysqli.inc.php on line 132
This language is foreign to me.
This happened once years ago, and some kind soul on this forum directed me to a forum post that included a fix, which worked.
Hoping for a fix,
Thanks