Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /var/www/html/exceptions/DBException.class.php on line 50
Fatal error: Uncaught exception 'DBException' with message 'Your query has errors! 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 1select count(id_catalog) as item from pp_catalog where sample=1 and id_pp=' in /var/www/html/classes/DBController.class.php:120
Stack trace:
#0 /var/www/html/classes/PP_catalog.class.php(45): DbController->getValue('select count(id...')
#1 /var/www/html/papierpeints/includes/display_2.inc.php(22): PP_catalog->loadSamples()
#2 /var/www/html/papierpeints/print.php(50): include('/var/www/html/p...')
#3 {main}
thrown in /var/www/html/classes/DBController.class.php on line 120