Hey Everyone!

I just transfered and patched up some files because I moved them from Linux/PHP/Apache/mySQL to Windows XP Home/PHP/Apache/mySQL.

I fixed all the problems that come up, but, when I load the page in IE6, it reloads a bunch of times and just loads normally.

I tried the best I can to make the page HTML 4.01 Transitional. So, on Linux, after I patched the page to be HTML 4.01 Transitional I put a link for my visitors to validate my page if they want to.

So I notice also, that when I validate the page, I rarely get it to work. 90% of the time, this is what I receive from the W3C validator:

I got the following unexpected response when trying to retrieve <[url]http://*****/[/url]>:

500 Bad header: ' <img src="/images/menu/other_stuff-off.gif" alt="Other Stuff" name="menu-other_stuff" width="186" height="17" border="0">'

Please make sure you have entered the URI correctly.

I get this error most of the time, but sometimes there is a different part of my PHP HTML output in the page. And then, when it works, half of the page is trimmed off, thus, I get errors about my page not being HTML 4.01 Transitional.

Anybody know why this header is being sent by my server?


UPDATE:

The error is in my layout file. I'm pretty sure, read my post below with the attachment. Maybe someone can tell me where I went wrong. (layout.inc.php)

    500 is the Internal Server Error code and it probably means that the image URI is wrong.

      Yeah,

      But see, I'm calling my main php file (index.php). I'm not requesting an image. That bit from the validator after the 500 Bad Header, the HTML code, is from my HTML output generated from PHP.

      I'm just trying to send out a regular page.

        personally i've never run into this before. it seems your server is really picky and likes to give errors when you get the path to the image wrong. is it wrong? check it out and report back.

          ak! IE proprietory code! run away!

          sorry, but that's just how i fell about stuff like that. as for your problem, this is entirely new to me. try re-uploading the image?

            I have it running locally.

            And, the image is not a problem at all. My server is sending parts of my code as headers.

              Okay. I have a bunch of files to put each page together easily.

              The code is too much, I'll setup a source-viewing page....


              After testing the page so you can see the code, I notice the problem is in my layout file. I just can't figure out where.

              I assume this because when viewing the source of my layout file, it keeps reloading and reloading.

              My layout file is included in the post as a text file.

                After testing and testing, my problem comes back to my layout file. So now, if someone can just tell me where I might of coded wrong, I'd really appreciate it. I looked all over it, and still can find the problem, but with everything I try, it always comes back to my layout file.

                If anyone could help, I would really appreciate it.

                  perhaps if you could isolate the problem a bit it might help...

                    The debug brought up nothing, and I copied the output to a test html file and validated it and everything, it worked right.

                    Now, I think there's something wrong with my server.

                    Windows XP Home
                    Apache 2.0.47
                    PHP 4.3.2

                    Apache uses the loadable module for PHP.

                      Write a Reply...