[development] Question about error_reporting()
juan.fco.rodriguez at gmail.com
Fri Aug 8 21:48:10 UTC 2008
One more thing,
I think that in this line:
watchdog('php', t('%message in %file on line %line.',
array('%error' => $types[$errno], '%message' => $message, '%file' =>
$filename, '%line' => $line)), WATCHDOG_ERROR);
%error is not being interpolated, wouldn't it be better something like
t('%error: %message in %file....blablabla....) ?
On Fri, Aug 8, 2008 at 7:58 PM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> Quoting Charlie Gordon <cwgordon7 at cwgordon.com>:
>> Huh? That's watchdog() called directly on 404 pages, not an error handling
>> problem. It's an IE problem, actually - IE just looks in the root directory
>> for favicon.ico ignoring the reference to the favicon in the html.
> The OP is looking for ways to cut down on the watchdog entry fluff. While
> PNF errors in the watchdog themselves are not fluff the favicon.ico one
> certainly is.
> Earnie -- http://for-my-kids.com/
> -- http://give-me-an-offer.com/
More information about the development