Tags:
create new tag
, view all tags

Question

I've tried to upgrade Beijing into Cairo with UpgradeTwiki and test the result before finally replacing old install. I've set everything up and I get in my httpd error log:

null: Use of uninitialized value in null operation at /usr/local/httpd/twiki-cairo/bin/view line 34.

[Wed Dec 29 11:35:23 2004] null: Use of uninitialized value in subroutine entry at /usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache.pm line 190.

[Wed Dec 29 11:38:15 2004] [error] Can't locate TWiki/UI/Oops.pm in @INC (@INC contains: . /var/www/perllib /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . /usr/local/httpd/ /usr/local/httpd/lib/perl) at /usr/local/httpd/twiki-cairo/bin/oops line 32.

BEGIN failed--compilation aborted at /usr/local/httpd/twiki-cairo/bin/oops line 32.

Only testenv works, but without errors. It doesn't matter whether I use CGI or mod_perl.

I'm puzzled, because Beijing with the same setup works nicely. I didn't even had to modify startup script for mod_perl. I've double checked whether I changed every relevant setting to new path.

Thanks for any suggestion.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE8.1
Web server: Apache/1.3.23
Perl version: 5.6.1
Client OS: Any
Web Browser: Any
Categories: Deployment

-- JurajVariny - 29 Dec 2004

Answer

I've retried this, but this time replaced old installation. Got the same behavior.

-- JurajVariny - 29 Dec 2004

Please attach your testenv HTML output as per SupportGuidelines - looks like you are using mod_perl in this case given mention of Apache.pm, and testenv will confirm this (check where it says if mod_perl is actually in use).

You may need to set an absolute pathname for the $twikiLibPath variable in setlib.cfg (see SVNget:bin/setlib.cfg) so that TWiki can find files in @INC.

-- RichardDonkin - 01 Jan 2005

I excuse myself I didn't attached testenv.html in first place. When I tried to restart apache, then everything worked for a while, but then stopped (I wasn't doing anything woth configuration)... The errors are the same:

[Mon Jan 3 15:31:09 2005] [error] Can't locate TWiki/UI/Edit.pm in @INC (@INC contains: . /var/www/perllib /usr/lib/perl5/5.6.1/i586-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i586-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . /usr/local/httpd/ /usr/local/httpd/lib/perl) at /usr/local/httpd/twiki/bin/edit line 40.\nBEGIN failed--compilation aborted at /usr/local/httpd/twiki/bin/edit line 40.\n

-- JurajVariny - 3 Jan 2005

As I suspected, it was largely my lameness... I've set up $mainWebname = 'Users' , without renaming data/Main directory.

And insanely set up permissions....

-- JurajVariny - 13 Jan 2005

 
Topic attachments
I Attachment Action Size Date Who Comment
HTMLhtml testenv.html manage 11.9 K 2005-01-03 - 14:41 JurajVariny  
Topic revision: r6 - 2005-03-02 - PeterThoeny
 
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.