Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


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

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
qhasxeem



Joined: 11 Oct 2005
Posts: 4

PostPosted: Wed Nov 16, 2005 2:52 pm    Post subject: Importing template Error: XML: Cacti version does not exist. Reply with quote

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
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 17009
Location: Muenster, Germany

PostPosted: Wed Nov 16, 2005 4:40 pm    Post subject: Reply with quote

You will only be able to import templates from a lower or equal cacti version
Reinhard
Back to top
qhasxeem



Joined: 11 Oct 2005
Posts: 4

PostPosted: Thu Nov 17, 2005 4:47 pm    Post subject: Reply with quote

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?
Back to top
Spark



Joined: 26 Jan 2005
Posts: 15

PostPosted: Fri Nov 18, 2005 7:14 am    Post subject: Reply with quote

I have the same problem...

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

Thanks
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Sun Nov 27, 2005 9:55 pm    Post subject: Reply with quote

I encountered same issue and don't know why also. But my another cacti(same version:0.8.6g) is good...
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Nov 28, 2005 12:59 am    Post subject: Reply with quote

Anyone can help me out on this issue? Help me...
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Nov 28, 2005 8:30 pm    Post subject: Reply with quote

Sorry, I posted the issue on wrong thread http://forums.cacti.net/viewtopic.php?t=10135&highlight=
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Nov 28, 2005 8:32 pm    Post subject: Re: Importing template Error: XML: Cacti version does not ex Reply with quote

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
Back to top
carrison



Joined: 14 Oct 2005
Posts: 30

PostPosted: Mon Nov 28, 2005 8:47 pm    Post subject: Reply with quote

Issue solved!

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"
);
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group