You are here: Re: PHP syntax error causes no output « PHP Programming Language « IT news, forums, messages
Re: PHP syntax error causes no output

Posted by Jerry Stuckle on 10/13/07 02:09

bill wrote:
> Jerry Stuckle wrote:
>> bill wrote:
>>> Tyno Gendo wrote:
>>>
>>>> Check the error_reporting and display_errors in php.ini
>>>>
>>>> I get this on our live servers all the time but we can't turn the
>>>> reporting on, so I usually download to an internal dev machine
>>>> and test on there with all errors/display on.
>>>
>>> php.ini has a blank for display_errors and 2047 for error_reporting.
>>>
>>> using ini_set, what are valid values for display_errors ?
>>> bill
>>>
>>
>> You can't use ini_set to display syntax errors. Since there is a
>> syntax error, none of the code gets executed - including syntax errors.
>>
>
> Well, heck. I can reach the ceiling by pulling myself up by my bootstraps.
>
> Because the web host runs php as a fastcgi, they had to create a php.ini
> in my cgi-bin directory that I could edit.
>
> Thanks all, now all is well.
>
> bill
>

A poor workaround. Get a development system going. You should never
have display_errors enabled on a production system.

--
==================
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

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