Page 1 of 1
how to see all Web app errors?
Posted: Sun Jan 05, 2003 12:33 pm
by permutations
How come other people see errors and warnings on Web pages I produce that I don't see? One person testing for me got a MySQL warning for a careless error I'd made, but didn't get the warning myself. Another time I forgot to upload the .css file with a project. The person testing it got a warning about the missing .css file, but I did not. He also got another warning I didn't see.
Is there some setting I need to change so I see these errors? I don't even see them when I access the sites from another computer on my network (not the development computer).
I have IE 5.5 and Mozilla.
Posted: Sun Jan 05, 2003 8:22 pm
by m3mn0n
Sometimes when you work locally you forget to make the file "web set" meaning the images and attachments like .css files are looking for the files in c:\apache\htdocs\site\whatever\ instead of /site/whatever/. I remember i did that a few times, maybe it's that...
Posted: Mon Jan 06, 2003 9:31 am
by permutations
I didn't even have a path specified for the .css file since everything was in the same subdirectory.
I did notice that in my browser I had the option to report all script errors turned off. Maybe that was my problem?
Posted: Wed Jan 08, 2003 10:25 am
by DaiWelsh
That setting will relate to javascript/vbscript errors. In IE there is also an option called something like 'Show Friendly HTTP Error Messages'. Uncheck that to stop IE hiding the details of certain errors.
The mysql error should be a server-side setting and so the same for all clients, however whether the error is visible on-screen may depend on where in the page it occurs and what browser you use. Additionally it is possible that the error is specific to the user because of choices they made previously on the site?
The css error is more likely to be a browser issue, in my experience IE does not bother to tell you about missing CSS or javascript source files, but this could also be a setting somewhere and may be different with other browsers.
HTH
Dai
Posted: Wed Jan 08, 2003 11:38 am
by permutations
Thanks for the info. I looked and I do have "Show friendly HTTP error messages checked", so it's a mystery. Maybe I should download a few other browsers.
Posted: Wed Jan 08, 2003 3:20 pm
by DaiWelsh
Sorry, I may have been unclear, you want it unchecked to see the errors, having it checked will make it show 'friendly' errors in other words without the scary/useful technical information.
Regards,
Dai
Posted: Thu Jan 09, 2003 10:31 am
by permutations
Oh! Thanks for clarifying.