Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-26 19:51:36

sweed
New Member
From: southern Oregon
Registered: 2009-01-26
Posts: 5

Strange server error in footer

Hi…this is some sort of a server error (200 OK) that appears only in Internet Explorer…things look fine in Firefox. It is just below the footer on all pages on the site. Please if you have the time to take a look, www.sweed.com.

If you look at the page source (in IE) it is some code that is added after my </html>

It is hosted with NetSol and they are looking on their side…

Updated to TXP 4.07.

Any insight would be appreciated.

ED

Offline

#2 2009-01-26 20:29:01

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Strange server error in footer

Make sure your index.php file is the same as the original and has not been edited. If your server was not secure it could be that this file was edited and an include was added to output malicious code. The server where the included file is could be giving this error.

If that’s the problem you’ll also want to make sure permissions on all your directories are at a safe level.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#3 2009-01-26 20:46:23

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Strange server error in footer

This is what I see (in IE6) in your source code at the bottom of the page, after the </html> tag:

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

Not sure what that means… Did you check your error logs?

Last edited by els (2009-01-26 20:47:46)

Offline

#4 2009-01-29 15:23:35

sweed
New Member
From: southern Oregon
Registered: 2009-01-26
Posts: 5

Re: Strange server error in footer

Ok…checked my server error logs, nothing but a missing favicon.ico. Went ahead and upgraded to TXP 4.08 with a fresh index.php file. Still the problem persists. Just got a note back from NetSol and they feel it is a software/coding issue. Will continue to dig around.

Thanks

Offline

#5 2009-02-04 00:57:13

johnsanders
New Member
From: SF Bay Area, USA
Registered: 2009-02-02
Posts: 7
Website

Re: Strange server error in footer

sweed, I’m hosting with Network Solutions as well, and I’m having the exact same problem. I found that turning messy URL’s back on seemed to fix things. Obviously, that’s just a stop gap measure and won’t work in production, but makes developing the site easier when you don’t have page rendering goofiness.

My post is here, and I’ll post an answer if I get a response.

Offline

#6 2009-02-04 06:35:25

johnsanders
New Member
From: SF Bay Area, USA
Registered: 2009-02-02
Posts: 7
Website

Re: Strange server error in footer

sweed, I figured out the issue on my end. I hope the solution works for you…

It was an issue with my .htaccess file. I had to uncomment the RewriteBase setting and change it from the default to RewriteBase / . That seemed to do it. I verified the problem was gone by sniffing my HTTP traffic.

I’m guessing that the issue with needing to change the rewrite base was because this particular instance of textpattern did not reside in the /htdocs root folder, it’s in a subfolder (/htdocs/textpattern).

- John

Offline

#7 2009-02-04 17:24:46

sweed
New Member
From: southern Oregon
Registered: 2009-01-26
Posts: 5

Re: Strange server error in footer

Sure enough! It was something in the .htaccess file.

Thanks!

Offline

Board footer

Powered by FluxBB