[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Routers.cgi*Extension

Cheshire Cat Computing

Software support and information
It is currently Sun Dec 21, 2025 8:36 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Routers.cgi*Extension
PostPosted: Fri May 07, 2004 2:46 am 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri May 07, 2004 10:11 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue May 18, 2004 4:52 am 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue May 18, 2004 11:15 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue May 18, 2004 9:32 pm 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE
In this script, I look my parameter ARGV[0].

According to what i understand, i need to read this parameter like CGI paramater.

So, I don't understand, with extension.cgi (it's the script in the part extension modules with routing table, trend analysis......!!!) how pass my parameter like CGI???

regards

David


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Tue May 18, 2004 10:19 pm 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE
I have 2 others questions :

First, I haven't problem with routingtable.cgi but yesterday, return to me in apache error_log "can't locate object method session via package Net::SNMP"

I make a small scrip
#!/usr/bin/perl
use Net::SNMP;
print"Test pour l'existence du module SNMP\n";

return to me Test pour ...... then no error about Net::SNMP module but Where ???

Second, the script trend.cgi. In routers.cgi when i click on link "trend analysis", it post my web page with the differents choices (predictions, historical weightings, future distances) But Message error instead of graphs...
In apache error_log show error on line 1456-1458 (it's the part of reading rrd file ). I think it's a bad value for the parameter interfaces or target but i don't see the error......

Have you an idea???

Thank you thank you for your help.

regards.

David
a french newbie


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Wed May 19, 2004 12:16 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
1) A CGI parameter is usually passed in an environment variable, QUERY_STRING. The Perl CGI library helps you to extract these -- see how it is done in the example extension.cgi script, and read the CGI manual page.

2) Remember that CGI scripts are not supposed to be called frmo the command line. Most will not work if you call them this way.

3) Make sure you have the latest version of Net::SNMP installed, you may have an older version that is not campatible with the routingtables.cgi script?

4) Make sure you are calling routingtables.cgi from your web browser. It will not work if you call it from the command line.

5) trend.cgi must be called from the browser, via an Extension[] link. It will produce lots of errors if you try calling it from the command line or directly (not through an Extension[] link) since it has no internal parameter error checking.


6) trend.cgi needs to have some configuration at the beginning of the script -- you need to set the location of your rrdtool executable, a work directory, and the routers2.conf location. There will be lots of errors if you don't set these correctly.

7) I would need to be sent the error messages from your web server to track down the problems you are experiencing.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu May 20, 2004 3:34 am 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu May 20, 2004 3:35 am 
Offline
Silver User

Joined: Fri Apr 23, 2004 2:02 am
Posts: 28
Location: Niort, FRANCE


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu May 20, 2004 9:59 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group