Your server's error:
Uncaught Error: Call to undefined function mysql_connect()It looks like PHP does not have access to the mysql client libraries.
Confirm that your PHP to MySQL communication settings are correct.
Also, have a quick skim through this link:
http://stackoverflow.com/questions/...call-to-undefined-function-mysql-connect