Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/afforda1/public_html/includes/class_database.php on line 54

Fatal error: Uncaught exception 'Exception' with message '<b>MySQL error</b>.<br /><br /><b>Query:</b><br />INSERT INTO pmd_error_log (date,code,message,file,line,trace) VALUES (NOW(),256,&#039;MySQL error.\n\nQuery:\nINSERT INTO pmd_error_log (date,code,message,file,line,trace) VALUES (NOW(),2,&amp;#039;session_start(): Cannot send session cookie - headers already sent by (output started at /home/afforda1/public_html/includes/class_database.php:54)&amp;#039;,&amp;#039;/home/afforda1/public_html/includes/class_session.php&amp;#039;,83,&amp;#039;a:0:{}&amp;#039;)\n\nError:\n (145) Table \&#039;./afforda1_pmddir/pmd_error_log\&#039; is marked as crashed and should be repaired\n\n&#039;,&#039;/home/afforda1/public_html/includes/class_database.php&#039;,132,&#039;a:10:{i:0;a:6:{s:4:\&quot;file\&quot;;s:59:\&quot;/home/afforda1/public_html/includes/class_error_handler.php\&quot;;s:4:\&quot;line\&quot;;i:236;s:8:\&quot;function\&quot;;s:7:\&quot;Execute\&quot;;s:5:\&quot;class\&quot;;s:8:\&quot;Database\&quot;;s:4:\&quot;type\& in /home/afforda1/public_html/includes/class_database.php on line 132

Fatal error: Uncaught exception 'Exception' with message '<b>MySQL error</b>.<br /><br /><b>Query:</b><br />INSERT INTO pmd_error_log (date,code,message,file,line,trace) VALUES (NOW(),1,&#039;Uncaught exception \&#039;Exception\&#039; with message \&#039;MySQL error.\n\nQuery:\nINSERT INTO pmd_error_log (date,code,message,file,line,trace) VALUES (NOW(),256,&amp;#039;MySQL error.\\n\\nQuery:\\nINSERT INTO pmd_error_log (date,code,message,file,line,trace) VALUES (NOW(),2,&amp;amp;#039;session_start(): Cannot send session cookie - headers already sent by (output started at /home/afforda1/public_html/includes/class_database.php:54)&amp;amp;#039;,&amp;amp;#039;/home/afforda1/public_html/includes/class_session.php&amp;amp;#039;,83,&amp;amp;#039;a:0:{}&amp;amp;#039;)\\n\\nError:\\n (145) Table \\&amp;#039;./afforda1_pmddir/pmd_error_log\\&amp;#039; is marked as crashed and should be repaired\\n\\n&amp;#039;,&amp;#039;/home/afforda1/public_html/includes/class_database.php&amp;#039;,132,&amp;#039;a:10:{i:0;a:6:{s:4:\\&amp;quot;fil in /home/afforda1/public_html/includes/class_database.php on line 132