
Hello again,
Things get worst, yet we have a progress J
I just have reinstalled the libxml-parser-perl package, and I got this error:
otrs:/opt/otrs# bin/otrs.RebuildConfig.pl
ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.10.0 OS: linux Time: Wed Mar 23 15:43:57 2011
Message: C-Parser:
mismatched tag at line 6858, column 14, byte 354596 at /usr/lib/perl5/XML/Parser.pm line 187
!
Traceback (11980):
Module: Kernel::System::XML::XMLParse (v1.105) Line: 755
Module: Kernel::System::XML::XMLParse2XMLHash (v1.105) Line: 604
Module: Kernel::System::SysConfig::_Init (v1.28) Line: 1617
Module: Kernel::System::SysConfig::new (v1.28) Line: 131
Module: bin/otrs.RebuildConfig.pl (v1.14) Line: 56
ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.10.0 OS: linux Time: Wed Mar 23 15:43:57 2011
Message: XML::Parser produced errors. I use XML::Parser::Lite as fallback!
Traceback (11980):
Module: Kernel::System::XML::XMLParse (v1.105) Line: 756
Module: Kernel::System::XML::XMLParse2XMLHash (v1.105) Line: 604
Module: Kernel::System::SysConfig::_Init (v1.28) Line: 1617
Module: Kernel::System::SysConfig::new (v1.28) Line: 131
Module: bin/otrs.RebuildConfig.pl (v1.14) Line: 56
Kind regards,
Dani
Danail Petrov
System Engineer, Integration Department
Mobile: +359 879 686809
Email: danail.petrov@telelink.com mailto:danail.petrov@telelink.com
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Danail Petrov
Sent: Wednesday, March 23, 2011 3:34 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] otrs.RebuildConfig.pl returns mismatched tag 'Hash'
Hello, Mike, and thank you for your fast response!
I have restored the old Ticket.xml file, yet nothing happened. I tried to diagnose this error in question by using the xmllint binary – haven’t found anything suspicious
Thank you for your pieces of advice! I do believe that you’re absolutely right and totally agree with you (for using separate .xml files instead of editing the existing ones).
I still experience this issue and I have no idea what should I do in further, in order to fix it. I have even tried to run this application (RebuildConfig.pl) from older version (located in /opt/otrs_old, which is ver. 3.0.4) – got the same error, again.( I just noticed that I haven’t mention the version I’m currently using – is 3.0.6. )
otrs:/opt/otrs_old# pwd
/opt/otrs_old
otrs:/opt/otrs_old# bin/otrs.RebuildConfig.pl
mismatched tag 'Hash'
What is in common with these otrs versions?
Kind regards,
Dani
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Michiel Beijen
Sent: Wednesday, March 23, 2011 11:06 AM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] otrs.RebuildConfig.pl returns mismatched tag 'Hash'
Hi Danail,
Probably your Ticket.xml file is no longer correct. A few hints:
* Try using 'diff Ticket.xml.old Ticket.xml' -> in case you did not make a backup, please download the file from http://source.otrs.org
* Try running 'xmllint Ticket.xml' -> this will warn in case your XML is no longer valid and will hint to where this might be.
* If you want to add configuration, it's nice to do it in an XML, but please leave OTRS's XML files untouched. This will make upgrading MUCH easier; simply create a file called Danail.xml and it will be read automatically.
* If you just wanted to change some configuration values, please use Admin > SysConfig in the web interface.
--
Mike
On Wed, Mar 23, 2011 at 9:09 AM, Danail Petrov