[Koha] Error 500

Ata ur Rehman ata.rehman at gmail.com
Thu Nov 16 23:24:46 NZDT 2006


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:\MySQL\Bin;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:\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:\WINDOWS\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
> >  >
> >
>


More information about the Koha mailing list