xhitandrun Posted July 4, 2007 Share Posted July 4, 2007 I don't even know what's wrong. I previously used I-Frames, so I guess I'm not all up on this PHP thing. I keep getting this error. <b>Warning</b>: main(http://www.octobernights.org/header.php) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in <b>/home/octobe00/public_html/blog.php</b> on line <b>8</b><br /> <br /> <b>Warning</b>: main(http://www.octobernights.org/header.php) [<a href='function.main'>function.main</a>]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in <b>/home/octobe00/public_html/blog.php</b> on line <b>8</b><br /> <br /> <b>Warning</b>: main() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.octobernights.org/header.php' for inclusion (include_path='.:/usr/lib/php') in <b>/home/octobe00/public_html/blog.php</b> on line <b>8</b><br /> I know that this seems pretty common, but no matter what I read, I just can't fix it. And...my page is taking FOREVER to load. I just have no idea what is wrong. And I'm getting sick of trying to fix it, really quick. Any help would be greatly appreciated! ??? Quote Link to comment https://forums.phpfreaks.com/topic/58370-solved-php-problems/ Share on other sites More sharing options...
wildteen88 Posted July 4, 2007 Share Posted July 4, 2007 You server is returning a 500 internal server error so I guess your server's configuration is not correct/has errors in it. Check your servers error log to see why you are getting a 500 Internal Server error. Do you get the same error if you use relative paths for includes, eg: include 'header.php'; instead of using an absolute path, eg: include 'http://www.octobernights.org/header.php'; Quote Link to comment https://forums.phpfreaks.com/topic/58370-solved-php-problems/#findComment-289780 Share on other sites More sharing options...
xhitandrun Posted July 5, 2007 Author Share Posted July 5, 2007 It doesn't seem to be working. I'm wondering if it's in my coding? I don't know... In the error logs, this comes up. Premature end of script headers: /home/octobe00/public_html/header.php Quote Link to comment https://forums.phpfreaks.com/topic/58370-solved-php-problems/#findComment-290027 Share on other sites More sharing options...
xhitandrun Posted July 5, 2007 Author Share Posted July 5, 2007 Okay I got it, nevermind. Thanks for the help! Quote Link to comment https://forums.phpfreaks.com/topic/58370-solved-php-problems/#findComment-290121 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.