Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 26, 2017 10:46 am

All times are UTC - 5 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sun Feb 15, 2009 10:24 am 
Offline

Joined: Mon Sep 08, 2008 7:10 am
Posts: 13
hi,

thx for helping me out. seems to work just fine. if i see some problems i will come back with descriptions of ...

mcutting wrote:
I got the same. The error is in the new PIA - top_graph_header.php.

I did a compare with PIA 2.3 for this particular file, and they seem to be identical apart from some img src tags.

I ended up doing a swap of this file for the one in PIA 2.3, which seems to work fine.

I expect that this file will need to be replaced in the new 2.4 zip. Not sure if what I did breaks anything, but my install works fine.

Hope this is of some use.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2009 7:11 pm 
Offline

Joined: Thu Dec 06, 2007 7:58 pm
Posts: 13
mojiro wrote:
Some php warnings:

at console header
Quote:
Notice: Use of undefined constant OPER_MODE_NATIVE - assumed 'OPER_MODE_NATIVE' in /cacti-0.8.7d/include/top_header.php on line 27
Notice: Use of undefined constant OPER_MODE_RESKIN - assumed 'OPER_MODE_RESKIN' in /cacti-0.8.7d/include/top_header.php on line 28
Notice: Use of undefined constant OPER_MODE_NATIVE - assumed 'OPER_MODE_NATIVE' in /cacti-0.8.7d/include/top_header.php on line 48
Notice: Use of undefined constant OPER_MODE_NATIVE - assumed 'OPER_MODE_NATIVE' in /cacti-0.8.7d/include/top_header.php on line 55


I'm guessing this is relaetd to the failed patching:

patching file include/global_constants.php
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file include/global_constants.php.rej


Code:
cat include/global_constants.php.rej
***************
*** 175,178 ****
  define("SNMP_CMDPHP", 1);
  define("SNMP_WEBUI", 2);

  ?>--- 175,182 ----
  define("SNMP_CMDPHP", 1);
  define("SNMP_WEBUI", 2);

+ define('OPER_MODE_NATIVE', 0);
+ define('OPER_MODE_RESKIN', 1);
+ define('OPER_MODE_IFRAME_NONAV', 2);
+


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 16, 2009 12:37 am 
Offline

Joined: Fri Dec 15, 2006 9:14 am
Posts: 47
someone say that you can try like here;
define('OPER_MODE_NATIVE', 0);
define('OPER_MODE_RESKIN', 1);
define('OPER_MODE_IFRAME_NONAV', 2);


but my don't work , you can try !


Top
 Profile  
 
 Post subject: Problem with plugin architecture
PostPosted: Mon Feb 16, 2009 8:01 am 
Offline

Joined: Mon Feb 16, 2009 7:42 am
Posts: 4
Still have problem with patching.
Error:
patching file include/global_constants.php
Hunk #1 FAILED at 175.
1 out of 1 hunk FAILED -- saving rejects to file include/global_constants.php.rej

Any idea ?

cacti-plugin-0.8.7d-PA-v2.4.diff
cacti-0.8.7d.tar.gz


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 16, 2009 8:43 am 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5948
Location: Michigan, USA
Locked, please post request for support with the new release in the appropriate sections.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2009 8:31 pm 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12118
Location: USA
User notified me that the windows spine binary on the site (http://www.cacti.net/downloads/spine/pa ... 0.8.7c.zip) actually is the SOURCE CODE.

The real spine binary should be put up and link fixed...

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group