Nothing is obvious in the beginning, it becomes obvious once you know it 
Ok, first let's add a user for your db. This is something you should get used to doing, it's easier to learn than to unlearn bad habits.
Just go to your database in phpadmin like the screen and go to the [Privileges] tab on top. There you can add a new user for this database and for the ease of it just give this user all privileges for this database. If in a later stage you decide to work with someone else on this project you can add a new user like this and just give him / her the privileges he / she needs.
From the looks of it, you've already set up the db correctly so that's ok now.
Next, let's start again with adding the scripts.
Go to your htdocs folder ( C:\xampp\htdocs ) and create a new folder ( like MMO, this is what i'll use as an example from now on ) and copy the php scripts to this location. Your scripts should now be in C:\xampp\htdocs\MMO\.
Edit the mmoconnection.php
$servername = 'your ip';
$username = 'the username you created in phpmyadmin';
$password = 'the password you created in phpmyadmin';
$dbname = 'the database name';
and save it.
Now in your browser go to - http://localhost/MMO/mmologin.php and one of the lines you get should read {"status":"Login information is incorrect. Check your username and password."}.This is good and your done with the db/php part.
Now start up the project in Unreal Editor ( i presume you already built it from source ) and edit the JSONRequests blueprint. Open Content / Maps / Start, Go to blueprints - open blueprints class - JSONRequests and change hostname to http://localhost/MMO/ , don't forget the slash at the end.
Press play and register a new account, if all is correct, this should work now and you can check the users database in phpmyadmin and your created user should be added.
If by any chance you can login but it won't proceed to the character creation after succesfull login go to C:\xampp\php\ and open php.ini
Search for display_errors=On and change it to display_errors=Off, save and restart your server. It should work now.
Good luck

Ok, first let's add a user for your db. This is something you should get used to doing, it's easier to learn than to unlearn bad habits.
Just go to your database in phpadmin like the screen and go to the [Privileges] tab on top. There you can add a new user for this database and for the ease of it just give this user all privileges for this database. If in a later stage you decide to work with someone else on this project you can add a new user like this and just give him / her the privileges he / she needs.
From the looks of it, you've already set up the db correctly so that's ok now.
Next, let's start again with adding the scripts.
Go to your htdocs folder ( C:\xampp\htdocs ) and create a new folder ( like MMO, this is what i'll use as an example from now on ) and copy the php scripts to this location. Your scripts should now be in C:\xampp\htdocs\MMO\.
Edit the mmoconnection.php
$servername = 'your ip';
$username = 'the username you created in phpmyadmin';
$password = 'the password you created in phpmyadmin';
$dbname = 'the database name';
and save it.
Now in your browser go to - http://localhost/MMO/mmologin.php and one of the lines you get should read {"status":"Login information is incorrect. Check your username and password."}.This is good and your done with the db/php part.
Now start up the project in Unreal Editor ( i presume you already built it from source ) and edit the JSONRequests blueprint. Open Content / Maps / Start, Go to blueprints - open blueprints class - JSONRequests and change hostname to http://localhost/MMO/ , don't forget the slash at the end.
Press play and register a new account, if all is correct, this should work now and you can check the users database in phpmyadmin and your created user should be added.
If by any chance you can login but it won't proceed to the character creation after succesfull login go to C:\xampp\php\ and open php.ini
Search for display_errors=On and change it to display_errors=Off, save and restart your server. It should work now.
Good luck

Comment