Re: errors still being displayed even if variables in php.ini set to off
| From: | Ashley Sheridan | Date: | Sun, 28 Dec 2008 12:01:23 +0000 |
| Subject: | Re: errors still being displayed even if variables in php.ini set to off | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-285134@lists.php.net to get a copy of this message | ||
On Sat, 2008-12-27 at 16:23 -0800, Fred Silsbee wrote:
> on page 1
> Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71
>
> Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72
>
> in php.ini:
>
> error_reporting = Off
>
> display_errors = Off (in 2 places)
>
> display_startup_errors = Off
>
>
>
>
>
>
>
>
What does phpinfo() tell you? Don't forget that there are several places
where this can be set; the php.ini file, the .htaccess file, and within
the PHP code itself. If phpinfo() tells you that both settings are for
errors off, then it's most likely that a line in your PHP code is
turning them back on
Ash
www.ashleysheridan.co.uk