Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Compress::Bzip2 (Read 5983 times)
 
Paste Member Name in Quick Reply Box pyragony54
Language
***
Offline


I Love YaBB!

Posts: 852
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Mood: Dead
Zodiac sign: Scorpio
Compress::Bzip2
Jul 27th, 2015 at 4:35am
Mark & QuoteQuote  
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
Select All
    my $label_id;
     foreach my $module (qw(Compress::Zlib Compress::Bzip2)) { 



change

Code
Select All
    my $label_id;
     foreach my $module (qw(Compress::Zlib IO::Compress::Bzip2)) {  



ModuleChecker.pm

search

Code
Select All
Compress::Bzip2 



change

Code
Select All
IO::Compress::Bzip2 



After the Admin Center to check whether it is green. If so, everything is in perfect order.
  

if (idea == 'none') {use (manuals) && (Google | | search)}
if ($ answer == 0) {post (question)}
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #1 - Jul 28th, 2015 at 2:18pm
Mark & QuoteQuote  
Great catch. Thanks.  Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 49
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #3 - Apr 25th, 2018 at 4:50am
Mark & QuoteQuote  
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.

However if I run http://www.aussiecampovenforum.com/cgi-bin/yabb2/ModuleChecker.pl it says all are installed.

Any suggestions??
  

Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #4 - Apr 25th, 2018 at 1:27pm
Mark & QuoteQuote  
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
Select All
'Compress::Bzip2' 

and make it
Code
Select All
'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.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 49
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #5 - Apr 26th, 2018 at 8:22am
Mark & QuoteQuote  
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.
  

Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #6 - Apr 26th, 2018 at 12:51pm
Mark & QuoteQuote  
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.  :Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 49
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #7 - Apr 26th, 2018 at 10:57pm
Mark & QuoteQuote  
Admin Center here is AdminIndex.pl
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #8 - Apr 27th, 2018 at 12:05am
Mark & QuoteQuote  
It's hot, I'm cranky, and I can't think. AdminIndex.pl... Smiley
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 49
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Compress::Bzip2
Reply #9 - Apr 29th, 2018 at 4:35am
Mark & QuoteQuote  
Dandello wrote on Apr 27th, 2018 at 12:05am:
It's hot, I'm cranky, and I can't think. AdminIndex.pl... Smiley


  Grin Grin Grin Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Compress::Bzip2

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry