[Koha] Error 500

Ata ur Rehman ata.rehman at gmail.com
Fri Nov 17 02:16:58 NZDT 2006


Hi All

I have installed new modules from ppm and now my list of moduled is as under:
C:\Documents and Settings\ata.rehman>ppm query *
┌────────────────────────┬──────────┬─────────────────────────────────┬───────┐
│name                    │version   │abstract                         │area   │
├────────────────────────┼──────────┼─────────────────────────────────┼───────┤
│ActivePerl-Config       │1.0       │Override the ActivePerl configur»│perl   │
│ActivePerl-DocTools     │2.0       │Maintain HTML documentation      │perl   │
│ActivePerl-PPM          │4.0       │The Perl Package Manager         │perl   │
│ActiveState-RelocateTree│1.3       │Move perl distribution to new lo»│perl   │
│ActiveState-Scineplex   │1.0       │Perl extension to access Scinepl»│perl   │
│ActiveState-Utils       │2.1       │ActiveState's utility modules    │perl   │
│Archive-Tar             │1.30-r1   │Manipulates TAR archives         │perl   │
│Archive-Zip             │1.16      │Provide an interface to ZIP arch»│perl   │
│Class-Accessor          │0.27      │Automated accessor generation    │site   │
│Compress-Zlib           │1.42      │Interface to zlib compression li»│perl   │
│Convert-ASN1            │0.19      │Convert between perl data struct»│site   │
│DBD-SQLite              │1.12      │Small fast embedded SQL database»│perl   │
│DBD-mysql               │2.1026    │A MySQL driver for the Perl5 Dat»│modules│
│DBI                     │1.52      │Database independent interface f»│perl   │
│Data-Dump               │1.06      │Stringified Perl data structures │perl   │
│Data-Random             │0.05      │Perl module to generate random d»│site   │
│Date-Calc               │5.4       │Gregorian calendar date calculat»│modules│
│DateManip               │5.40      │Routines for parsing/manipulatin»│modules│
│Digest-HMAC             │1.01      │Keyed-Hashing for Message Authen»│perl   │
│Digest-MD2              │2.03      │Perl interface to the MD2 algori»│perl   │
│Digest-MD4              │1.5-r1    │Perl interface to the MD4 algori»│perl   │
│Digest-MD5              │2.24      │Perl interface to the MD5 Algori»│modules│
│Digest-SHA1             │2.11      │Perl interface to the SHA-1 algo»│perl   │
│File-CounterFile        │1.04      │Persistent counters              │perl   │
│File-Spec               │0.82      │portably perform operations on f»│modules│
│Font-AFM                │1.19      │Interface to Adobe Font Metrics »│perl   │
│GD-Barcode              │1.15      │Create barcode image with GD     │site   │
│HTML-Parser             │3.55      │Parsing of HTML documents        │perl   │
│HTML-Tagset             │3.10      │Data tables useful in parsing HT»│perl   │
│HTML-Template           │2.6       │Perl module to use HTML Template»│modules│
│HTML-Tree               │3.20      │Build and scan parse-trees of HT»│perl   │
│IO-String               │1.08      │Emulate file interface for in-co»│perl   │
│IO-Zlib                 │1.04      │IO:: style interface to Compress»│perl   │
│LWP                     │5.805-r1  │Web API for Perl                 │perl   │
│MARC-Record             │1.29      │Perl extension for handling MARC»│modules│
│MARC-XML                │0.7       │Work with MARC data encoded as X»│modules│
│MD5                     │2.03      │Deprecated.  Use Digest::MD5 ins»│perl   │
│MIME-Base64-Scripts     │1.00      │Scripts to encode/decode base64 »│perl   │
│Mail-Sendmail           │0.79      │Simple platform independent mail»│modules│
│Math-BigInt-FastCalc    │0.10      │Math::BigInt::Calc with some XS »│perl   │
│PDF-API2                │0,3r77,0,0│TNG PDF Generation API           │site   │
│PDF-Reuse-Barcode       │0.05      │Create barcodes for PDF document»│modules│
│Perl                    │5.8.8.819 │Practical Extraction and Report »│perl   │
│SOAP-Lite               │0.55-r1   │Interface to the Simple Object A»│perl   │
│Set-Scalar              │1.17      │basic set operations             │modules│
│Tcl                     │0.89-r2   │Tcl extension module for Perl    │perl   │
│Term-ReadKey            │2.30      │Change terminal modes and perfor»│perl   │
│Term-ReadLine-Perl      │1.0302-r1 │Readline implementation in Perl  │perl   │
│Test-Harness            │2.28      │run perl standard test scripts w»│modules│
│Test-Simple             │0.47      │Basic utilities for writing test»│modules│
│Text-Autoformat         │1.13      │Automatic text wrapping and refo»│perl   │
│Text-Reform             │1.11      │Manual text wrapping and reforma»│perl   │
│Time-HiRes              │1.49      │High resolution alarm, sleep, ge»│modules│
│Tk                      │804.027-r6│Tk - a Graphical User Interface »│perl   │
│Tkx                     │1.04      │Yet another Tk interface         │perl   │
│URI                     │1.35      │Uniform Resource Identifier refe»│perl   │
│Unicode-String          │2.09      │Unicode abstraction based on UTF»│perl   │
│Win32-AuthenticateUser  │0.02      │Win32 user authentication package│perl   │
│XML-Parser              │2.34-r1   │Parsing of XML documents         │perl   │
│XML-Simple              │2.14      │Easy API to maintain XML (esp co»│perl   │
│libwin32                │0.26-r3   │A collection of extensions that »│perl   │
│perl-ldap               │0.3202    │LDAP client library              │modules│
└────────────────────────┴──────────┴─────────────────────────────────┴───────┘
 (62 packages installed matching '*')

Now the error msg is as under:
===========================
Server error!
The server encountered an internal error and was unable to complete
your request.

Error message:
Premature end of script headers: opac-main.pl

If you think this is a server error, please contact the webmaster.

Error 500
localhost
11/16/06 18:17:27
Apache/2.0.59 (Win32)
=============================

And error log of apache says:

[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Can't locate
XML/SAX.pm in @INC (@INC contains: c:/usr/koha226/intranet/modules
C:/usr/site/lib C:/usr/lib .) at
c:/usr/koha226/intranet/modules/MARC/File/SAX.pm line 13.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/MARC/File/SAX.pm line 13.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at c:/usr/koha226/intranet/modules/MARC/File/XML.pm
line 8.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/MARC/File/XML.pm line 8.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at c:/usr/koha226/intranet/modules/C4/Biblio.pm line
1047.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/C4/Biblio.pm line 1047.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at c:/usr/koha226/intranet/modules/C4/Search.pm line
28.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/C4/Search.pm line 28.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at c:/usr/koha226/intranet/modules/C4/Reserves2.pm
line 29.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/C4/Reserves2.pm line 29.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at
c:/usr/koha226/intranet/modules/C4/Circulation/Circ2.pm line 35.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/C4/Circulation/Circ2.pm line 35.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at c:/usr/koha226/intranet/modules/C4/Auth.pm line
30.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
c:/usr/koha226/intranet/modules/C4/Auth.pm line 30.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] Compilation
failed in require at C:/usr/koha226/opac/cgi-bin/koha/opac-main.pl
line 7.
[Thu Nov 16 18:17:27 2006] [error] [client 127.0.0.1] BEGIN
failed--compilation aborted at
C:/usr/koha226/opac/cgi-bin/koha/opac-main.pl line 7.
===============================================

Anyone spare some time for this issue

Ata



On 11/16/06, Evans, M (Mark) <Mark.Evans at intervet.com> wrote:
> I too have had this problem... Please could someone help...
> Cheers,
>
>
> -----Original Message-----
> From: koha-bounces at lists.katipo.co.nz
> [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Ata ur Rehman
> Sent: 16 November 2006 10:25
> To: Rob Weir
> Cc: Koha Mailing List
> Subject: Re: [Koha] Error 500
>
> Dear All
>
> I have installed new version 2.2.6 of koha.  But the error is same:
>
> Server error!
> The server encountered an internal error and was unable to complete your
> request.
>
> Error message:
> Premature end of script headers: opac-main.pl
>
> If you think this is a server error, please contact the webmaster.
>
> Error 500
> opac
> 11/16/06 15:25:20
> Apache/2.0.59 (Win32)
>
> Any suggestion?
>
>
>
>
> On 11/16/06, Ata ur Rehman <ata.rehman at gmail.com> wrote:
> > Dear Rob / All
> >
> > please review the following information:
> >
> > =========================PATH=====================
> > C:\>path
> > PATH=C:\MYSQL\BIN\;C:\usr\bin\;c:\program
> > files\imagemagick-6.2.6-q8;C:\WINDOWS\system32;
> > C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> > Files\QuickTime\QTSystem\;
> > C:\jdk\bin;C:\jdk\lib;D:\paklag\mysql-4.0.18\bin;C:\Program
> > Files\Zebra\bin;C:\Program Files\Yaz\bin;
> > D:\Greenstone271\bin\script;D:\Greenstone271\bin\windows\perl\bin;C:\M
> > ySQL\Bin;C:\MYSQL\BIN\;C:\usr\bin\;
> > c:\program
> > files\imagemagick-6.2.6-q8;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\S
> > ystem32\Wbem; C:\Program
> > Files\QuickTime\QTSystem\;C:\jdk\bin;C:\jdk\lib;D:\paklag\mysql-4.0.18
> > \bin; C:\Program Files\Zebra\bin;C:\Program
> > Files\Yaz\bin;D:\Greenstone271\bin\script;
> > D:\Greenstone271\bin\windows\perl\bin;C:\MySQL\Bin;
> > ===========================================================
> >
> >
> > =========================PERL MODULES=====================
> > ppm> query *
> >
> > Querying target 1 (ActiveP
> >   1. ActivePerl-Config
> >   2. ActivePerl-DocTools
> >   3. ActiveState-Utils
> >   4. Archive-Tar
> >   5. Archive-Zip
> >   6. Compress-Zlib
> >   7. Data-Dump
> >   8. DBI
> >   9. Digest-HMAC
> >  10. Digest-MD2
> >  11. Digest-MD4
> >  12. Digest-SHA1
> >  13. File-CounterFile
> >  14. Font-AFM
> >  15. HTML-Parser
> >  16. HTML-Tagset
> >  17. HTML-Tree
> >  18. IO-String
> >  19. IO-Zlib
> >  20. libwin32
> >  21. libwww-perl
> >  22. MARC-Record
> >  23. MD5
> >  24. MIME-Base64-Scripts
> >  25. PDF-API2
> >  26. SOAP-Lite
> >  27. Term-ReadLine-Perl
> >  28. TermReadKey
> >  29. Test-Simple
> >  30. Text-Autoformat
> >  31. Text-Reform
> >  32. Tk
> >  33. Unicode-String
> >  34. URI
> >  35. Win32-AuthenticateU~
> >  36. XML-Parser
> >  37. XML-Simple
> > ppm>
> > ================================================
> >
> >
> > Thanks
> >
> > Regards,
> >
> > Ata
> >
> > On 11/15/06, Rob Weir <robweir at alum.drexel.edu> wrote:
> > > Hi Ata,
> > >  Your install proceedure looks good. The versions you used and the
> > > install locations you used are fine. To troubleshoot, could you
> > > please open a command prompt window (Start -> Programs ->
> > > Accessories  -> Command Prompt).
> > >
> > >    First type "path" and hit enter and verify that C:\usr\bin\ is on
> your path.
> > >
> > >  On my system, I get:
> > >  C:\>path
> > >
> > > PATH=C:\MYSQL\BIN;C:\usr\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
> > > OWS\System32\Wbem
> > >
> > >  Then type "ppm" and hit enter to start the perl package manager.
> > > Next type "query *" and hit enter and you should get a list of all
> > > the perl modules that are installed on your system. Verify that the
> > > following modules are installed:
> > >  Convert-ASN1
> > >  DateManip
> > >  DBD-Mysql
> > >  DBI
> > >  Digest-MD5
> > >  File-Spec
> > >  HTML-Template
> > >  Mail-Sendmail
> > >  MARC-Record
> > >  PDF_API2
> > >  perl-ldap
> > >  Time-HiRes
> > >
> > > That is the list of modules that I have for V2.2.4. An install
> > > package for V2.2.6 is now available, and it requires some additional
> modules:
> > >  MARC-XML
> > >  Class-Accessor
> > >  Date-Calc
> > >  Date-Random
> > >  GD-Barcode
> > >  PDF-Reuse-Barcode
> > >
> > > I think I would troubleshoot v2.2.4 first, but then I suggest you go
>
> > > ahead and install V2.2.6 so you have the newer version.
> > >
> > > Let me know what you find out, or if you have any questions.
> > >
> > > Rob
> > >
> > >  > -------Original Message-------
> > >  > From: Ata ur Rehman
> > >  > Subject: Re: [Koha] Error 500
> > >  > Sent: 15 Nov '06 04:09
> > >  >
> > >  > Dear Robert Lyon / All
> > >  >
> > >  > Thanks for prompt response.
> > >  > I adapted the following method to install Koha  >  > 1-
> > > Installation of Active Perl 5.8.8 Build 817 at C:\usr  > 2-
> > > Installation of Apache 2.0.58 at C:\Program Files\Apache
> > > Group\Apache  > 3- Installation of MySQL 4.0.18 at C:\MySQL  > 4-
> > > Installation of Koha2.2.4-W32-R0 at default location  >  > Note:
> > > During installation, there is no error.
> > >  >
> > >  > Is this right method to install?
> > >  >
> > >  >
> > >  > Ata
> > >  >
> > >  > On 11/15/06, Robert Lyon wrote:
> > >  > > The error indicates that you do not have the Perl module
> > > HTML::Template  > > installed  > >  > > This is a common module that
>
> > > (I guess) the setup expects you to have  > > already installed  > >
> > > You will need to install HTML::Template for the koha system to work
> > > as  > > it is the page renderer  > >  > > Bob  > >  > >  > >  > >
> > > Ata ur Rehman wrote:
> > >  > > > Dear All
> > >  > > > Assalam O Alaikum
> > >  > > >
> > >  > > > I am new user of Koha. I just installed Koha on windows XP.
> > > When i  > > > open the browser with localhost in address bar, it
> > > redirects to  > > > http://localhost/cgi-bin/koha/opac-main.pl and I
>
> > > find the error 500.
> > >  > > > I looked into the error logs of apache. That is:
> > >  > > >
> > >  > > > [Tue Nov 14 17:43:39 2006] [error] [client 127.0.0.1]
> > > Premature end of  > > > script headers: opac-main.pl  > > > [Tue Nov
>
> > > 14 17:43:39 2006] [error] [client 127.0.0.1] Can't locate  > > >
> > > HTML/Template.pm in @INC (@INC contains:
> > >  > > > c:/usr/koha224/intranet/modules C:/usr/lib C:/usr/site/lib .)
>
> > > at  > > > C:/usr/koha224/opac/cgi-bin/koha/opac-main.pl line 5.
> > >  > > > [Tue Nov 14 17:43:39 2006] [error] [client 127.0.0.1] BEGIN
> > > > > > failed--compilation aborted at  > > >
> > > C:/usr/koha224/opac/cgi-bin/koha/opac-main.pl line 5.
> > >  > > >
> > >  > > > Please suggest some solution. Also some beginers tutorial if
> > > possible  > > >  > > > Regards,  > > >  > > > Ata ur Rehman  > > >
> > > _______________________________________________
> > >  > > > Koha mailing list
> > >  > > > Koha at lists.katipo.co.nz
> > >  > > > http://lists.katipo.co.nz/mailman/listinfo/koha
> > >  > >
> > >  > >
> > >  > > --
> > >  > > Robert Lyon
> > >  > > Katipo Communications
> > >  > >
> > >  > _______________________________________________
> > >  > Koha mailing list
> > >  > Koha at lists.katipo.co.nz
> > >  > http://lists.katipo.co.nz/mailman/listinfo/koha
> > >  >
> > >
> >
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> --------------------------------------
> This message, including attachments, is confidential and may be privileged.
> If you are not an intended recipient, please notify the sender then delete
> and destroy the original message and all copies. You should not copy, forward
> and/or disclose this message, in whole or in part, without permission of
> the sender.
> --------------------------------------


More information about the Koha mailing list