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!

Web PHP cms problem.

Newbie Spellweaver
Joined
May 11, 2012
Messages
20
Reaction score
0
kuroweijie - PHP cms problem. - RaGEZONE Forums


As the above shown, I tried installing lower php version wampserver. but it didn't work. So i concluded that i should fix this error instead. Does anyone knows how do i start with this? Appreciate your consideration in helping me in this issue!

Line 44, 45:
mysql_connect($host['hostname'],$host['user'],$host['password']) OR die("Can't connect to server");
mysql_select_db($host['database']) OR die("Cannot select DB");
 
Newbie Spellweaver
Joined
Jan 31, 2014
Messages
23
Reaction score
11
try

mysqli_connect($host['hostname'],$host['user'],$host['password']) OR die("Can't connect to server");
mysqli_select_db($host['database']) OR die("Cannot select DB");

?
 
Upvote 0
Joined
Jul 12, 2011
Messages
1,229
Reaction score
475
try

mysqli_connect($host['hostname'],$host['user'],$host['password']) OR die("Can't connect to server");
mysqli_select_db($host['database']) OR die("Cannot select DB");

?

You can't just replace mysql with mysqli by changing the connection type. kuroweijie, open up index.php and paste
PHP:
error_reporting(0);
at the very top.
 
Upvote 0
Back
Top