PHP 8.0 upgrade broke the old mboard13

In case you have problems with some other PHPJunkyard script (not that there are THAT many).
Post Reply
jayh
Posts: 5
Joined: Thu May 16, 2013 4:58 am

PHP 8.0 upgrade broke the old mboard13

Post by jayh »

Script URL: https://www.monocacyboard.org/mboard/mboard.php
Version of script: Version: 1.3 from November 18, 2006 (fix from 16th Feb 2007)
Hosting company: hostmonster
URL of phpinfo.php: https://www.monocacyboard.org/mboard/phpinfo.php
URL of session_test.php: https://www.monocacyboard.org/mboard/session_test.php
What terms did you try when SEARCHING for a solution: Undefined property: PJ_SecurityImage::

Write your message below:
I'm maintaining an old instance of mboard13 in support of a kayaking community. People still use the board for club trips, and community information still so I'm just keeping the lights on not wanting to migrate to a new instance. Last time I did any significant work with the base code was back in 2013.
Looks like hostmonster upgraded to php 8.0.30 on February 13th finally deprecating whichever php 7 instance they were running in. After that whenever I go to commit the secimg and continue it replies with "Wrong Security Number" and goes back to reenter the security number, looping add infinatum.

Error logs this...
[03-Mar-2024 09:57:12 America/Boise] PHP Warning: Undefined property: PJ_SecurityImage::$key in /home2/REDACTED/public_html/monocacyboard/mboard/secimg.inc.php on line 11

Any insight would be greatly appreciated.

Thanks,
Jay
jayh
Posts: 5
Joined: Thu May 16, 2013 4:58 am

Re: PHP 8.0 upgrade broke the old mboard13

Post by jayh »

Incidentally, I decided to see if upgrading to PHP 8.1, 2 or 3 would make a difference but hostmonster has it locked to 8.0.30. I may try doing a support call to get that changed if that's a direction I need to go with.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: PHP 8.0 upgrade broke the old mboard13

Post by Klemen »

I had no idea people still use this old script :lol:

Try this if it makes any difference:
1. backup existing files
2. download https://phpjunkyard.com/extras/mboard13-PHP8.zip
3. upload the two modified files to your MBoard folder
4. test
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: PHP 8.0 upgrade broke the old mboard13

Post by Klemen »

P.s.: these two are based on the original mboard 1.3 files; If you made any other changes, re-apply them.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jayh
Posts: 5
Joined: Thu May 16, 2013 4:58 am

Re: PHP 8.0 upgrade broke the old mboard13

Post by jayh »

Downloading and testing. I'll let you know. Thanks for the quick response.
jayh
Posts: 5
Joined: Thu May 16, 2013 4:58 am

Re: PHP 8.0 upgrade broke the old mboard13

Post by jayh »

Downloaded, installed and tested successfully. Huge thanks again.

Jay
Post Reply