All,
Looked over my notes again and I figured out how (after making backups)
to update my install to rel3. The sql-ledger.conf file size had changed
so I copied it from the .default. The first time I tried to log in
failed but the apache log noted the missing Simple.pm so I installed
that (using FreeBSD ports system.) Another try failed and the logs
showed this:
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at sql-ledger.conf line 29.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at sql-ledger.conf line 30.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Number found
where operator expected at sql-ledger.conf line 48, near
"e0970fd38c08f552be650b734c1258ba9ea5dc7c
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2]
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] 1"
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] \t(Missing
semicolon on previous line?)
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at SL/Form.pm line 120.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at SL/Form.pm line 126.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at SL/Form.pm line 789.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Use of bare <<
to mean <<"" is deprecated at SL/Form.pm line 790.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] syntax error
at SL/Form.pm line 131, near "HEAD
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] sub db_init "
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] (Might be a
runaway multi-line << string starting on line 126)
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Can't use
global @_ in "my" at SL/Form.pm line 132, near "= @_"
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] syntax error
at SL/Form.pm line 793, near ") {"
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] BEGIN not safe
after errors--compilation aborted at SL/Form.pm line 801.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Compilation
failed in require at bin/mozilla/login.pl line 17.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] BEGIN
failed--compilation aborted at bin/mozilla/login.pl line 17.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Compilation
failed in require at /usr/local/ledger123/login.pl line 120.
[Sun Sep 09 10:42:09 2012] [error] [client 192.168.238.2] Premature end
of script headers: login.pl
I absolutely can not decipher this one. "My" version of
sql-ledger.conf(.default) looks like this:
use vars qw($userspath $spool $memberfile $templates $sendmail $images
$language $sid $latex $gzip $dvipdf);
# path to user configuration files
$userspath = "users";
# spool directory for batch printing
$spool = "spool";
# templates base directory
$templates = "templates";
# member file
$memberfile = "users/members";
# location of sendmail
$sendmail = "| /usr/sbin/sendmail -t";
# location for images
$images = "images";
# set language for login and admin
$language = "";
# if you have latex installed set to 1
#$latex = 1;
# program to use for file compression
#$gzip = "gzip -S .gz";
<<<<<<< HEAD
# use dvipdf instead of pdflatex for PDF
#$dvipdf = 1;
# if the server can't find gzip or latex add the path
#$ENV{PATH} .= ":/usr/local/bin";
=======
# use dvipdf instead of pdflatex for PDF
#$dvipdf = 1;
# if the server can't find gzip or latex add the path
#$ENV{PATH} .= ":/usr/local/bin";
# Folders with read and write access
@accessfolders = qw|templates css|;
>>>>>>> e0970fd38c08f552be650b734c1258ba9ea5dc7c
1;
The re-direction arrows and "=======" string caught my eye but I know
nothing about perl. Was my git update corrupted?
Thanks for pointers,
r
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger