Page Index Toggle Pages: [1] 2  Reply Send Topic
Hot Topic (More than 10 Replies) Help - Old Forum (Read 1499 times)
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #18 - Today at 10:15am
Mark & QuoteQuote  
Really odd.  Removed them all and it still backs up everything else but the Attachments and Avatars.  Was all good before the upgrade.  Not the end of the world as I can go in and zip them up every now and then but I just hate it when things don’t work as they should.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #17 - Today at 5:09am
Mark & QuoteQuote  
I think the error has to do the data from the Attachments folder not being opened for reading properly for the zip function.

Try removing those folders from the backup list. (in cPanel you can zip those folders from the file manager.)

BTW, after the last upgrade here I can't use the yabb backup at all. It starts but never actually starts. No error but no status popup, no backup lock, nothing.
  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #16 - Today at 1:47am
Mark & QuoteQuote  
Always seems to be something.

Since the Host Upgrade.  I run the YaBB Backup from Admin Panel.  Everything goes well except for the last one - yabbfiles/Attachments and yabbfiles/avatars/UserAvatar

I am getting this error.

Code
Select All
 'zip -gqr /home/aussiec1/public_html/cgi-bin/yabb2/Backups/backup.1736818815.upld.zip /home/aussiec1/public_html/yabbfiles/Attachments' can't be used: Inappropriate ioctl for device. Error code: 0 



Any thoughts??
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #15 - Jan 12th, 2025 at 11:07am
Mark & QuoteQuote  
Many thanks.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #14 - Jan 12th, 2025 at 7:23am
Mark & QuoteQuote  
Just YaBB.pl and Admin.pl (and any mods that have the shebang, assuming there are any.)
  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #13 - Jan 12th, 2025 at 7:03am
Mark & QuoteQuote  
Dandello

Do any other files need that shebang changed?
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #12 - Jan 12th, 2025 at 7:00am
Mark & QuoteQuote  
General observation on server techs - they don't know anymore about Perl than they can get from about 5 minutes of web searching. If you're very very lucky, you might come across one who has actually worked with Perl and has a clue OR had another client with similar problems.

Just sayin'  Shocked
  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #11 - Jan 12th, 2025 at 6:35am
Mark & QuoteQuote  
UPDATE

On advice I changed the shebang to

Code
Select All
 #!/usr/bin/perl
 use cPanelUserConfig; 



I am now able to use the forum, post messages and upload images.

You would have thought that with a new server they should have picked that up straight away.   Smiley
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
Junior Member
**
Offline


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #10 - Jan 12th, 2025 at 1:35am
Mark & QuoteQuote  
Done.

Admin panel is now showing CGI installed.

I can now post to the forum however cannot post an image.  Getting the 500 error.

Any ideas?

I am also getting the 500 error at:

Code
Select All
 https://www.aussiecampovenforum.com/cgi-bin/yabb2/ModuleChecker.pl 



Any ideas on that??
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #9 - Jan 12th, 2025 at 1:18am
Mark & QuoteQuote  
Stick the line below the
Code (Perl)
Select All
$YaBBplver = 'YaBB 2.5 AE $Revision: 1.23 $'; 


line.
Code (Perl)
Select All
 use lib 'usr/lib/perl5'; 



In theory, this should get you CGI.pm and allow you to uncomment that diagnostic line that uses CGI::Carp.
  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #8 - Jan 12th, 2025 at 12:31am
Mark & QuoteQuote  
Wow, copied it into the Modules folder and now able to post messages again but I get the 500 error with images attached.

With your suggestion regarding change.  Here is the top of my YaBB.pl file.  Where exactly should it go and should I do it in any other files.

Code
Select All
 ### Version Info ###
 $YaBBversion = 'YaBB 2.5 AE';
 $YaBBplver = 'YaBB 2.5 AE $Revision: 1.23 $';

 if ($action eq 'detailedversion') { return 1; }

 # use CGI::Carp qw(fatalsToBrowser); # used only for tests

 BEGIN {
 	# Make sure the module path is present
 	push(@INC, "./Modules"); 



Thank you so much
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #7 - Jan 12th, 2025 at 12:08am
Mark & QuoteQuote  
Okay, I only know cPanel and that uses a number of different places to stash Perl Modules. The place you found the file isn't in the list that the Perl being used by YaBB uses to find Modules. So if you have someone helping you, CGI.pm needs to be imported into one of the locations in the @INC list.

You can try to copy CGI.pm directly into the YaBB Modules folder. But that may not work if there are other Modules CGI.pm needs and you don't have. 

But the people helping you with admin should be able to get it imported into one of the locations your other add-on Modules are in.

OR you can add the location of the CGI.pm file to the @INC list: near the tob of the YaBB.pl file, before anything is called add:
Code (Perl)
Select All
 use lib 'location of perl'; 


Obviously, use the correct location.

  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #6 - Jan 11th, 2025 at 10:53pm
Mark & QuoteQuote  
Interesting.  Have now found CGI.pm in

Code
Select All
usr/lib/perl5 



This is not where listed in the error above.  Do I need to change anything??

Feeling so hopeless
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2266
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #5 - Jan 11th, 2025 at 2:41pm
Mark & QuoteQuote  
CGI.pm has removed as an automatically included module. It can be installed as an add-on module (It's installed like that here.)

On cPanel you can add Perl modules and CGI.pm should be in the available list.
  

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


I Love YaBB!

Posts: 59
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Help - Old Forum
Reply #4 - Jan 11th, 2025 at 6:21am
Mark & QuoteQuote  
Well I am back again.  Once again a host server upgrade and back to the same issue where trying to post a new message throws up a 500 error.

Different this time though as my Admin Panel is throwing up a perl error for CGI saying that CGI.pm is not available.  To my knowledge from searching the net CGI.pm has been removed as a perl module.

They are running Perl Version: 5.26.3

Anyone with any ideas?

Code
Select All
 Information provided by the system:

 Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /home/aussiec1/public_html/cgi-bin/yabb2 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 ./Modules) at (eval 9) line 1.
« Last Edit: Jan 11th, 2025 at 8:41am by Derek Bullock »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Reply Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Help - Old Forum

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