Warning: include(func.pagemenu.php) [function.include]: failed to open stream: No such file or directory in /home/shann730/nha.magical-worlds.us/challenges.php on line 40

Warning: include() [function.include]: Failed opening 'func.pagemenu.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/shann730/nha.magical-worlds.us/challenges.php on line 40

Warning: include(func.ratingpics.php) [function.include]: failed to open stream: No such file or directory in /home/shann730/nha.magical-worlds.us/challenges.php on line 224

Warning: include() [function.include]: Failed opening 'func.ratingpics.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/shann730/nha.magical-worlds.us/challenges.php on line 224

Warning: include(timefunctions.php) [function.include]: failed to open stream: No such file or directory in /home/shann730/nha.magical-worlds.us/challenges.php on line 225

Warning: include() [function.include]: Failed opening 'timefunctions.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/shann730/nha.magical-worlds.us/challenges.php on line 225

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/shann730/nha.magical-worlds.us/challenges.php on line 318

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/shann730/nha.magical-worlds.us/challenges.php on line 318
A fatal MySQL error was encountered.
Query: select count(chalid) from fanfiction_challenges WHERE title LIKE 'G%'
Error: (2002) Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)