Subject: | Comment don't work with Bryar >= 2.3 |
The comment function worked with every version <= 2.3. But as I upgraded to version 2.6, the comments didn't work anymore (even existing comments can't be displayed).
The error message in error.log when I press on the "X Comments"-link is:
[Tue Mar 09 17:41:15 2004] [error] [client 127.0.0.1] Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.2/Bryar/Frontend/Base.pm line 168., referer: http://localhost/bryar/bryar.cgi/id_1?comments=1
[Tue Mar 09 17:41:17 2004] [error] [client 127.0.0.1] Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.2/Bryar/Frontend/Base.pm line 168., referer: http://localhost/bryar/bryar.cgi/id_1
My system information:
thom@zaphod thom $ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
Platform:
osname=linux, osvers=2.6.0-zaphod, archname=i686-linux
uname='linux zaphod 2.6.0-zaphod #1 fri dec 26 21:57:48 cet 2003 i686 amd athlon(tm) xp 1800+ authenticamd gnulinux '
config_args='-des -Darchname=i686-linux -Dcccdlflags=-fPIC -Dccdlflags=-rdynamic -Dcc=gcc -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dlocincpth= -Doptimize=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mfpmath=sse -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Dscriptdir=/usr/bin -Dman3ext=3pm -Dcf_by=Gentoo -Ud_csh -Di_gdbm -Di_db -Di_ndbm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mfpmath=sse',
cppflags='-DPERL5 -fno-strict-aliasing'
ccversion='', gccversion='3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lpthread -lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Feb 6 2004 22:46:50
@INC:
/etc/perl
/usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.2/i686-linux
/usr/lib/perl5/5.8.2
/usr/local/lib/site_perl
.
HTH,
Thomas