[PHP PDO Error 42000]
Message: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND dc_status = 1' at line 1
Code: 42000
File: /home/caanep5/public_html/caanepal.org.np/flightsafety/library/db.class.php
Line: 531

SELECT COUNT(*) FROM download_cat WHERE dc_ID= AND dc_status = 1

Warning: DB::fetchWith(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/caanep5/public_html/caanepal.org.np/flightsafety/library/db.class.php on line 373

Fatal error: Call to a member function fetch() on boolean in /home/caanep5/public_html/caanepal.org.np/flightsafety/library/db.class.php on line 373