XMB Forum Software

[Resolved] Installation page just prints a PHP error

flushedpancake - 4-2-2024 at 05:21 AM

Full Board URL: http://localhost
XMB Version: 1.9.12

Code:
Warning: Constant DEBUG already defined in /var/www/html/config.php on line 117 Warning: Constant LOG_MYSQL_ERRORS already defined in /var/www/html/config.php on line 127 Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'DB/USER'@'localhost' (using password: YES) in /var/www/html/install/index.php:183 Stack trace: #0 /var/www/html/install/index.php(183): mysqli->__construct() #1 /var/www/html/install/index.php(221): already_installed() #2 {main} thrown in /var/www/html/install/index.php on line 183


EDIT: Resolved - deleting the example config.php worked.

This has been mentioned on the bug tracker.

PHP 8.1

miqrogroove - 4-6-2024 at 09:03 AM

Thank you for the bug report. I have determined the installer is not compatible with PHP 8.1 or higher due to a breaking change in PHP. I am working on a new version of the installer that will include a revised MySQL abstraction.

Anyone with XMB already installed is still safe to update PHP to the latest version.