CGI Error ...how to find the root of this Thing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anz789
Forum Newbie
Posts: 3
Joined: Sun May 04, 2003 1:41 am

CGI Error ...how to find the root of this Thing

Post by anz789 »

hi,
some times when i login or insert data to the DB, or interact with DB , the following error is displayed . The same code worked fine but some time its too moody ...and shows

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

i'm using mySQL , IIS 5


Noman!
User avatar
oQEDo
Forum Commoner
Posts: 43
Joined: Thu Feb 20, 2003 11:08 am
Location: UK

Post by oQEDo »

Usually when you use IIS5, all that error means is you have gone to a page which does not exist.
(Check your hyperlinks or redirects to ensure you have not spelled anything incorrectly)
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You can setup IIS to give proper 404 error pages for missing PHP pages. Go to Internet Information Manager, right-click on your website's name and chose Properties. Then go to the Home Directory tab, click on Configuration and chose the PHP extension that you use from the list. Click on Edit, and check the box for Check File Exists. Then OK it all.

Mac
Post Reply