• Hello there, my client has been running a wordpress page for more than a couple of years now. Suddenly she was unable to login due to an Internal Server Error. I checked the error logs and this is what i got:

    04-Nov-2011 11:39:26] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 3
    [04-Nov-2011 11:40:51] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 3
    [04-Nov-2011 11:41:02] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 4
    [04-Nov-2011 11:41:16] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 4 [
    04-Nov-2011 11:41:26] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 5
    [04-Nov-2011 11:41:32] PHP Fatal error: Call to undefined function mysql_select_cb() in /home/xesprodu/public_html/test.php on line 5

    I tried several things, first I changed the .htpaccess name, nothing worked, then I added a php.ini file to the wp-admin server with this code memory=64MB. Lastly I changed the name of the plugins folder to deactivate it but it’s still not working.

    Could you please offer some help?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is saying that PHP can’t find the function “mysql_select_cb”, which is not a native PHP function. It’s sounds like one of a few things. It’s possible you have some custom code in there that has broken with a recent PHP version update. Or, someone has been fiddling with the PHP and broke it. The closest PHP function I could find to the one it can’t find is “mysql_select_db”. Sounds like it could just be a typo.

    Thread Starter norasp

    (@norasp)

    hello,
    The problem is, I can’t find the test.php file where this error is supposed to be, it’s not anywhere on the ftp. It may not even be the problem, I don’t know. It’ve checked the files of a recently downloaded wordpress and there’s no test. php file either. Is it possible that someone erased the file but that the function still persists?

    Thank you

    Nora

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Internal Server Error, and Service Temporarily Unavailable’ is closed to new replies.