I can get this to work fine if I call the events.php file itself. But when I try to include that file on my front page I get the following:
Warning: Failed opening './global.php' for inclusion (include_path='') in /path/to/my/board/events.php on line 3
Fatal error: Call to a member function on a non-object in /path/to/my/board/events.php on line 5
I tried putting the assolute path in line 3:
include('/path/to/my/board/global.php');
but that simply produces a blank screen?
|