You are here: Re: "Notice: Undefined ..." - Ok to turn off / ignore these notices? « PHP Language « IT news, forums, messages
Re: "Notice: Undefined ..." - Ok to turn off / ignore these notices?

Posted by Rik on 04/24/07 19:17

Geoff Berrow wrote:
> Message-ID: <Q_SWh.5749$Ro3.1388@text.news.blueyonder.co.uk> from cluthz
> contained the following:
>
>> Looking more into the code, all of the scripts started giving these warnings
>> and there are so many scripts to update for now we will prevent basic
>> notices. Reading about it on the web, that normally is the default behaviour
>> for a server.
>
> I wish I had clients as forgiving as you. The notices shouldn't be
> there but it's fairly trivial for the developers to suppress errors on
> each script if they don't have time to track down all the errors giving
> rise to these notices. Should be their problem, not yours.

Well... errors should not be surpressed offcourse. Displaying them on a
production server is a big nono though. Display them in development (and
offcourse fix them...), log them in production. No need to bother the
customers (i.e. site visitors, not the one that bought the code) with
the errors, it might even be a security risk.

> I'd be wondering if they had also coded assuming register_globals is on.

Sadly very probably true...
--
Rik Wasmus

Estimated date being able to walk: 01-05-2007.... Less the a week, hurray!

 

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

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