Jump to content

Archived

This topic is now archived and is closed to further replies.

nawhaley2265

logging syntax errors

Recommended Posts

Hey everyone, I'm trying to get IIS to do one of two things 1) Display the syntax error messages on the php page itself or 2) make a log file with the errors that occured loading a page on it. The second option is more preferable since it lets me view just the log then fix the syntax errors I have without having to turn it off when I'm done so the end user dosent see it. However I can't seem to get it configured properly in the php.ini file does anyone have a set of instructions on how to do this?

Share this post


Link to post
Share on other sites
The php.ini is pretty well commented in this area, however, I think you'll find most syntax [i]errors[/i] are actually just [i]warnings[/i].

Share this post


Link to post
Share on other sites
[!--quoteo(post=384228:date=Jun 15 2006, 10:47 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Jun 15 2006, 10:47 AM) [snapback]384228[/snapback][/div][div class=\'quotemain\'][!--quotec--]
The php.ini is pretty well commented in this area, however, I think you'll find most syntax [i]errors[/i] are actually just [i]warnings[/i].
[/quote]

yeah I just got it working and its not liking my odbc connection to my database for some reason it keeps saying its not configured properly which is striking me as odd. Thanks for the response by the way and yeah I know its mostly warnings but they help me debug my code anyway :).

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.