OneOaaS / graphtrees

此项目当前不再更新,只适用于3.0和3.2版本
105 stars 53 forks source link

Cant show pagingline #7

Closed thuekx closed 8 years ago

thuekx commented 8 years ago

hi,

i have an error on zabbix 3.0.2 like this : Argument 3 passed to getPagingLine() must be an instance of CUrl, none given, called in /usr/share/zabbix/graphtree.right.php on line 251 and defined [graphtree.right.php:251 → getPagingLine() in include/func.inc.php:1471]

anyone know the problem?

zhausong commented 8 years ago

@thuekx this is a bug,we will fix it soon

zhausong commented 8 years ago

@thuekx fix it ,code like this:

$url = new CUrl();
$pagingLine = getPagingLine($graph_list, ZBX_SORT_UP, $url);

you can fix the problem like this:

cd ${You PHP PATH}
mv graphtree.right.php graphtree.right.php-old
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/web/graphtree.right.php
thuekx commented 8 years ago

Thank you very much

It's done