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
Template Import Error in 0.8.8
Moderators: Developers, Moderators
Re: Template Import Error in 0.8.8
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"
);
$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"
);
Who is online
Users browsing this forum: No registered users and 2 guests