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.
Error 500
- indianiso1
- Posts: 185
- Joined: 16 Oct 2015, 01:59
- Contact:
Re: Error 500
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.
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.
Re: Error 500
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
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