|
|
| Author |
Message |
qhasxeem
Joined: 11 Oct 2005 Posts: 4
|
Posted: Wed Nov 16, 2005 2:52 pm Post subject: Importing template Error: XML: Cacti version does not exist. |
|
|
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
|
Posted: Wed Nov 16, 2005 4:40 pm Post subject: |
|
|
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
|
Posted: Thu Nov 17, 2005 4:47 pm Post subject: |
|
|
| 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
|
Posted: Fri Nov 18, 2005 7:14 am Post subject: |
|
|
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
|
Posted: Sun Nov 27, 2005 9:55 pm Post subject: |
|
|
| 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
|
Posted: Mon Nov 28, 2005 12:59 am Post subject: |
|
|
| Anyone can help me out on this issue? Help me... |
|
| Back to top |
|
 |
carrison
Joined: 14 Oct 2005 Posts: 30
|
|
| Back to top |
|
 |
carrison
Joined: 14 Oct 2005 Posts: 30
|
Posted: Mon Nov 28, 2005 8:32 pm Post subject: Re: Importing template Error: XML: Cacti version does not ex |
|
|
| 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
|
Posted: Mon Nov 28, 2005 8:47 pm Post subject: |
|
|
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 |
|
 |
|