Can't shake the "Warning: include()" error

Posted on 16th Feb 2014 by admin

I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser reads:

"Warning: include() [function.include]: SAFE MODE Restriction in effect. The script whose uid is 500 is not allowed to access ../header.php owned by uid 0 in....."

It seems to be for every include tag which has the address starting from the root directory. For example "/images/pirate.php". I'm not a programming master but I've checked the PHP.ini file and SAFE MODE is turned off. What else could this be?

Other forums