Menu

#3819 missing m1_pluginname

Slash 2.5/3.0
open
5
2006-11-14
2006-11-14
shane
No

using bare, fresh install of _133 (tested HEAD too)

when install-slashsite is running:

"ow you can continue with step 6 of the INSTALL file directions.

Tue Nov 14 13:26:10 2006 runtask new_headfoot.pl begin
Tue Nov 14 13:26:10 2006 runtask new_headfoot.pl end: (ran in
0.40s)
Tue Nov 14 13:26:11 2006 runtask freshenup.pl begin
Tue Nov 14 13:26:12 2006 runtask Updating 00/01/25/1430236
Tue Nov 14 13:26:14 2006 runtask article.pl virtual_user=slash
ssi=yes sid='00/01/25/1430236' cchp='fk6M4ky9CP'
section='mainpage' bytes=9417
Tue Nov 14 13:26:14 2006 runtask updated 1 mainpage:
00/01/25/1430236 (You've Installed Slash!) stderr: 'Use of
uninitialized value in concatenation (.) or string at /Library/Perl/5.8.6/
darwin-thread-multi-2level/Slash.pm line 69. Error:Slash:/Library/
Perl/5.8.6/darwin-thread-multi-2level/Slash.pm:69:Can't locate
Slash/.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin
/System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/
Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /
Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-
thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/
Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /
System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-thread-
multi-2level /Library/Perl/5.8.1 .) at (eval 93) line 3. Which was called
by:Slash:/Library/Perl/5.8.6/darwin-thread-multi-2level/Slash.pm:713
'
Tue Nov 14 13:26:14 2006 runtask Updating 00/01/25/1436215
Tue Nov 14 13:26:16 2006 runtask article.pl virtual_user=slash
ssi=yes sid='00/01/25/1436215' cchp='06PY9p7X5a'
section='mainpage' bytes=6603

it's failing here:

my $mod_reader = getObject("Slash::$constants->
{m1_pluginname}", { db_type => 'reader' });

because that constant isn't in the default schema hence it's not in the
new site's DB. it's in plugin Slash::Moderation though:

REPLACE INTO vars (name, value, description) VALUES
('m1_pluginname', 'Moderation', 'Which moderation plugin to use');

Discussion


Log in to post a comment.