not seeing any errors
Moderator: General Moderators
not seeing any errors
I have made sure that both my internet explorer displays non-friendly error messages and that php.ini will display all error messages. Why can I still not see any error messages. I'm sure I've done anything possible; is there anything else I should consider?
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
what kind of errors are you looking for?
if you're looking for php errors and php.ini is set to display all errors (even minor warnings) and yet still not seeing any then your code is syntactly correct.
if you are looking for JavaScript errors then you change the settings in your browser to display all errors and don't forget to turn debugging on (IE only I believe). again, if your not seeing any errors then you code runs fine through the script engine.
however, if your code is not doing what you want then you have a logic error which the script parser cannot detect. why don't you better explain what your problem is then we may be able to help you.
if you're looking for php errors and php.ini is set to display all errors (even minor warnings) and yet still not seeing any then your code is syntactly correct.
if you are looking for JavaScript errors then you change the settings in your browser to display all errors and don't forget to turn debugging on (IE only I believe). again, if your not seeing any errors then you code runs fine through the script engine.
however, if your code is not doing what you want then you have a logic error which the script parser cannot detect. why don't you better explain what your problem is then we may be able to help you.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
i did edit my php.ini
i did edit my php.ini in my winnt folder to show all errors and I need to see the errors that my php code will give me cos when I take out important syntax in my code it doesn't display anything and before I re-setup my apahce and php it used to give me proper error messages detailing the problem, so I'm sure there's something that I haven't done correctly.....
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
the following:
1)error_reporting = E_ALL & E_NOTICE
2)display_errors = On
2)display_errors = On
this will only print messages of the cat. E_NOTICE. Probably you wanted E_ALL & ~E_NOTICE.
check the actual value of error_reporting with
I set error_reporting = E_ALL; and phpinfo() tells error_reporting 2047
check the actual value of error_reporting with
Code: Select all
<?php phpinfo() ?>