Cacti 0.8.7d Released

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

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

Post by cosminutz1977 »

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.
finn
Posts: 13
Joined: Thu Dec 06, 2007 7:58 pm

Post by finn »

mojiro wrote:Some php warnings:

at console header
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: Select all

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);
+
angelfire007
Posts: 49
Joined: Fri Dec 15, 2006 9:14 am

Post by angelfire007 »

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 !
labiol
Posts: 4
Joined: Mon Feb 16, 2009 7:42 am

Problem with plugin architecture

Post by labiol »

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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Locked, please post request for support with the new release in the appropriate sections.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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...
Locked

Who is online

Users browsing this forum: No registered users and 0 guests