|
|
#1 (permalink) | |
|
Registered User
Seasoned Poster
Joined in Jul 2007
32 posts
Gave thanks: 5
Thanked 3 times
|
My website is fully done in php and I'm having problems. Everything was working fine before I moved. Now on all my pages it displays :
Quote:
Here is a screenshot of one of my pages: http://img49.imageshack.us/img49/9849/problembg6.jpg My header & footer extensions are correct, none of my file names changed. Is there a solution for this? ![]() |
|
|
|
|
|
|
#2 (permalink) |
|
4-8-15-16-23-42
Excelling Contributor
Joined in Jul 2007
Lives in Australia, turn left at America
Hosted on Luna & Nexus (dedicated)
779 posts
Gave thanks: 37
Thanked 29 times
|
I believe it's because you are trying to include remote files, which has been disabled on the server probably because of security issues.
Instead of this: PHP Code:
PHP Code:
PHP Code:
__________________
|
|
|
|
| This user thanks caseylee for this great post! | Kayla (July 31st, 2007) |
|
|
#4 (permalink) |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,446 posts
Gave thanks: 46
Thanked 140 times
|
Perhaps the path to the files in your code is messed up?
What are the folder permissions? At the most they should be 755, if you have them set to 777 you will encounter problems....
__________________
SH110
|
|
|
|
|
|
#5 (permalink) |
|
4-8-15-16-23-42
Excelling Contributor
Joined in Jul 2007
Lives in Australia, turn left at America
Hosted on Luna & Nexus (dedicated)
779 posts
Gave thanks: 37
Thanked 29 times
|
That error happens because you are trying to include remote files. What that means is that you are linking to your header.php file via a URL rather than locally. Most servers that I have been on disable remote inclusion for security reasons. It's better for you to include locally, anyway, because it saves you on bandwidth.
I realised I'd left a "/" out of the php code in my previous post, it should have been: PHP Code:
If you used just header.php that I'd put at the end of my previous post, that would probably be why it's not working in sub-directories.
__________________
Last edited by caseylee; August 1st, 2007 at 12:00 AM.. |
|
|
|
| This user thanks caseylee for this great post! | ~shellz~ (August 1st, 2007) |
|
|
#6 (permalink) | |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,446 posts
Gave thanks: 46
Thanked 140 times
|
Quote:
Alrighty.. I was on the right track... Path related error....
__________________
SH110
|
|
|
|
|