#5 index.cgi error

open
nobody
None
5
2007-12-16
2007-12-16
Anonymous
No

I'm getting this error:

Failed to load UI "WebApp": Can't locate HTML/Template.pm in @INC (@INC contains: src/modules /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at src/modules/Chirpy/UI/WebApp.pm line 292.
BEGIN failed--compilation aborted at src/modules/Chirpy/UI/WebApp.pm line 292.
Compilation failed in require at (eval 8) line 2.
BEGIN failed--compilation aborted at (eval 8) line 2.
at /home/kardus/public_html/quote/index.cgi line 58

setup.pl ran fine, but when i go to index.cgi it gives this.

Discussion

  • Tim De Pauw

    Tim De Pauw - 2007-12-19

    Logged In: YES
    user_id=642776
    Originator: NO

    HTML::Template is not installed. You have two options:

    1. Ask the server administrator to install it.

    2. Download it from http://search.cpan.org/dist/HTML-Template/, create a directory "HTML" under src/modules and place Template.pm from the download there. This won't work for every Perl module, but in this case, it should be fine.

    Be sure to check Chirpy!'s installation manual to see if you need any additional modules.

     
  • Nobody/Anonymous

    Logged In: NO

    Got the modules installed, and everything seems to be working, except that I don't think the startpage is appearing as it should: http://helldive.org/quote/index.cgi

    What could be the issue?

     
  • Nobody/Anonymous

    Logged In: NO

    I have not done anything to the res folder, the path in my .ini is correct, file permissions are correct. Is there any other problem that you could think of as to why the files in that dir aren't loading?

     
  • Tim De Pauw

    Tim De Pauw - 2007-12-27

    Logged In: YES
    user_id=642776
    Originator: NO

    Did you change anything to the .htaccess file? If not, I assume the server is trying to interpret the static files as script files. Maybe you have /quote set up as a script alias? In any event, the server's logs should provide you with useful information.

     
  • Nobody/Anonymous

    Logged In: NO

    Yes, I believe the whole /quote directory is set up as the script alias. What should the script alias be?

     
  • Tim De Pauw

    Tim De Pauw - 2007-12-27

    Logged In: YES
    user_id=642776
    Originator: NO

    You don't really need a script alias. Using the ExecCGI option should suffice. See Apache's documentation. Alternatively, Chirpy! does allow you to separate the code part from the other resources. The installation manual covers that. However, this method is merely for strict configurations, where all scripts are required to be under /cgi-bin. Since you were able to create custom script alias, you should also be able to just set the ExecCGI option on /quote.

     
  • Michael Risby

    Michael Risby - 2008-01-12

    Logged In: YES
    user_id=1806999
    Originator: NO

    You need to install the template perl module.

    From command line; carp HTML::Template

    That should do the job. I had the same issue and it works now.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks