Importing template Error: XML: Cacti version does not exist.

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
qhasxeem
Posts: 4
Joined: Tue Oct 11, 2005 2:45 pm

Importing template Error: XML: Cacti version does not exist.

Post by qhasxeem »

When I try to import a template, I get the following:

Error: XML: Cacti version does not exist.


Anyone know how I can change the XML file to enable to export from another old cacti version?


I'm using:
- Cacti Version 0.8.6g
- CentOS 4.2
- RRDtool 1.0.50
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You will only be able to import templates from a lower or equal cacti version
Reinhard
qhasxeem
Posts: 4
Joined: Tue Oct 11, 2005 2:45 pm

Post by qhasxeem »

Well I have the latest (8.6g) and the templates are from 8.6e. So doesn't that mean I should be able to export from an older version to a newer version?
Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

Post by Spark »

I have the same problem...

I try to import the JuniperFW template made in 2004...
My cacti is Version 0.8.6e

Thanks
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

I encountered same issue and don't know why also. But my another cacti(same version:0.8.6g) is good...
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Anyone can help me out on this issue? Help me...
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Sorry, I posted the issue on wrong thread http://forums.cacti.net/viewtopic.php?t ... highlight=
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Re: Importing template Error: XML: Cacti version does not ex

Post by carrison »

qhasxeem wrote:When I try to import a template, I get the following:

Error: XML: Cacti version does not exist.


Anyone know how I can change the XML file to enable to export from another old cacti version?


I'm using:
- Cacti Version 0.8.6g
- CentOS 4.2
- RRDtool 1.0.50
My environments is same with yours and my php is:
PHP 5.0.5 (cli) (built: Oct 12 2005 13:48:53)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
carrison
Posts: 30
Joined: Fri Oct 14, 2005 2:26 am

Post by carrison »

Issue solved! :D

Just as The witness and rony said, The issue caused by config_array.php, Make it like below does:

$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"
);
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests