Cacti 0.8.8d - Zoom not working - SOLVED

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
lazzar0
Posts: 5
Joined: Wed Jan 13, 2010 6:16 am

Cacti 0.8.8d - Zoom not working - SOLVED

Post by lazzar0 »

Dear all,

I've just upgraded my Cacti box to latest version 0.8.8d on Ubuntu 14.04.
Everything is working fine except for a weird issue : zooming on any graph is not working.

When I move the mouse over any graph, a cross appears but I cannot select anything.
again when I click right mb over a graph , zoom menu correctly appears but it is not possible to select any option.

Javascript libraries are correctly placed in cacti include/js directory.

Following libraries are also installed on system :

libjs-jquery 1.7.2+dfsg-2ubuntu1
libjs-jquery-cookie 8-2
libjs-jquery-ui 1.10.1+dfsg-1

I have already tried to uninstall these libs. Same results.

Tried with different browsers too...also tried to disable some plugins (predict / spikekill).

Any ideas ?

King Regards,

Paolo
Attachments
No clickable menu items
No clickable menu items
Schermata 2015-06-18 alle 15.18.40.png (70 KiB) Viewed 13506 times
Last edited by lazzar0 on Fri Jun 19, 2015 1:40 am, edited 1 time in total.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti 0.8.8d - Zoom not working

Post by phalek »

Hi

Can you provide a complete list of plugins you have installed ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
lazzar0
Posts: 5
Joined: Wed Jan 13, 2010 6:16 am

Re: Cacti 0.8.8d - Zoom not working

Post by lazzar0 »

Yes, absolutely :

- Settings 0.71 (disabled but issue remains)
- Weathermap 0.97b (no disable option, only uninstall option)
- Predict 1.0.0 (disabled but issue remains)
- SpikeKill 1.3 (disabled but issue remains)
- Thold 0.5 (disabled but issue remains)

hope this helps

Regards,

Paolo
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Cacti 0.8.8d - Zoom not working

Post by phalek »

Predict may be the issue. move that plugin dir out of the plugins directory or completely remove it. Then retry.

Disabling a plugin still leaves some things working ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
lazzar0
Posts: 5
Joined: Wed Jan 13, 2010 6:16 am

Re: Cacti 0.8.8d - Zoom not working

Post by lazzar0 »

I've just disabled, uninstalled and deleted predict folder from plugins directory, but no luck.

Still same weird behaviour.
lazzar0
Posts: 5
Joined: Wed Jan 13, 2010 6:16 am

Re: Cacti 0.8.8d - Zoom not working - SOLVED

Post by lazzar0 »

Solved :

cp /usr/share/javascript/jquery-ui/jquery-ui.js /usr/share/cacti/site/include/js/

jquery-ui.js is missing from Cacti 0.8.8d tar.gz package.

This library is needed by jquery-zoom plugin.

This is the script load header from default cacti tree view :

<script type="text/javascript" src="/cacti/include/layout.js"></script>
<script type="text/javascript" src="/cacti/include/js/jquery.js" language="javascript"></script>
<script type="text/javascript" src="/cacti/include/js/jquery-ui.js" language="javascript"></script>
<script type="text/javascript" src="/cacti/include/js/jquery.cookie.js" language="javascript"></script>
<script type="text/javascript" src="/cacti/include/js/jstree.js"></script>
<script type="text/javascript" src="/cacti/include/js/jquery.zoom.js" language="javascript"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/lang/calendar-en.js"></script>
<script type="text/javascript" src="/cacti/include/jscalendar/calendar-setup.js"></script>

Finest regards,

Paolo
gben
Posts: 10
Joined: Fri Apr 03, 2009 7:42 am

Re: Cacti 0.8.8d - Zoom not working - SOLVED

Post by gben »

I had the same problem.

Thanks for your help. :lol:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cacti 0.8.8d - Zoom not working - SOLVED

Post by BSOD2600 »

Please file a bug http://www.cacti.net/bugs.php so it'll get corrected.
JJX
Cacti User
Posts: 402
Joined: Thu Oct 06, 2005 5:03 am

Re: Cacti 0.8.8d - Zoom not working - SOLVED

Post by JJX »

I think this is related to bug: http://bugs.cacti.net/view.php?id=2590
cacti rulez!
braniak
Posts: 6
Joined: Wed Dec 02, 2020 1:03 am

Re: Cacti 0.8.8d - Zoom not working - SOLVED

Post by braniak »

Updating the bug report ticket.

Had this issue in my 0.8.8b version.
Solved following the instructions on the ticket below:

https://github.com/Cacti/cacti/issues/3797

Code: Select all

in graph_image.php and graph_json.php change the 1600000000 to 2600000000
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests