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]just made a server get strange error.

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 15, 2007
Messages
5
Reaction score
0
I just did setup a server did exactly whats in the tutorial online still get this error.

Code:
error(mysql_error()."
$query","SQL Error"); mysql_select_db($dbsettings["name"]) or $debug->error(mysql_error()."
$query","SQL Error"); mysql_query("SET NAMES latin2"); echo mysql_error();} $sql = str_replace("{{table}}", $dbsettings["prefix"].$table, $query); $sqlquery = mysql_query($sql) or $debug->error(mysql_error()."
$sql
","SQL Error"); unset($dbsettings); $numqueries++; $arr = debug_backtrace(); $file = end(explode('/',$arr[1]['file'])); $line = $arr[1]['line']; $debug->add("Query $numqueries: $query$file($line)$table$fetch"); if($fetch) {$sqlrow = mysql_fetch_array($sqlquery); return $sqlrow; }else{return $sqlquery;}} ?>
[B]Fatal error[/B]: Call to undefined function doquery() in [B]C:\wamp\www\common.php[/B] on line [B]43[/B]

i hope someone can help me
 
Newbie Spellweaver
Joined
Jan 15, 2007
Messages
5
Reaction score
0
I just did setup a server did exactly whats in the tutorial online still get this error.

Code:
error(mysql_error()."
$query","SQL Error"); mysql_select_db($dbsettings["name"]) or $debug->error(mysql_error()."
$query","SQL Error"); mysql_query("SET NAMES latin2"); echo mysql_error();} $sql = str_replace("{{table}}", $dbsettings["prefix"].$table, $query); $sqlquery = mysql_query($sql) or $debug->error(mysql_error()."
$sql
","SQL Error"); unset($dbsettings); $numqueries++; $arr = debug_backtrace(); $file = end(explode('/',$arr[1]['file'])); $line = $arr[1]['line']; $debug->add("Query $numqueries: $query$file($line)$table$fetch"); if($fetch) {$sqlrow = mysql_fetch_array($sqlquery); return $sqlrow; }else{return $sqlquery;}} ?>
[B]Fatal error[/B]: Call to undefined function doquery() in [B]C:\wamp\www\common.php[/B] on line [B]43[/B]

i hope someone can help me


i just fixed the problem prob wamp server cant host the game switcht to xampp problem solved.

only after registering still got a prob with the outgoing mail but thats prob a setting in php.ini i guess
 

byo

Newbie Spellweaver
Joined
Mar 18, 2004
Messages
81
Reaction score
0
i use wamp to test things on my pc.

i think that u dont have the "short open tag" in your php settings.
 
Status
Not open for further replies.
Back
Top