On 9 July 2012 20:31, jackymasibo <[email protected]> wrote:
> i have done everything but iam still getting the same message pliz anyone
> with an i dea on what am doing wrong or what am supposed to do to help me
> out.
>
> > On Fri, Jul 6, 2012 at 4:03 PM, jackymasibo <[email protected]> wrote:
> >
> > > misc/sax_parser_print.pl
> > >
> > > i get the following error message:
> > >
> > > could not find ParserDetails.ini in
> /usr/local/share/perl/5.10.1/XML/SAX
> > > Koha wants something like:
> > > XML::LibXML::SAX::Parser=HASH(0x81fe220)
> > > You have:
> > > XML::SAX::PurePerl=HASH(0x9e71ca8)
> > > Looks bad, check INSTALL.* documentation.
>
Knowing what operating system you are running, the version of Koha you are
trying to install, and how you installed (manual or using packages) may
help with fixing your problem.
If you are running Debian 6, the latest version of Koha (3.8.2), and are
doing a manual install, then the installation instructions are in the file
INSTALL.debian. At 2.2 it says:
You must be sure you're using the XML::LibXML SAX parser, not Expat or
PurePerl, both of which have outstanding bugs with pre-composed characters.
You can test your SAX parser by running:
$ cd koha
$ misc/sax_parser_print.pl
You should see something like:
XML::LibXML::SAX::Parser=HASH(0x81fe220)
If you are configured to use PurePerl or Expat, the script will say
you have a problem and
you'll need to edit your ini file to correct it.
The file is typically located at:
/etc/perl/XML/SAX/ParserDetails.ini
The correct parser entry will need to be moved to the bottom of the file.
The following is the entry you are looking for:
[XML::LibXML::SAX::Parser]
http://xml.org/sax/features/namespaces = 1
To fix your problem you need to find the ParserDetails.ini and edit it as
indicated.
To find the file on Debian and Ubuntu go 'updatedb' (updates file index
database) then go 'locate ParserDetails.ini' (enter the commands without
the 's).
You can also use the search box on the front page of koha-community.org to
search for 'could not find ParserDetails.ini in
/usr/local/share/perl/5.10.1/XML/SAX' and see if you can find anything that
better matches your environment.
David Nind | [email protected]
PO Box 12367, Thorndon, Wellington, New Zealand 6144
h. +64 4 9720 600 | m. +64 21 0537 847 | w. +64 4 8906 098
_______________________________________________
Koha mailing list http://koha-community.org
[email protected]
http://lists.katipo.co.nz/mailman/listinfo/koha