• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Webpage Error

Wellis

New Member
Joined
Dec 3, 2009
Messages
91
Reaction score
1
Hello,

I really don't know wheres the syntax error.. checked everything but didnt find the error.
I hope someone can help..

Error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1' in C:\xampp_neu\xampp\htdocs\guilds.php:1049 Stack trace: #0 C:\xampp_neu\xampp\htdocs\guilds.php(1049): PDO->query('INSERT INTO gui...') #1 C:\xampp_neu\xampp\htdocs\index.php(179): include('C:\xampp_neu\xa...') #2 {main} thrown in C:\xampp_neu\xampp\htdocs\guilds.php on line 1049

Line 1049 of guilds.php
Code:
$SQL->query('INSERT INTO guild_members (player_id, rank_id, nick) VALUES ('.$player->getID().', '.$rank->getID().', '.$empty.')');
 
The problem is, we are using otserv and in otserv you got not the same funcions for guilds so we have to rewrite the gesior account manager.
 
Back
Top