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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.