Cactiusers.org


It is currently Thu May 17, 2012 7:32 am




Post new topic Reply to topic  [ 4 posts ] 
 [Monitor] Mute button 
Author Message
Post [Monitor] Mute button
There is jsut a little bug in monitor.php Line 92.
You do not use $config['url_path'] for the button's action. It will just point on "http://server/plugins/monitor/monitor.php".


Thu Nov 03, 2005 11:02 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: [Monitor] Mute button
Tut` wrote:
There is jsut a little bug in monitor.php Line 92.
You do not use $config['url_path'] for the button's action. It will just point on "http://server/plugins/monitor/monitor.php".


I will fix this, but I don't thing it should have been an issue. The image currently points to
images/button_nosound.gif
This is being called from the monitor.php page that resides in plugins/monitor/

When your browser sees the images/button_nosound.gif it will add that to the current directory, which is whatever you have in the url currently. So even if you cacti install was in http://server/projects/cacti/test/
it would see it as
http://server/projects/cacti/test/plugi ... osound.gif
(just to note, this is how the directory structure on my test machine is setup, so I know it indeed does work).

Its also the concept with the little icons for the computers.

Are you having an issue with a particular browser? Or maybe using mod-rewrite to redirect the url?


Thu Nov 03, 2005 11:22 am
Post Re: [Monitor] Mute button
jimmy wrote:
I will fix this, but I don't thing it should have been an issue. The image currently points to
images/button_nosound.gif
This is being called from the monitor.php page that resides in plugins/monitor/


Problem is not with the image but with the 'action' =).

monitor.php Line 92 :
Code:
<form action='/plugins/monitor/monitor.php' method=POST>


On my platform, it points to https://server/plugins/... not to http://server/cacti_or_whatever/plugins..


Fri Nov 04, 2005 9:15 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: [Monitor] Mute button
Tut` wrote:
jimmy wrote:
I will fix this, but I don't thing it should have been an issue. The image currently points to
images/button_nosound.gif
This is being called from the monitor.php page that resides in plugins/monitor/


Problem is not with the image but with the 'action' =).

monitor.php Line 92 :
Code:
<form action='/plugins/monitor/monitor.php' method=POST>


On my platform, it points to https://server/plugins/... not to http://server/cacti_or_whatever/plugins..


Oops, my bad. That will teach me to stop speed reading everything. I'll get this fixed ASAP. Thanks.

Edit: You can redownload it, as it is now fixed! Thanks again!


Fri Nov 04, 2005 10:48 am
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: