Tags:
create new tag
, view all tags

Question

I have followed everything I know to follow. I have tried with and without LocalSite.cfg. Neither way, does twiki/bin/configure ever run.

I have also copied all Twiki perl libraries into the perl library on the system. This did not help either.

What's happening every time I attempt to access any TWiki page is:

BEGIN failed--compilation aborted at /etc/httpd/twiki/bin/view line 30:

That line 30 looks like: use TWiki::UI::View;

But I just do not understand why that line would fail with the entire TWiki.pm is in the perl lib directory? And these perms are all 755.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Mandrake Linux
Web server: Apache 2.2.3
Perl version: 5.8.6
Client OS: N/A
Web Browser: N/A
Categories: Installation

-- Alexandra1Stehman - 13 Jul 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Additional log information:

%> Perl error when reading LocalSite.cfg: %> Please inform the site admin. %> BEGIN failed--compilation aborted at /etc/httpd/twiki/lib/TWiki.pm line 454. %> Compilation failed in require at /etc/httpd/twiki/lib/TWiki/UI/View.pm line 39. %> BEGIN failed--compilation aborted at /etc/httpd/twiki/lib/TWiki/UI/View.pm line 39. %> Compilation failed in require at /etc/httpd/twiki/bin/view line 30. %> BEGIN failed--compilation aborted at /etc/httpd/twiki/bin/view line 30. %> Premature end of script headers: view

-- Alexandra1Stehman - 13 Jul 2007

For some reason, in the generated twiki httpd conf file, even though I specified my IP in the "allow from" clause, it was causing this error. Once I removed the "deny from all" clause, it started to work.

Any ideas?

SetHandler cgi-script Order Deny,Allow Deny from all Allow from 127.0.0.1 Require user JohnDoe Satisfy Any

-- Alexandra1Stehman - 13 Jul 2007

 
Change status to:
Topic revision: r1 - 2007-07-13 - Alexandra1Stehman
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.