[SOLVED] error with RebuildConfig.pl

Moderator: crythias

Post Reply
cbravo
Znuny advanced
Posts: 113
Joined: 18 Nov 2010, 00:33
Znuny Version: 3.0

[SOLVED] error with RebuildConfig.pl

Post by cbravo »

Hello, I made a custom dashlet file named CustomDashlets.xml and when I try to use the RebuildConfig.pl to add it to the system I keep getting this error.

ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.10.1 OS: linux Time: Mon Dec 20 15:15:33 2010

Message: C-Parser:
not well-formed (invalid token) at line 23, column 1, byte 1016 at /usr/lib/perl5/XML/Parser.pm line 187
!

Traceback (2596):
Module: Kernel::System::XML::XMLParse (v1.105) Line: 755
Module: Kernel::System::XML::XMLParse2XMLHash (v1.105) Line: 604
Module: Kernel::System::SysConfig::_Init (v1.27) Line: 1617
Module: Kernel::System::SysConfig::new (v1.27) Line: 131
Module: otrs.RebuildConfig.pl (v1.14) Line: 56

ERROR: OTRS-otrs.RebuildConfig.pl-10 Perl: 5.10.1 OS: linux Time: Mon Dec 20 15:15:33 2010

Message: XML::Parser produced errors. I use XML::Parser::Lite as fallback!

Traceback (2596):
Module: Kernel::System::XML::XMLParse (v1.105) Line: 756
Module: Kernel::System::XML::XMLParse2XMLHash (v1.105) Line: 604
Module: Kernel::System::SysConfig::_Init (v1.27) Line: 1617
Module: Kernel::System::SysConfig::new (v1.27) Line: 131
Module: otrs.RebuildConfig.pl (v1.14) Line: 56

mismatched tag 'otrs_config'

Any idea as to why is this happening?
Last edited by cbravo on 21 Dec 2010, 00:07, edited 1 time in total.
OTRS: 3.08
OS: Ubuntu
Apache2/MySQL 5
cbravo
Znuny advanced
Posts: 113
Joined: 18 Nov 2010, 00:33
Znuny Version: 3.0

Re: error with RebuildConfig.pl

Post by cbravo »

In case anyone has the same problem, it was because I forgot the open tag <otrs_config> and the parser was complaining about it.
OTRS: 3.08
OS: Ubuntu
Apache2/MySQL 5
Post Reply