ScotDiddle Posted March 24, 2009 Share Posted March 24, 2009 Hello All, I have a long-running, complicated script that is bombing out because I defined a class twice... In a browser, the scripts just stops running, giving all notice and warning messages except the last, the compiler warning... When I run the script through Zend Studio, the last message displayed ( in the Zend Studion output window ) is the compiler warning about "... can't re-declare class so-and-so..." ? What can I do to get the compiler message to display when a script dies due to this type of error when running in the browser.... I have: error_reporting(E_ALL) in the script. Thanks in advance. Scot L. Diddle, Richmond VA Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 24, 2009 Share Posted March 24, 2009 defining error reporting in a script won't help if the script won't compile. you should turn on error reporting in your php.ini file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.