global.php is the only file I'm including! I'm also getting two warnings before the fatal error.
Code:
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]\includes\functions.php on line 4227
Warning: Invalid argument supplied for foreach() in [path]\includes\functions.php on line 4227
Fatal error: Call to a member function query_read_slave() on a non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysite\forum\includes\functions.php on line 3189