It's hot, I'm cranky, and I can't think. AdminIndex.pl...
Posted by: Dandello Posted on: Apr 27th, 2018 at 12:05am
It's hot, I'm cranky, and I can't think. AdminIndex.pl...
Posted by: Derek Bullock Posted on: Apr 26th, 2018 at 10:57pm
Admin Center here is AdminIndex.pl
Posted by: Dandello Posted on: Apr 26th, 2018 at 12:51pm
Well, Compress::Bzip2 probably isn't on your system - but you should be looking for IO::Compress::Bzip2 - not the same folder/file.
And you should have AdminCenter.pl installed otherwise you can't get into your Admin Center. :
Posted by: Derek Bullock Posted on: Apr 26th, 2018 at 8:22am
Changing Admin.lng caused this to occur.
Also I cannot find AdminCentre.pl on my install.
I know this module is not required but it has always annoyed me that YaBB shows it to not exist when it does.
Posted by: Dandello Posted on: Apr 25th, 2018 at 1:27pm
I would believe the one in the Admin Center - YaBB itself is not finding it where it thinks it should be. That suggests a difference between the @INC list in the external ModuleChecker and the @INC list in AdminCenter.pl. (Although how this would come about is a mystery to me unless your Path to Perl is not the same on those two files.)
(You'll also want to make a change in Admin.lng - find
Code
'Compress::Bzip2'
and make it
Code
'IO::Compress::Bzip2'
so the ModuleChecker can find the correct bit of text.)
BTW, you don't actually need this module unless no other backup method works. (I use Archive::Zip here.)
Posted by: Derek Bullock Posted on: Apr 25th, 2018 at 4:50am
I have found time to make the two changes above however when I look in the Admin I still get the same error as above.
Posted by: Derek Bullock Posted on: Apr 24th, 2018 at 8:36am
Dandello
Will this fix this issue on my 2.5AE forum.
Thanks
Posted by: Dandello Posted on: Jul 28th, 2015 at 2:18pm
Great catch. Thanks.
Posted by: pyragony54 Posted on: Jul 27th, 2015 at 4:35am
After migrating to a new server, the Compress::Bzip2 module was apparently no longer exists. An installation has not been possible. The server refused to accept the module. A search on the server, not shown, however, that the module is available, but where it should be. Newer versions of Perl install the module to a different directory (IO::Compress::Bzip2).
NOTE from CPAN
Quote:
Compress::Bzip2 is just a simple bzip2 binding, comparable to the old Compress::Zlib library. It is not well integrated into PerlIO, use the preferred IO::Compress::Bzip2 instead.
So you should first determine whether the module is present on the server.
Backup.pm
search
Code
my $label_id;
foreach my $module (qw(Compress::Zlib Compress::Bzip2)) {
change
Code
my $label_id;
foreach my $module (qw(Compress::Zlib IO::Compress::Bzip2)) {
ModuleChecker.pm
search
Code
Compress::Bzip2
change
Code
IO::Compress::Bzip2
After the Admin Center to check whether it is green. If so, everything is in perfect order.