Template Import Error in 0.8.8

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sjf4
Posts: 2
Joined: Fri Apr 20, 2012 7:24 pm

Template Import Error in 0.8.8

Post by sjf4 »

I'm trying to import the IBM Bladecenter H template into 0.8.8, but it fails with "Error: XML: Cacti version does not exist."

There are many similar of the below in the server error log:
[Fri Apr 20 17:25:57 2012] [error] [client 140.142.111.28] PHP Notice: Undefined index: hash_00a7ee290344ad0de0e15d26ae47bc9b0a in /var/www/html/cacti/lib/import.php on line 64

Some items are imported, but they have no names and are non-functional.

Template Link: http://docs.cacti.net/usertemplate:host ... decenter_h
sjf4
Posts: 2
Joined: Fri Apr 20, 2012 7:24 pm

Re: Template Import Error in 0.8.8

Post by sjf4 »

Appears to be due to the missing value for 0.8.8 in include/global_arrays.php

$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010",
"0.8.6h" => "0011",
"0.8.6i" => "0012",
"0.8.6j" => "0013",
"0.8.7" => "0014",
"0.8.7a" => "0015",
"0.8.7b" => "0016",
"0.8.7c" => "0017",
"0.8.7d" => "0018",
"0.8.7e" => "0019",
"0.8.7f" => "0020",
"0.8.7g" => "0021",
"0.8.7h" => "0022",
"0.8.7i" => "0023",
"0.8.8" => "0024"
);
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Template Import Error in 0.8.8

Post by gandalf »

Previous message is correct.
Find the updated include/global_arrays.php at http://svn.cacti.net
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest