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

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

Weird MySQL error, why am I recieving this?
PHP Code:


<?php require "global_settings.php"; ?>
<titl

Disable html within defined tags
I have a mysql database that allows users to enter content with html, but I also want to have a tag

server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase

Deleting a record php
Attempting to setup delete a record page. The below code I put together doesn't seem to work.

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

adding up might be solved tell us cheers.
i think i finally solved this anybody.

last time i was getting the wrong results.

Code

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

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