Error: XML: Hash version does not exist.
Moderators: Developers, Moderators
Below contents comes from include/config_array.php
Rony Edit: Remove unwanted crap. Reduce your post size man.
Code: Select all
$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"
);
Sorry, I should post it to http://forums.cacti.net/viewtopic.php?t ... highlight=
a possibly related issue...
I am experiencing a similar issue importing templates regardless of the cacti version they were created. I am also having a problem related to "version" from the intial insall I believe import problem to be collateral damage frmo the installation issue.
I installed 0.8.6j and immediately had to comment out $config["cacti_version"] = "0.8.6j"; from the include/config.php to avoid the following mysql access error.
Error
You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue:
mysql -u cactiuser -p cacti < cacti.sql
This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database.
my include/config_array.php verion hash table looks like this
$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"
);
However with the include/config.php $version entry commented out to avoid the mysql error I suspect all template imports will fail in this way.
Any advice on how to enable $config["cacti_version"] = "0.8.6j"; without causing the mysql error would be very much appreciated.
I installed 0.8.6j and immediately had to comment out $config["cacti_version"] = "0.8.6j"; from the include/config.php to avoid the following mysql access error.
Error
You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue:
mysql -u cactiuser -p cacti < cacti.sql
This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database.
my include/config_array.php verion hash table looks like this
$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"
);
However with the include/config.php $version entry commented out to avoid the mysql error I suspect all template imports will fail in this way.
Any advice on how to enable $config["cacti_version"] = "0.8.6j"; without causing the mysql error would be very much appreciated.
-
- Posts: 3
- Joined: Sat Oct 11, 2008 4:02 am
Solved For Me
Hi
I had the same error when importing templates from new version of cacti to older version
I solved it by placing the template i want to import it in
/resource/snmp_queries
Then i import it
I hope this work for u as it worked for me
I had the same error when importing templates from new version of cacti to older version
I solved it by placing the template i want to import it in
/resource/snmp_queries
Then i import it
I hope this work for u as it worked for me
-
- Posts: 8
- Joined: Mon Aug 17, 2009 5:19 am
Re: Error: XML: Hash version does not exist.
I got the same problem as the others do. i run cactiEZ version 0.8.7c
If there is a patch or update or other ways to fix this let me know.
Also links are very appriciated.
I did a google on this problem. so yes i searched for this.
But again i might overlooked it ofcourse even i become a day older
Btw is there a how to how to make your own?
Just for some odd reason i can not find how you can make a template or something like that how much free diskspace we still have.
this is what i find so far.
http://www.cacti.net/downloads/docs/html/how_to.html
Again, thanks for your help in advance.
If there is a patch or update or other ways to fix this let me know.
Also links are very appriciated.
I did a google on this problem. so yes i searched for this.
But again i might overlooked it ofcourse even i become a day older
Btw is there a how to how to make your own?
Just for some odd reason i can not find how you can make a template or something like that how much free diskspace we still have.
this is what i find so far.
http://www.cacti.net/downloads/docs/html/how_to.html
Again, thanks for your help in advance.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error: XML: Hash version does not exist.
Please see 1st link of my sigpeitje wrote:Btw is there a how to how to make your own?
Just for some odd reason i can not find how you can make a template or something like that how much free diskspace we still have.
this is what i find so far.
http://www.cacti.net/downloads/docs/html/how_to.html
R.
Re: Error: XML: Hash version does not exist.
Dear. All
I read all posts here. I couldn't , however, understand what am i suppose to solve this problem.
I got this error as below.
after imported with this error, I couldn't any name of data template and host template.
and Also, I found this array as posted before. ( I found it under include/global_array.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"
);
and my configuration is below.
Operating System: Ubuntu 3.0.0.17-generic-pae
Webserver: apache2.2
Cacti: 0.8.8
Spine: no
MySQL: 5.1
PHP:5
RRDTool (Cygwin or Win32 build): 1.4.3-3
Net-SNMP: 5.4.3 ( in windows is 5.6.1.1-1)
Cygwin (cygwin1.dll version): no
Plugin Architecture: already included here 0.8.8
How can i modified this source ? anyone who know?
Thanks a lot~
Regard.
I read all posts here. I couldn't , however, understand what am i suppose to solve this problem.
I got this error as below.
after imported with this error, I couldn't any name of data template and host template.
and Also, I found this array as posted before. ( I found it under include/global_array.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"
);
and my configuration is below.
Operating System: Ubuntu 3.0.0.17-generic-pae
Webserver: apache2.2
Cacti: 0.8.8
Spine: no
MySQL: 5.1
PHP:5
RRDTool (Cygwin or Win32 build): 1.4.3-3
Net-SNMP: 5.4.3 ( in windows is 5.6.1.1-1)
Cygwin (cygwin1.dll version): no
Plugin Architecture: already included here 0.8.8
How can i modified this source ? anyone who know?
Thanks a lot~
Regard.
Re: Error: XML: Hash version does not exist.
Getting the same XML Hash Error in my fresh 0.8.8 installation (win32).
After adding "0.8.8" => "0024" to this array manually it works.
Ciao
EDIT:
documented bug
http://bugs.cacti.net/view.php?id=2207
After adding "0.8.8" => "0024" to this array manually it works.
Ciao
EDIT:
documented bug
http://bugs.cacti.net/view.php?id=2207
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Error: XML: Hash version does not exist.
Thx for bug report; rony already fixed it. Your assumption was indeed correct
R.
R.
Re: Error: XML: Hash version does not exist.
http://docs.cacti.net/howto:determine_c ... te_version
I think this list should be updated for those that dont have access to the latest version:
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",
"0.8.8a" => "0024",
"0.8.8b" => "0024",
"0.8.8c" => "0025",
"0.8.8d" => "0025",
"0.8.8e" => "0025",
"0.8.8f" => "0025",
);
I think this list should be updated for those that dont have access to the latest version:
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",
"0.8.8a" => "0024",
"0.8.8b" => "0024",
"0.8.8c" => "0025",
"0.8.8d" => "0025",
"0.8.8e" => "0025",
"0.8.8f" => "0025",
);
cacti rulez!
Who is online
Users browsing this forum: No registered users and 0 guests