You are here: Re: [PHP] debugging « PHP « IT news, forums, messages
Re: [PHP] debugging

Posted by Marek Kilimajer on 01/19/05 13:48

William Stokes wrote:
> I'm trying to get the ini_set("error_reporting",E_ALL); work. No matter what
> kind of errors I write I just get blank screen when the script fails. Do I
> need to also echo the errors to screen? Or can the error reporting be
> disabled by the server admin (my adsl operator)? so that no errors are
> printed to screen.

If the script does not parse it's not executed, so your ini_set() lines
never change the setting. Change the setting in php.ini on your dev machine.

>
> I just set the error reporting at the beginning of the code like:
>
> <?php
> ini_set("error_reporting",E_ALL);
> etc...

 

Navigation:

[Reply to this 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

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