You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
There are two relative href calls in graph.php as below, this makes graph.php does not work when called from plugins.
$.get('graph.php?action=xxxxxxxxxx');
The error is 404, NOT Found. The apache log is below.
[Mon May 20 15:37:43.709666 2019] [:error] [pid 16192] [client 9.119.131.226:39128] script '/var/www/html/cacti/plugins/gridblstat/graph.php' not found or unable to stat.
To Reproduce
Steps to reproduce the behavior:
Call html_graph_area() in a plugin, such as gridbstat
Click on the graph icon beside the graph, this will navigate to graph.php from the plugin.
It shows, 'Error: 404 NOT FOUND', the request URL was not found.
Expected behavior
A clear and concise description of what you expected to happen.
Change the relative href to absolute href as we did in other lines in the file graph.php.
This will make the graph.php more stronger and it will works well when call from plugins.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
netniV
changed the title
relative href in graph.php makes graph.php does not work when called from plugins
Graph links do not contain proper URL path causing links to fail
May 20, 2019
netniV
changed the title
Graph links do not contain proper URL path causing links to fail
Graph links do not contain URL path causing links to fail
Jun 2, 2019
Describe the bug
A clear and concise description of what the bug is.
There are two relative href calls in graph.php as below, this makes graph.php does not work when called from plugins.
$.get('graph.php?action=xxxxxxxxxx');
The error is 404, NOT Found. The apache log is below.
[Mon May 20 15:37:43.709666 2019] [:error] [pid 16192] [client 9.119.131.226:39128] script '/var/www/html/cacti/plugins/gridblstat/graph.php' not found or unable to stat.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Change the relative href to absolute href as we did in other lines in the file graph.php.
This will make the graph.php more stronger and it will works well when call from plugins.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: