Cactiusers.org


It is currently Thu May 17, 2012 8:03 am




Post new topic Reply to topic  [ 4 posts ] 
 PA install problem with access link. 
Author Message
New User

Joined: Sat Mar 22, 2008 9:58 pm
Posts: 2
Post PA install problem with access link.
Dear all:

I installed Cacti-0.8.7b on freebsd 6.2 by ports system, the all objects' access link in page index.php can be access with a prefix ' http://server-name/cacti/ ' and its work properly. Sample:

http://server-name/cacti/graphs_new.php

However , if i try install the plug-in Architecture 2.0, whatever the install way is using pre-patch or patch file, the all objects of left side and upper side with a strange prefix access link in page index.php , it become ' http://server-name/cacti/cti/ ' , those cause the access fail. Sample:

http://server-name/cacti/cti/graphs_new.php

Do anyone have idea to that strange problem?

Thanks for your peruse.


Attachments:
File comment: strange link.GIF
strange link.GIF
strange link.GIF [ 36.85 KiB | Viewed 726 times ]


Last edited by carloswang on Sat Mar 22, 2008 10:39 pm, edited 3 times in total.

Sat Mar 22, 2008 10:27 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
I just release 2.1 like 2 minutes ago to fix this issue. The issue is that every OS seems to include different paths in their SERVER variable in PHP. It would nice if there was actually a standard for this type of thing, but it seems we have to go back to manually setting URL_PATH in global.php


Sat Mar 22, 2008 10:30 pm
New User

Joined: Sat Mar 22, 2008 9:58 pm
Posts: 2
Post 
Thanks to Jimmy , the new PA 2.1 already solves the uri problem.

Unfortunately, here has other situation:

Situation 1. Logout return page have some error message as below:

Warning: reset() [function.reset]: Passed variable is not an array or object in /usr/local/share/cacti/lib/functions.php on line 146

Warning: Variable passed to each() is not an array or object in /usr/local/share/cacti/lib/functions.php on line 147

Warning: reset() [function.reset]: Passed variable is not an array or object in /usr/local/share/cacti/lib/functions.php on line 146

Warning: Variable passed to each() is not an array or object in /usr/local/share/cacti/lib/functions.php on line 147


Situation 2). perform network tools fail with below error message:

Warning: Missing argument 9 for cacti_snmp_walk(), called in /usr/local/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/local/share/cacti/lib/snmp.php on line 225

Warning: Missing argument 10 for cacti_snmp_walk(), called in /usr/local/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/local/share/cacti/lib/snmp.php on line 225


Sat Mar 22, 2008 11:20 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
carloswang wrote:
Situation 2). perform network tools fail with below error message:

Warning: Missing argument 9 for cacti_snmp_walk(), called in /usr/local/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/local/share/cacti/lib/snmp.php on line 225

Warning: Missing argument 10 for cacti_snmp_walk(), called in /usr/local/share/cacti/plugins/tools/tools.php on line 120 and defined in /usr/local/share/cacti/lib/snmp.php on line 225


Tools v0.3 was released a few weeks ago to fix that error.


Mon May 26, 2008 5:00 pm
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: