BEAST!MODE Posted October 5, 2007 Share Posted October 5, 2007 This keeps showing up: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/para/public_html/index.php on line 2 Warning: include(http://thisparade.net/header.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/para/public_html/index.php on line 2 Warning: include() [function.include]: Failed opening 'http://thisparade.net/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/para/public_html/index.php on line 2 And I need help to make my site look how it does regulary, it was working before but ever since I stopped updating IDK what happened, because when I came back it was like this. And my website URL is http://thisparade.net Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/ Share on other sites More sharing options...
trq Posted October 5, 2007 Share Posted October 5, 2007 Your server has url wrappers disabled. You can no longer access includes via a url, use absolute or relative paths instead. Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/#findComment-362169 Share on other sites More sharing options...
BEAST!MODE Posted October 6, 2007 Author Share Posted October 6, 2007 I dont understand how to do that ??? Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/#findComment-363059 Share on other sites More sharing options...
Cagecrawler Posted October 6, 2007 Share Posted October 6, 2007 Do this: include("header.php"); Instead of this: include("http://thisparade.net/header.php"); Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/#findComment-363065 Share on other sites More sharing options...
BEAST!MODE Posted October 8, 2007 Author Share Posted October 8, 2007 okay thanks it worked,and so do i have to do that for All my links on my entire site? Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/#findComment-364611 Share on other sites More sharing options...
trq Posted October 8, 2007 Share Posted October 8, 2007 There not links, but yes, any time you call the include function you will need to use a path, not a url. Link to comment https://forums.phpfreaks.com/topic/71897-solved-site-problem-tpnet/#findComment-364629 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.