|
From: Baron J. G. <bge...@ta...> - 2007-07-02 22:19:17
|
Using the combination of PHP 4 and MySQL 4 has generated a few
problems.
First is that zabbix-server stopped when it couldn't establish anymore
connections to mysql. Research showed that it wasn't dropping persitant
connections quick enough the simple work around I am using was to change
from mysql_pconnect to mysql_connect.
Second problem was with the IT services pages would give a syntax error
in zabbix/include/services.inc.php. Solution was to change the &
$temp=array to &$temp in
function createServiceTree(&$services,$id=0,&$temp=array(),
$serviceupid=0,$parentid=0, $soft=0, $linkid=''){
and
function createShowServiceTree(&$services,$id=0,&$temp=array(),
$serviceupid=0,$parentid=0, $soft=0, $linkid=''){
Lines 574 and 603
I hope this helps further the project a little.
Baron
|