|
From: Nathan V. <na...@th...> - 2001-03-21 00:31:44
|
On Mon, 19 Mar 2001, Chris Nandor wrote:
> At 10:20 -0900 2001.03.19, Nathan Vonnahme wrote:
> >Hrm, perhaps the problem could be that I am trying to go from 1.1.4 to
> >1.1.6? I don't see why that would matter but I will try going to 1.1.5
> >next.
>
> No, that won't matter. I don't know what the problem is, is there any
> debugging you can do?
I wrote a simple script that calls the methods that are supposedly "not
found" according to the error log, and it finds them (though it has other
problems because it hasn't set the user up first)
Basically my script is
use Slash::DB;
my $d = new Slash::DB("virtualuser");
$d->sqlConnect();
$d->createAccessLog();
The first call works fine and the second complains "DBD::mysql::db do
failed: Column 'uid' cannot be null ... called
by:Slash::DB::MySQL:/usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/DB/MySQL.pm:458:INSERT
INTO accesslog..."
But my site's error log keeps complaining
[Wed Mar 21 00:31:06 2001] [error] Can't locate object method
"getTemplateByName" via package "Slash::DB" at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Display.pm line 192.
[Wed Mar 21 00:31:06 2001] [error] Can't locate object method
"createAccessLog" via package "Slash::DB" at
/usr/lib/perl5/site_perl/5.6.0/i386-linux/Slash/Apache/Log.pm line 29.
Hrm, that's odd, the other day it couldn't locate sqlConnect instead of
getTemplateByName...
It seems to me that the DB module is having trouble inheriting the right
stuff.
I think all my perl modules are proper, but I will try removing all the
Slash modules and installing them again. Things were kind of weird with
the last installation.
-n
|