You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total Returned Rows: Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php:144 Stack trace: #0 /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php(144): mysqli->query('SELECT COUNT()...') #1 /customers/c/0/0/stid.dk/httpd.www/jn/crud/ajaxCRUD.class.php(415): q1('SELECT COUNT()...') #2 /customers/c/0/0/stid.dk/httpd.www/jn/crud/ajaxCRUD.class.php(773): ajaxCRUD->getNumRows() #3 /customers/c/0/0/stid.dk/httpd.www/jn/crud/examples/example.php(108): ajaxCRUD->insertRowsReturned() #4 {main} thrown in /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php on line 144
The text was updated successfully, but these errors were encountered:
Hej Lars,
PHP8 seems to break the implementation of the class. In ajaxCRUD.class.php, replacing 'class' by '__construct' on line 137 should do the trick.
Suddenly this started, i have never had problems
I tried with a new examples page, dosent work
https://jn.stid.dk/crud/examples/example.php
Total Returned Rows: Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php:144 Stack trace: #0 /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php(144): mysqli->query('SELECT COUNT()...') #1 /customers/c/0/0/stid.dk/httpd.www/jn/crud/ajaxCRUD.class.php(415): q1('SELECT COUNT()...') #2 /customers/c/0/0/stid.dk/httpd.www/jn/crud/ajaxCRUD.class.php(773): ajaxCRUD->getNumRows() #3 /customers/c/0/0/stid.dk/httpd.www/jn/crud/examples/example.php(108): ajaxCRUD->insertRowsReturned() #4 {main} thrown in /customers/c/0/0/stid.dk/httpd.www/jn/crud/preheader.php on line 144
The text was updated successfully, but these errors were encountered: