[Phpmyadmin-devel] Re: trigger_error

Michal Čihař michal at cihar.com
Mon Dec 5 01:49:02 CET 2005


On Thursday 01 December 2005 11:56, Sebastian Mendel wrote:
> No, errors are for finding problems, whether by developer or admin
> (installer)
> Really nice to have back this times with 'Exception Error' - this
> absolutely helpless error messages.

I don't want nothing saying messages, I just want to avoid exposing 
information that should be hidden - path information in this case.

> You have always to judge between security and user friendliness.

If we really need to make such choice, we need to choose security.

> How can the developer help the user if the user can not provide a clear
> error message?

Showing strThemeNoValidImgPath (hey it's again not in language files) is IMHO 
good enough, you don't need to know that you raised this in line 107 of file 

	Michal Čihař | http://cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20051205/2d3295e2/attachment.sig>

More information about the Developers mailing list