You are here: Re: displaying errors « PHP Programming Language « IT news, forums, messages
Re: displaying errors

Posted by Jerry Stuckle on 05/11/05 19:06

Nikola Skoric wrote:
> Hello,
>
> php_info(); for display_errors variable says: Off, Off. I tried the
> error_reporting(E_ALL);, but nothing happens. If I have an error
> somewhere, PHP just silently dies, no output whatsoever. Which variable
> has to be set so that error_reporting() function works, but no
> errors/warnings are displayed if the error_reporting() wasn't executed
> (admins don't want to have display_errors On globally)? PHP Version is
> 4.3.3.
>

Nikola,

I've seen this when I had a syntax error in my PHP. Rather than
detecting the error, PHP silently crashes.

First, check your php.log file to see if there's anything there.
Sometimes I've seen things there that aren't displayed. If not, try
commenting out blocks of code until you get *something*.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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