I have a brand new install of the latest stuff as of
12/10/04 and the Admin page for "Sections" section
appears to be broken: the page shows no Sections, just
an "add Section" button, and the appache
<site>_error_log file contains this line:
[Tue Dec 14 02:20:14 2004]
[error] /sections.pl:Apache::ROOT...::sections_2epl:/usr/
local/slash/site/sitename/htdocs/sections.pl:142:getDesc
riptions - no descref for codetype 'sections-all'
This is in reference to the following code in sections.pl
(from the Sections plugin):
sub listSections {
my($user) = @_;
my $slashdb = getCurrentDB();
if ($user->{section}) {
editSection($user->{section});
return;
}
# this is the line that is failing...
my $section_titles = $slashdb->getDescriptions
('sections-all');
...
}
It looks like getDescriptions() is supposed to be able to
know what 'sections-all' is, but I (and the code) can't
find any reference to that symbol anywhere except in
sections.pl.
I know that Sections & Topics were changed a lot this
summer, so maybe I'm expecting something to work that
shouldn't (or doesn't need to). Is this a bug?
Thanks
Mark
Logged In: YES
user_id=3660
sections.pl not working is known, and there are no immediate plans to fix
it. It is a bug of sorts, but more like an incomplete feature: we never
ported it to work with the new system.