Reply to Re: Error Messages

Your name:

Reply:


Posted by Rik on 01/12/07 16:58

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('display_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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация