You need to import the game server SQL files prior to the MapleBit installation.
Check for SQL files in your MapleStory source directory.
I imported the game server SQL before, still didn't work...? I'm using MapleSolaxia.
I ran into similar issues when performing tests in a few environments:
* [FAILED] Ubuntu 18.04 - Apache 2.4.7 - PHP 7.2
* [FAILED] Ubuntu 14.04 - Apache 2.4.7 - PHP 5.5.9-1ubuntu4.26
* [SUCCESS] OSX 10.14.3 - Apache 2.4.34 - PHP 7.1.23
All were connecting to a remote MySQL server:
5.5.62 MySQL Community Server (GPL)
Errors found in the Apache logs suggest the code is written poorly.
Can you share your error logs? Execute the following command:
cat /var/log/apache2/error.log
I fixed the problem, just had to find database.php in assets/config and set my database details.
Now at the register page, this is what's happening:
![]()
You will need to view the error logs or configure error display to discover why PHP is failing.
The error:
PHP Parse error: syntax error, unexpected '[' in /var/www/html/sources/public/register.php on line 14
The line of code:
return $mysqli->query("SELECT COUNT(*) FROM accounts WHERE $param ='".$mysqli->real_escape_string($input[$field])."'")->fetch_row()[0] == 0;
EDIT: The line of code had to be changed to this:
return $mysqli->query("SELECT COUNT(*) FROM accounts WHERE $param ='".$mysqli->real_escape_string($input[$field])."'")->fetch_row(0) == 0;
You have to check all the files, i'm currently using this CMS too and i have to correct php syntax to prevent from Fatal error when try to login and register.
If you need my help, you can contact me via discord.
MisterBT#6061
go to your /site/assets/config folder
after you're done installing chmod the file back# cd /assets/config
chmod 777 database.php
chmod 644 database.php
Last edited by Hoxer; 22-03-20 at 10:51 AM.