next page not working on 0.8.8f

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Dbroke
Posts: 4
Joined: Tue Dec 15, 2015 1:01 am

next page not working on 0.8.8f

Post by Dbroke »

When navigating to the "Next" screen of page (like 2, 3, ...) in plugins (like syslog,thold,discovery...) the uri lost character " & " (like "http://xxx.com/plugins/syslog/syslog.ph ... slogpage=2) use the "Next" or the "Previous" is normal.

Any ideas on how to fix this. I looked around and did not see anything. Any help would be greatly appreciated.
lost character " & "
lost character " & "
QQ截图20160121103645.jpg (33.92 KiB) Viewed 753 times
correct uri
correct uri
QQ截图20160121103809.jpg (33.12 KiB) Viewed 753 times
thirty2
Posts: 30
Joined: Wed Mar 04, 2015 9:42 am

Re: next page not working on 0.8.8f

Post by thirty2 »

Fix >

In file <cacti dir>/lib/html_utility.php on line 389 string should be:

Code: Select all

$url_page_select .= "<script type='text/javascript'>function goto${page_var}(pageNo) { if (typeof url_graph === 'function') { var url_add=url_graph('') }else{ var url_add=''; }; document.location='$url&$page_var='+pageNo+url_add }</script>";
Dbroke
Posts: 4
Joined: Tue Dec 15, 2015 1:01 am

Re: next page not working on 0.8.8f

Post by Dbroke »

thirty2 wrote:Fix >

In file <cacti dir>/lib/html_utility.php on line 389 string should be:

Code: Select all

$url_page_select .= "<script type='text/javascript'>function goto${page_var}(pageNo) { if (typeof url_graph === 'function') { var url_add=url_graph('') }else{ var url_add=''; }; document.location='$url&$page_var='+pageNo+url_add }</script>";
It's work,thank you!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests