sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
333 stars 174 forks source link

Web Terminal Error #872

Closed IG-PhantomX closed 1 year ago

IG-PhantomX commented 1 year ago

What are the steps to reproduce this issue?

  1. Upgraded Sourcebans

What happens?

After running the updater and deleting the installer/updater, when I try to load the web page for sb it throws this error:

Fatal error: Uncaught Error: Call to undefined function ADONewConnection() in /usr/www/mywebiste/bans/init.php:109 Stack trace: #0 /usr/www/mywebsite/bans/index.php(20): include_once() #1 {main} thrown in /usr/www/mywebsite/bans/init.php on line 109

Rushaway commented 1 year ago

Hello. What was your original version and your new version. Did you run the update.php? Are you using another theme than the default one? More infos will be helpful if you need help. That why you have a template to follow when you create an issue.

IG-PhantomX commented 1 year ago

Thank you for the response.

I ended up attempting a fresh installation of SB - so it should be all default. The installer worked fine - it setup the database, deleted the installer/updater.

PHP 8.1.12 Linux 5.15.79 (gentoo distro) Hosted on NFOServers Managed Server MySQLlnd 8.1.12 Composer 2.5.4

Is there any other info that would be helpful?

When I try to load the webpage it gives this error:

Fatal error: Uncaught Error: Call to undefined function ADONewConnection() in /usr/www/mysite/bans/init.php:109 Stack trace: #0 /usr/www/ mysite/bans/index.php(20): include_once() #1 {main} thrown in /usr/www/mysite/bans/init.php on line 109

On Sun, Mar 12, 2023 at 6:07 AM Rushaway @.***> wrote:

Hello. What was your original version and your new version. Did you run the update.php? Are you using another theme than the default one? More infos will be helpful if you need help. That why you have a template to follow when you create an issue.

— Reply to this email directly, view it on GitHub https://github.com/sbpp/sourcebans-pp/issues/872#issuecomment-1465147498, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY5E65ATIBIMFYE6L54ZPYTW3WN55ANCNFSM6AAAAAAVX4O36Q . You are receiving this because you authored the thread.Message ID: @.***>

Rushaway commented 1 year ago

It's related to NFO Hosting Service. Contact them, they are missing the sodium extension required in the version bump for JWT in Composer dependencies.

IG-PhantomX commented 1 year ago

To help others, I managed to get past this hurdle. I have encountered a new issue, but here is what I did:

updated composer using --ignore-platform-req=ext-sodium