Jump to content

[SOLVED] PHP Problems...


Recommended Posts

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!  ???

Link to comment
https://forums.phpfreaks.com/topic/58370-solved-php-problems/
Share on other sites

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';

Link to comment
https://forums.phpfreaks.com/topic/58370-solved-php-problems/#findComment-289780
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.