2015-10-18

I keep getting this server error 500. It only shows the error when there is data in one of the mysqldb tables.

I have managed to enable error reporting on server and saw the following.

Its all a new language to me.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2053 ' in /home/galactic/public_html/fc/includes/class_db_handle.php:147 Stack trace: #0 /home/galactic/public_html/fc/includes/class_db_handle.php(147): PDOStatement->fetch(4) #1 /home/galactic/public_html/fc/cron.php(729): db_handle->result() #2 /home/galactic/public_html/fc/index.php(32): include_once('/home/galactic/...') #3 {main} thrown in /home/galactic/public_html/fc/includes/class_db_handle.php on line 147

The following code is the page which it says the error is on and I have no idea how to deal with PDO yet. This is a page from an open source software I got.

please help i have no idea what this is and if there is anything else you need to assist. I am here

Actual Content URL:http://stackoverflow.com/questions/33192763/sqlstatehy000-in-php-pdo-query-on-mysql-db

Show more