Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[HELP]Account registration does not work

Junior Spellweaver
Joined
Mar 26, 2004
Messages
153
Reaction score
11
I've upgraded the server from ubuntu12.04 to 14.04.
However, PHP no longer work the account registration from getting to v5.5.
Someone rescue thank you.

---My server specification---
Ubuntu Linux 14.04.2
Apache version 2.4.7
PHP Version 5.5.9-1ubuntu4.9
MySQL version 5.5.41

---Part that is the problem---
PHP:
$Salt = base64_encode(md5($Login.$Pass, true));
MySQL_Query("call adduser('$Login', '$Salt', '0', '0', '0', '0', '$Email', '0', '0', '0', '0', '0', '0', '0', '', '', '$Salt')") or die ("adduser not calling");
echo "<font color=red>Account <b>".$Login."</b> has been created.</font>";
 
Night Gaming Network
Joined
Sep 13, 2014
Messages
728
Reaction score
46
i got the same problem when i upgraded to that version, only way i knew how to fix it was downgrade back to 12.04
 
Upvote 0
Junior Spellweaver
Joined
Mar 26, 2004
Messages
153
Reaction score
11
i got the same problem when i upgraded to that version, only way i knew how to fix it was downgrade back to 12.04
Thank you for your comments.
But Web sites that are working in apache2 at my server can not downgrade because that in conjunction with the Facebook app. (Conditions of work of Facobook app PHP5.4 or more)
I'll try looking for a solution for a while.
 
Upvote 0
Junior Spellweaver
Joined
May 18, 2014
Messages
151
Reaction score
57
Try to use PDO or MySQLi instead of MySQL. u only gain benefits...Like more security in ur server. =P
 
Upvote 0
Back
Top