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


Posted on 16th Feb 2014 07:03 pm 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?

No comments posted yet

Your Answer:

Login to answer
95 Like 19 Dislike
Previous forums Next forums
Other forums

PHP Array quick help
I need

$_SESSION{'username'} to be like this:


if $_SESSION['username'] = "gay

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

form class help (oop php5)
Hidy Ho Neighbors,

I'm forcing myself to learn oop/classes for php5. It seems like a good id

Batch Session SM35 stuck in status 'in Background
Hi Experts,

I am facing a problem with Batch Input session SM35.

The batch se

Varible in trigger - refering to correct schema
Hello

Im having some issues with my trigger.
What I want to do is call opon a differ

same querie, or a new one??
Hi guys,

I'm still working on this drop down list. I've got the actual drop down list to wor

need help to creat database
Hello Team, please guys i am stuck from three days with paypal issue for IPN but no luck yet now i w

Retrieving Data from Two Different Databases
Hello All,

Ran into another problem and would appreciate some help! I have two datab

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash