At first I tried upgrading sourcebans (commit 0688ab3 )and there was an issue about the Smarty\Smarty PHP class not being found.
Finally decided to reinstall sourcebans after backing up the database tables and had to install / update composer (probably why it was having trouble loading that smarty class), then delete the tables that where auto created and manually add back the originals.
Now I'm running into a new issue when trying to log in:
Code: Select all
Error: the XML response that was returned from the server is invalid. Received: SQL Statement failed on preparation: SELECT aid, password, attempts, lockout_until FROM sb_admins WHERE user = ?'
Looks to be from this line here.
Decided to post the issue here since a lot of NFO users have sourcebans set up on their web servers. I thought it would useful to see if anyone forked a copy of sourcebans++ to get it working on PHP v8.4.6.
My PHP knowledge is limited and I don't have a lot of time to tinker around, so hoping someone more experienced can upload a fix or suggestion.