Error 500

Ask questions about errors and problems related to the amxbans project.
The more details you give, the better answer you will receive, READ the sticky topics before posting!

Be sure to post in the right sub forum: Bugs and Security
Post Reply
besimirzo
Posts: 1
Joined: 08 Nov 2020, 07:17

Error 500

Post by besimirzo »

Okay I've been searching the internet for over 8 hours now and can't seem to fix my Error 500 when I try to access admin.php.


Web-server: Debian 9
PHP Version: PHP 8.0.0RC3 (cli) (built: Nov 3 2020 14:31:49) ( NTS )
MySQL version: 10.1.47 MariaDB
Amxbans version: 16.4.4

Everything else works fine except the "Admin Area". I've tried reinstalling the whole amxbans multiple times, created multiple databases, replacing just the admin.php with other version(old and current), deleted .htaccess, still nothing. I saw an amxbans forum post where one of the mods(devs) suggested to add two lines on the .htaccess file to view errors, tried that and it doesn't show ANY errors at all. I literally don't know what else to do but post a thread and ask for help.
User avatar
indianiso1
Posts: 185
Joined: 16 Oct 2015, 01:59
Contact:

Re: Error 500

Post by indianiso1 »

uh, oh. PHP 8 xD

The lines must be added in admin.php if you think abot these:
[code:php]
ini_set('display_errors', 1);
ERROR_REPORTING(E_ALL);
[/code]

Haven't tested the new PHP8 on this verision (6.14.4) but as far as I recall there were no radical changes for existing code. Possibly same issues that has been before.
Weasel
Posts: 8
Joined: 16 Jan 2016, 03:56
Contact:

Re: Error 500

Post by Weasel »

Still getting this on PHP 7.3 ... trying to access the admin.php page ...

Fatal error: Uncaught Error: Call to undefined function gd_info() in /var/www/amxbans/include/admin/admin_so_in.php:74 Stack trace: #0 /var/www/amxbans/admin.php(78): include() #1 {main} thrown in /var/www/amxbans/include/admin/admin_so_in.php on line 74
Post Reply