Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: 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. IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: 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 '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?? IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Help - Old Forum Reply #15 - Jan 12th, 2025 at 11:07am Mark & QuoteQuote Many thanks. IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Help - Old Forum Reply #13 - Jan 12th, 2025 at 7:03am Mark & QuoteQuote Dandello Do any other files need that shebang changed? IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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' Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Help - Old Forum Reply #11 - Jan 12th, 2025 at 6:35am Mark & QuoteQuote UPDATE On advice I changed the shebang to Code #!/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. IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: 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 https://www.aussiecampovenforum.com/cgi-bin/yabb2/ModuleChecker.pl Any ideas on that?? IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Help - Old Forum Reply #9 - Jan 12th, 2025 at 1:18am Mark & QuoteQuote Stick the line below the Code (Perl)$YaBBplver = 'YaBB 2.5 AE $Revision: 1.23 $'; line. Code (Perl) 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. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: 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 ### 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 IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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) use lib 'location of perl'; Obviously, use the correct location. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Help - Old Forum Reply #6 - Jan 11th, 2025 at 10:53pm Mark & QuoteQuote Interesting. Have now found CGI.pm in Code usr/lib/perl5 This is not where listed in the error above. Do I need to change anything?? Feeling so hopeless IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2266 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: 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. WWW IP Logged
Derek Bullock Junior Member Offline I Love YaBB! Posts: 59 Joined: Feb 12th, 2014 Gender: Mood: Frustrated Zodiac sign: 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 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 » IP Logged