Re: Broken again :(

Johan Pouwelse (pouwelse nospam at pds.twi.tudelft.nl)
Wed, 8 Dec 1999 09:51:31 +0100 (MET)

> All the edit stuff on CDindex is broken ATM :(
Several perl stuff returns errors/warmings.

When running the 0.3.0 CDIndex server on my machine the httpd.error_log is
frequently listing warnings and errors. The most 'popular' error is the
missing PrintSideBar(). This error occurs only infrequently, only about 1
in 20 runs. This error causes the same behaviour as the mentioned problem
with the edit stuff, blank screen with red sidebar.

Can anybody see the problem? I'm lost.

httd.error_log:
[Sat Oct 16 18:12:11 1999] [error] Undefined subroutine
&Apache::ROOT::cgi_2dbin::cdi::stats_
2epl::PrintSideBar called at /usr/local/httpd/cgi-bin/cdi/stats.pl line
95.
[Sat Oct 16 18:13:17 1999] [error] Undefined subroutine
&Apache::ROOT::cgi_2dbin::cdi::search
_5fart_2epl::PrintSideBar called at
/usr/local/httpd/cgi-bin/cdi/search_art.pl line 66.

Other errors:

Variable "$sth" will not stay shared at
/usr/local/httpd/cgi-bin/cdi/stats.pl line 53.
Variable "$dbh" will not stay shared at
/usr/local/httpd/cgi-bin/cdi/stats.pl line 53.
Use of uninitialized value at /usr/local/httpd/cgi-bin/cdi/submit.pl line
83.
Variable "$dbh" will not stay shared at
/usr/local/httpd/cgi-bin/cdi/hget.pl line 44.
Variable "$o" will not stay shared at /usr/local/httpd/cgi-bin/cdi/hget.pl
line 73.

When adding lyrics/subtitling support to the server I've corrected a
few other errors/warmings.

Johan.