Il giorno 16/mar/09, alle ore 21:00, Michael Ablassmeier ha scritto:
I've done it, the message remains the same, probably it is a loop on
error reporting.
yeah, probably.
I set it to120 seconds and the error_reporting to E_ALL |
E_STRICT, but
no additional info, only this message.
This is because Zabbix replace php error handler, I edited the file /
usr/share/zabbix/include/config.inc.php in this way, and i found the
problem:
function error($msg)
{
global $ZBX_MESSAGES;
$f = fopen('/tmp/zabbix.log', 'a');
fwrite($f, print_r($msg, true));
fwrite($f, print_r($ZBX_MESSAGES, true));
if(is_null($ZBX_MESSAGES))
$ZBX_MESSAGES = array();
array_push($ZBX_MESSAGES, array('type' => 'error',
'message' => $msg));
}
thats bad. Ive got no response so far from other persons which did
upgrade from
etch. I have to test if this also occours on an clean zabbix
installation done
on lenny (which i cant imagine since this problem would have been
reported way
earlier then ..)
Can you fiddle arround the function to find out whats happening
there? Hard to
debug this if i cant reproduce ..
This is an abstract of the file /tmp/zabbix.log created with the code
above:
[284] => Array
(
[type] => error
[message] => Implicit cloning object of class 'CListItem'
because of 'zend.ze1_compatibility_mode'[/usr/share/zabbix/include/
classes/clist.inc.php:48]
)
I removed the zend.ze1_compatibility_mode parameter and now Zabbix
frontend runs fine :-)
I think that zabbix should be more verbose about this kind of errors...
--
Fabio Napoleoni - ZENIT
fa...@zenit.org
"Computer Science is no more about computers than astronomy is
about telescopes"
Edsger W. Dijkstra
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org