-
-
Notifications
You must be signed in to change notification settings - Fork 10
Installation Troubleshooting
Help us help you! In this article, you'll find common installation issues and
How to find your php.ini file
php -i | grep php.ini
Execute this command and it'll show you the location of the php.ini
file.
You may see an error stating that 'mysqli' cannot be found for a class.
PHP Fatal error: Class 'mysqli' not found in /var/www/html/bzion/src/Database.php on line 45
If you are using Ubuntu 14.04, then the MySQLi extension isn't enabled by default so it cannot be accessed by our Database class, which uses MySQLi to connect to the database. In order to enable PHP to use MySQLi you have to uncomment (remove the ;
) the following line in the php.ini
file.
mysqli.allow_local_infile = On
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'end_time'
If you're getting this error, that means something's wrong with your migration_log
table. To fix this, change the default value for the end_time
column to NULL and ensure that the column is nullable.
Integrity constraint violation: 1062 Duplicate entry '19-42738' for key 'PRIMARY'
If you're getting this error while running the PlayerEloCalculations migration and the player_elos
is empty, try clearing the cache with composer clear
.
Found an issue? Something not clear? Submit an issue to let us know!
BZiON's so easy, even brad can use it!