I have installed your script and i found quite a few problems which i have been able to fix
1. in the database under the user table when you register there are a few missing tables, i have created these tables and everything works fine
2. there is a few sections of the php that are a bit of a problem, i cant remember exactly what they are but i did update them, if you want to have a look through my edited files and see what i have changed
3. When you create a user you have to create your own character well the drop down menu on this section will not show the name or id of the characters, i have had a look at this but can not seem to fix the problem.
I have attached the whole game and my sql database for you to look at
the updated class files and my SQL database