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

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

Moderators: Moderators, Developers

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

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

#1 Post by qhasxeem » Wed Nov 16, 2005 2:52 pm

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: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#2 Post by gandalf » Wed Nov 16, 2005 4:40 pm

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

#3 Post by qhasxeem » Thu Nov 17, 2005 4:47 pm

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

#4 Post by Spark » Fri Nov 18, 2005 7:14 am

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

#5 Post by carrison » Sun Nov 27, 2005 9:55 pm

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

#6 Post by carrison » Mon Nov 28, 2005 12:59 am

Anyone can help me out on this issue? Help me...

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

#7 Post by carrison » Mon Nov 28, 2005 8:30 pm

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

#8 Post by carrison » Mon Nov 28, 2005 8:32 pm

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

#9 Post by carrison » Mon Nov 28, 2005 8:47 pm

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