View Single Post
  #17  
Old 25th August 2010, 13:19
palcaraz palcaraz is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default

In the server.php script I see that you run the query

$server_db_record = $app->db->queryOneRecord("SELECT * FROM server WHERE update = 1 AND server_id = ".$conf["server_id"]);

that if I run in phpmyadmin

SELECT * FROM server WHERE update=1 AND server_id = 1

gives me an error

#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 'update=1 AND server_id = 1
LIMIT 0, 30' at line 1

and it's because the field "update" is called "updated", I have wrong server.php script
field name?

Thanks
Pedro Alcaraz
Reply With Quote