|
From: shane <sh...@lo...> - 2006-08-02 13:20:21
|
On Aug 2, 2006, at 4:12 AM, Josh Stedman wrote:
> [...]
> On the "New" link in backslash, which links to admin.pl?op=edit,
> I'm getting a 500 error. The errors from the error log appear to
> be in the slash MySQL module:
>
> Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/
> site_perl/5.8.6/i386-linux-thread-multi/Slash/DB/MySQL.pm line 9900.
> Use of uninitialized value in hash element at /usr/lib/perl5/
> site_perl/5.8.6/i386-linux-thread-multi/Slash/DB/MySQL.pm line 9915.
> Use of uninitialized value in hash element at /usr/lib/perl5/
> site_perl/5.8.6/i386-linux-thread-multi/Slash/DB/MySQL.pm line 9928.
> [Wed Aug 2 07:52:50 2006] [error] Can't call method
> "getFilesForStory" on an undefined value at $SLASH_PREFIX/$SITENAME/
> htdocs/admin.pl line 1442.\n
> [...]
You need to install the Slash::Blob plugin - or verify that it is
already installed.
perl -MSlash::Test=slash -le 'print Dumper $constants->{plugin}'
from the command line will give you a list of what plugins are
installed on your site (if your site's virtual user is different from
'slash' then replace it in that command).
If you grep admin.pl for 'getFilesForStory':
if ($constants->{plugin}{Blob}) {
my $blobdb = getObject("Slash::Blob");
my $files = $blobdb->getFilesForStory($sid);
$attached_files = slashDisplay('attached_files',
{ files => $files }, { Return => 1});
}
Shane
|