I've followed the instructions to a tee and can not get this script to run including it in a page.
I ran it in raw form from PluhNews.php and PluhHeadlines.php with no problems.
Included in a root index.php file will not work. I keep getting the following error:
Quote:
Fatal error: Failed opening required './global.php' (include_path='') in /home/site/public_html/forums/PluhNews.php on line 5
|
The include looks like this:
PHP Code:
<? include ("forums/PluhNews.php"); ?>
My PluhConfig file (placed in the forums directory) was tried with vared paths with out success:
PHP Code:
require("global.php");
require("PluhConfig.php");
require("admin/config.php");
Yes, I tried it with full path info (ie, /home/site/public_html/forums).
This thread is very confusing with posts from way back in July 2001.
Any help would be greatly appreciated.