Error Messages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bitslayer

    Error Messages

    I know I probably don't have much info for someone to help but
    hopefully someone has seen this before.

    I have PHP 5.1.2.2 installed and I have a php.ini file with

    display_errors = On

    AND

    error_reporting = E_ALL

    (this is a production environment).

    The problem is that if I have a php error I don't see any error
    messages...just a blank screen.

    Please help as it sometimes takes a long time to find some silly
    missing semicolon or something.

    Thanks,

    bitslayer

  • Rik

    #2
    Re: Error Messages

    bitslayer wrote:
    I know I probably don't have much info for someone to help but
    hopefully someone has seen this before.
    >
    I have PHP 5.1.2.2 installed and I have a php.ini file with
    >
    display_errors = On
    >
    AND
    >
    error_reporting = E_ALL
    >
    (this is a production environment).
    Euhm, then it should be off. You mean development environment?
    The problem is that if I have a php error I don't see any error
    messages...just a blank screen.
    >
    Please help as it sometimes takes a long time to find some silly
    missing semicolon or something.
    What do you get if you check the settings with the output of
    ini_get('displa y_errors')/error_reporting ()? If they are not as you expect
    you've got the following possibilities:
    1. (most frequent) You've edited the wrong php.ini, check for other
    php.ini's on your system.
    2. The variables are set differently either in httpd.conf/.htaccess
    settings.
    3. Your script disables the error_reporting/display_errors itself.
    --
    Rik Wasmus


    Comment

    Working...