00666: CGI Error

Summary: CGI Error
Created: 2006-02-11 14:59
Status: Closed - insufficient information to diagnose
Category: Bug
Priority: 4
Version: 2.0.13

Description: Periodically, when the wiki is accessed from the main index.html file, the wiki does not come up and is instead replaced by a screen with the following message:

CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.

I suspect that this is either a configuration error in the site's webserver or PHP, or else the wiki is timing out before it can deliver the results to the webserver. In general is it taking a long time for PmWiki to generate its pages?


You know, come to think of it, there's usually a little lag before the cgi error manifests. But then I usually have to wait, oh, anywhere from 30 seconds to 5 minutes before I can access the wiki again. On the average, however, they load pretty quickly. BTW, I use the Gemini skin on the wiki. It seems like one of the larger skins to render, so maybe that's something to do with it?


Update: Umm... I re-installed PmWiki. Apparently, there was a newer version available that I was unaware of. So I will wait three days and see if the problem is resolved. I will let you know. Thank you for your patience.


This did not work as well as I had hoped. The errors are not as persistent (the site isn't unavailable for so long), but they are just as frequent. I don't understand it. I run Windows XP, I host through aplus.net, I currently am running PmWiki vers 3.0, and I haven't the remotest clue what to do to fix this problem.

I've had this same error when $ScriptUrl is changed from: $ScriptUrl="http://www.mydomain.com/mywiki";
And then trying to Save a page you're editing. The page is saved, but it doesn't return to the browsing view, instead it returns the CGI error notice. This doens't occur when Previewing the page.
I believe it has something to do with the IIS webserver I'm using. It doesn't occur on my Apache server (on linux). Maybe this hint is helpful for someone.

-- Louwrens