Mail Index


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

Re: [ApacheGallery] empty web page after installing A::G



On Thu, Aug 19, 2004 at 05:53:18PM +0200, Andreas Plesner Jacobsen wrote:
> On Thu, Aug 19, 2004 at 05:27:14PM +0200, Frank Joerdens wrote:
> > 
> > This is using the latest snapshot from
> > http://svn.apachegallery.dk/snapshots/ - with the latest release 0.8 I
> > get the same behaviour, only the line numbers are different.
> 
> Which Apache and mod_perl version?
> 
> My guess is that this is running on a severely broken mod_perl, probably
> an Apache2 version to boot - how did you install mod_perl?

I've updated Perl to 5.8.5, and mod_perl to 1.29 (via the apxs
mechanism, with the 1.3.26 Apache that came with my SuSE 8.1 system). The
error I get now in my browser window is different: 500 internal server error.

Apache starts up with no errors. When I call up the web page, the log
for this particular virtual host says:

-- snip --
[Tue Aug 24 16:42:25 2004] Gallery.pm: Useless use of private variable in void context at /usr/lib/perl5/site_perl/5.8.5/Apache/Gallery.pm line 1368.
[Tue Aug 24 16:42:25 2004] null: perl_tie_hash: Can't locate object method "TIEHASH" via package "Apache::Table" at /usr/lib/perl5/site_perl/5.8.5/Apache/Gallery.pm line 68.
[Tue Aug 24 16:42:25 2004] [error] Can't call method "STORE" on an undefined value at /usr/lib/perl5/site_perl/5.8.5/Apache/Gallery.pm line 68.
-- snap --

If I run make test with A::G 0.8, I get:

-- snip --
lolek:/srv/www/htdocs/frank/Apache-Gallery-0.8 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_use...........Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/001_use...........ok
t/002_graphlibs.....Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/002_graphlibs.....ok
t/003_comment.......Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/003_comment.......ok
t/004_cache_dir.....Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/004_cache_dir.....ok
t/005_imageinfo.....Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
Use of uninitialized value in hash element at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 975.
t/005_imageinfo.....ok
t/006_thumbnails....Useless use of private variable in void context at /srv/www/htdocs/frank/Apache-Gallery-0.8/blib/lib/Apache/Gallery.pm line 1368.
t/006_thumbnails....ok
t/007_pod...........ok
All tests successful.
Files=7, Tests=21,  1 wallclock secs ( 1.00 cusr +  0.08 csys =  1.08 CPU)
-- snap --

There were a couple of threads on August 10/11 about the private
variable and about the "TIEHASH" error on January 2, but no conclusive
answer ...

I looked at the code too, but couldn't really make head or tail of it.
The error on line 1368 apparently affects a subroutine to resize
pictures (sub resizepicture). My Perl is negligible though (I know some
PHP).

Any ideas?

Regards,

Frank
_______________________________________________
users mailing list
[email protected]
http://ufo.hestdesign.com/cgi-bin/mailman/listinfo/agusers