Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I upgraded cacti from 0.8.4 to 0.8.5a and installed cactiquery as per the instruction.Now when I click the [Zoom] or [Query] button on interface. I get the following error.
Zoom
------
Parse error: parse error, unexpected $ in /var/www/html/cacti/cactistoric.php on line 265
Query
------
Parse error: parse error, unexpected $ in /var/www/html/cacti/cactiquery.php on line 245
Any clue..
Karunesh
Thats wierd that lines mark the EOF of each file. Gonna check it again tonight...
I am facing the same problem. Any solution to this?
After I almost gone mad with this, finally I got the solution and now things are working
I upgraded cacti from 0.8.4 to 0.8.5a and installed cactiquery as per the instruction.Now when I click the [Zoom] or [Query] button on interface. I get the following error.
Zoom
------
Parse error: parse error, unexpected $ in /var/www/html/cacti/cactistoric.php on line 265
Query
------
Parse error: parse error, unexpected $ in /var/www/html/cacti/cactiquery.php on line 245
Any clue..
Actually this is something releated to PHP, in both the php files "cactistoric.php" & "cactiquery.php", short php tags(<?....?>) are used, and these short tags are disabled by default. So we need to enable the short tags in "php.ini".Although this is not recommended by php community.
Change the follwoing
From
short_open_tag = Off
To
short_open_tag = On
Any way..now still I am not able to dump CSV, so I need to check that .
It gives me error.
Error opening file: /var/www/html/cacti/csv-export/192.168.4.30-.csv for writting!
Writting to file: /var/www/html/cacti/csv-export/192.168.4.30-.csv
Here are the permissions of csv-export directory.
drwxrwxr-- 2 user1 users 4096 May 19 11:55 csv-export
Notice: Undefined offset: 2 in C:\APPLS\cacti-0.8.5a\lib\rrd.php on line 697
Warning: usort(): The argument should be an array in C:\APPLS\cacti-0.8.5a\lib\rrd.php on line 700
Sorry took long enough to check the M/B as i am really bussy i will check the issue tomorrow and respond back to this thread
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
PHP Notice: Undefined offset: 2 in /usr/local/share/cacti/lib/rrd.php on line 697, referer: http://<snip>/graph.php?local_graph_id=6&rra_id=all&type=tree
PHP Warning: usort(): The argument should be an array in /usr/local/share/cacti/lib/rrd.php on line 700, referer: http://<snip>/graph.php?local_graph_id=6&rra_id=all&type=tree
This is on a FreeBSD box with Apache2 and PHP4.8.3.
Another thing.. I think I read somewhere about the 95percentil stuff not being calculated with this plugin.. and it doesnt.. any ideas for fixes or so ?..
It works wonderful over those few things
Thanks a bunch for it couse it really saves some headace!
Unfortunately cactistoric supports only 1 data source per query at the moment, thus combined graphs will not return any results.
I am working on it (slowly though due to my limited free time) and once i have something new i will surely share it with all of you.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
It may be worth talking to TheWitness to make sure that you aren't working on Parallel paths (TheWitness has expressed an intent to add CSV exporting to 0.8.6).