Hello, I just set up a client's website on a Network Solutions basic hosting plan. Everything seems to be working fine, but when using Firefox 3, it looks like the browser is displaying headers or something? It is very concerning and I need to know why this is happening. Here is an example of the output I am getting:

<head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

0

HTTP/1.1 302 Moved Temporarily
Date: Mon, 16 Feb 2009 17:03:23 GMT
Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.6
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
Last-Modified: Mon, 16 Feb 2009 17:03:23 GMT
Location: http://02ccc04.netsolhost.com/
Content-Length: 0
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Other times, it looks like some headers are output before and after the markup of the entire page. It's as if firefox is displaying the ENTIRE response from the server without parsing out the XHTML document part.

I don't see these errors with FF3 on my mac, or IE on the same desktop computer that is showing the issue. Is this me or firefox?

Here is another example of the error output, you can see at the beginning of this there are some chopped off HTML tags. WTF?

/html>

0

HTTP/1.1 200 OK
Date: Mon, 16 Feb 2009 17:14:24 GMT
Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.6
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Cache-Control: store, no-cache, must-revalidate, post-check=0, pre-check=0
Last-Modified: Mon, 16 Feb 2009 17:14:24 GMT
Keep-Alive: timeout=5, max=96
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

1249
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
  <title>Home Page | Stecker & Wharton Associates</title>
  <meta http-equiv="content-language" content="en" />
  <link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/fckeditor/fckeditor.css?v" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/stecker/style.css?v" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
   <base href="/sites/all/themes/stecker" />
 </head>
 <body>
 <map id="navmap" name="navmap">
 <area shape="rect" coords="25,6,117,43" href="/stecker"/>
 <area shape="rect" coords="16,53,101,96" href="/garret"/>
 <area shape="rect" coords="13,111,90,152" href="/home"/>
 <area shape="rect" coords="8,163,84,203" href="/links"/>
 
 </map>
     <div class="wrapper">
        <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
            <td valign="top" id="navcontainer">
                <img src="/sites/all/themes/stecker/images/nav_stecker.gif" alt="Stecker &amp; Wharton Enterprises" usemap="#navmap" border="0" />
            </td>
            <td valign="top">
                
                <table border="0" cellpadding="0" cellspacing="0">
                <tr><td><img src="/sites/all/themes/stecker/images/stecker_welcome2.gif" alt="Stecker &amp; Wharton Enterprises" /></td><td class="greenbar">&nbsp;</td></tr>
                </table>
                <div class="content">
                <div id="node-1" class="node clear-block">



  <div class="meta">
  
    </div>

  <div class="content">
    <p class="first"><strong>Stecker &amp; Wharton Enterprises</strong> is a joint venture which offers    Local, National and International Employment Opportunities in select industries and disciplines. Stecker &amp; Associates and The Garret Group merged in 1995 to combine more than 60 years of recruiting experience, industry contacts and network capabilities to benefit individuals seeking employment opportunities. Each firm brings unique experience in their field. We are headquartered in New Jersey with a branch office in Denmark.</p>
<p>Our partners have developed long term relationships with industry clients through comprehensive understanding of their respective cultures, goals and ever changing competitive environments. We consider all candidate information as proprietary and confidential. It is our strict policy to obtain candidate approval prior to sharing employment specifics with any of our clients.</p>
<div class="partner">
<h3>Stecker &amp; Associates</h3>
<p><strong>Medical Device - Pharmaceutical - Automation - Robotics</strong></p>
<p>[Product Development &ndash;R&amp;D &ndash; Engineering- Quality &ndash;Manufacturing]</p>
<p><strong>Diversity &amp; General Populace [Women - Asians &ndash; Minorities] </strong></p></div>
<div class="partner">
<h3>The Garret Group</h3>
<p><strong>Pharmaceutical - OTC/Consumer Products - Medical Device</strong></p>
<p>[Quality - Operations - Engineering]</p>
</div>
<table border="0" align="center" width="600" class="assoc">
<tbody>
<tr>
<td class="assoc_header" colspan="7"><center>We are proud members of the following associations:</center></td>
</tr>
<tr height="30">
<td><img height="32" width="37" alt="" src="/userfiles/ispe.jpg" /></td>
<td><img height="34" width="35" alt="" src="/userfiles/acrpglobe.jpg" /></td>
<td><img height="37" width="37" alt="" src="/userfiles/pda.gif" /></td>
<td><img height="34" width="51" alt="" src="/userfiles/raps.jpg" /></td>
<td><img height="18" width="36" alt="" src="/userfiles/aaps.jpg" /></td>
<td><img height="33" width="83" alt="" src="/userfiles/asq.jpg" /></td>
<td><img height="26" width="100" alt="" src="/userfiles/dia.gif" /></td>
</tr>
</tbody>
</table>
  </div>

  </div>        		             </tr>
             </table>
                </div>
         <div class="footer">
             <p>Main Office - 25 Pompton Avenue, Suite 101, Verona, New Jersey 07044-2938</p>
         </div>
		
    </body>
</html>

0

1f4
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 [no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

0

Suggestions anybody?

Comments

DirtyBirdNJ’s picture

I just did a little more poking around, and the same issues are showing up with FF3 on my mac. The issue does not happen when using IE6 on my winxp machine or Safari on my mac.

I thought FF was supposed to be the GOOD browser?!

cog.rusty’s picture

It looks fine to me in FF3. Try with another computer and with another network.

DirtyBirdNJ’s picture

Part of the problem is it seems to appear intermittently. One, two, three page loads will be fine... but on the 4th page load I get all the headers. Fifth and sixth page loads are 50/50 either way.

I am starting to suspect the hosting company (network solutions) has something set up weird, as I've NEVER seen this issue with Dreamhost before. Either that, or I have some module that is causing this issue? I only have Admin_Menu, Captcha & Recaptcha, and FCKEditor installed & enabled.

I know it has been tested on a different computer & connection, as the client pointed the issue out to me. With IE6 on this computer I see no problems, but I suspect he is using IE7... which further muddies this water.

I am seriously considering doing a fresh install of Drupal and seeing what happens... there seems to be no knowledge of this issue so why try to fix what I can't even locate/articulate. Not exactly the type of thing I want to be a pioneer with...

DirtyBirdNJ’s picture

Just a little update on this one, last night I had an interesting conversation with network solutions support. It took me about a half hour to get them to see the error that I described above. For every 50 loads of the page, 1 or 2 loads would show the same errors as above. The tech support guy (who was knowledgeable and very helpful) was bewildered by the issue, and gave me the impression that it very well may be a server config issue on their hand. I was told that the issue would be "escalated" to the server administration dept.

I still look like an idiot to the client, but who cares. My main concern with this is Drupal was displaying a VERY BAD bug... the type that would cause me to look for other CMSes. I have been unable to replicate the error on a separate system, my troubleshooting so far points to Network Solutions. Hopefully it is a server configuration issue... and I am going to make sure I find out WHY it was happening so I can post that here for anybody else to find.

DirtyBirdNJ’s picture

FINALLY figured it out, and the first thing I have to do is give HUGE props to the people at Network Solutions. I was hesitant to blame them for the issues, because I honestly figured I may have mis-configured something. Surprise, I did! In retrospect, I'm not sure I could have learned this without encountering the issue... I would rather have learned this screwing up my OWN website than a clients... but the issue is gone and all is well.

The issues above occurred because I moved all the drupal files from /root/drupal to the /root directory, without editing the .htaccess file.

More info can be found on these threads:

http://www.drupal.org/node/88710
http://www.drupal.org/node/232773

Again, major props to Network Solutions for going above and beyond what they were supposed to do. For a simple website, I can vouch for Network Solutions ability to host a Drupal installation.

TheonH’s picture

I had the same issue with a site hosted on Network Solutions, but it had nothing to do with moving all the Drupal files from a folder to a root.

What I did was uncomment the line in .htaccess:

 #RewriteBase /

so I changed it to:

RewriteBase /

and now I don't seem to have the same issue. Good luck everyone on getting this to work!

alauddin’s picture

updating the .htaccess as mentioned by TheonH above fixed the issue for me as well.