Mail Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ApacheGallery] perl upgrade



Does anyone remember how to fix the following problem?
 It isn't finding Gallery.pm in the right place.  It
is located in /us
r/local/lib/perl5/site_perl/5.8.3/Apache/Gallery.pm,
which is in the @INC but Apache is not seeing the
5.8.3 branch.  I've ru
n into this before but forgot how to fix it.

Thanks in advance - Mark

error_log contains:
[Wed Apr 28 11:34:15 2004] [error] Can't locate
Apache/Gallery.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.2/i686-lin
ux-thread-multi /usr/local/lib/perl5/5.8.2
/usr/local/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
/usr/local/lib/perl5/
site_perl/5.8.2 /usr/local/lib/perl5/site_perl .
/usr/local/home-httpd/ /usr/local/home-httpd/lib/perl)
at (eval 8) line 3.
[Wed Apr 28 11:34:15 2004] [error] Undefined
subroutine &Apache::Gallery::handler called.

perl -V contains:
Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Feb 29 2004 18:49:35
  @INC:
    /usr/local/lib/perl5/5.8.3/i686-linux-thread-multi
    /usr/local/lib/perl5/5.8.3
   
/usr/local/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.8.3
   
/usr/local/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.8.2
    /usr/local/lib/perl5/site_perl

httpd.conf contains:
<VirtualHost *:8005>
    ServerAdmin [email protected]
    DocumentRoot /usr/local/home-httpd/htdocs/photos
    ServerName *:8005
    ErrorLog logs/photos-error_log
    CustomLog logs/photos-access_log combined
        PerlSetVar   GalleryTemplateDir
'/usr/local/home-httpd/gallery/templates'
#       PerlSetVar   GalleryCacheDir
'/var/tmp/home-gallery'
        PerlSetVar   GalleryInfo 'Picture Taken =>
DateTimeOriginal'
        PerlSetVar   GallerySizes '640 800 1024 1600'
        PerlSetVar   GalleryThumbnailSize '100x75'
        PerlSetVar   GallerySlideshowIntervals '3 5 10
15 30'
        SetHandler        perl-script
        PerlHandler       Apache::Gallery
</VirtualHost>




	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers