[linksunten-technik] warning when posting as anonymous user
Bartolomeo
bartolomeo at indymedia.org
Wed Jan 7 14:37:48 PST 2009
Moin ekes,
our problem was the hidden-module. It calls watchdog in D5 style but the API
changed in D6. We corrected two lines, now it works:
~~~~~~~~~~~
1745:
was:
watchdog('hidden', $description .' '. $titles, (($action ==
HIDDEN_LOG_DEBUG_FILTER) ? WATCHDOG_NOTICE : WATCHDOG_ERROR));
now:
watchdog('hidden', $description .' '. $titles, array(), (($action ==
HIDDEN_LOG_DEBUG_FILTER) ? WATCHDOG_NOTICE : WATCHDOG_ERROR));
~~~~~~~~~~~
1756
was:
watchdog('hidden', 'Error writing log to database', WATCHDOG_ERROR);
now
watchdog('hidden', 'Error writing log to database', array() , WATCHDOG_ERROR);
~~~~~~~~~~~
Thanks for helping each other. ;-)
Ciao, Bart
ps. Could you please change the core to symlink again?
--
http://keys.indymedia.org/cgi-bin/lookup?op=get&search=0237D46E
eMail: bartolomeo at indymedia.org + Jabber: bartolomeo at jabber.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hidden.module
Type: application/x-php
Size: 58289 bytes
Desc: not available
Url : http://lists.indymedia.org/pipermail/imc-linksunten-technik/attachments/20090107/c5831233/attachment.bin
More information about the imc-linksunten-technik
mailing list