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!

Fatal Error

Experienced Elementalist
Joined
Jun 7, 2008
Messages
231
Reaction score
1
Code:
Fatal error: Cannot redeclare getclass() (previously declared in C:\Program Files\Abyss Web Server\htdocs\ran\status.php:22) in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 315

got this error when trying to put school change on my CP! how to fix?
 
Joined
Jan 17, 2008
Messages
320
Reaction score
0
it's on your status.php look for getclass line

function getClass ($str) {
if ($str == 1) { $char = "brawler"; }
if ($str == 2) { $char = "swordsman"; }
if ($str == 4) { $char = "archer"; }
if ($str == 8) { $char = "shaman"; }
if ($str == 16) { $char = "Extreme Man"; }
if ($str == 32) { $char = "Extreme Woman"; }







in this line!!!
 
Upvote 0
Experienced Elementalist
Joined
Jun 7, 2008
Messages
231
Reaction score
1
I still can`t solve the problem.. here is my function,status,query
 
Upvote 0
Back
Top