ERROR: http://portvgal.pt/validateAdvertise.php

Query: SELECT friendly_url FROM  WHERE friendly_url = '' LIMIT 1

 Errno: 1064
 Error: 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 'WHERE friendly_url = '' LIMIT 1' at line 1
_SERVER data
    REMOTE_ADDR : 52.52.23.74
    REMOTE_PORT : 48406
SCRIPT_FILENAME : /home/yd2elo2/public_html/validateAdvertise.php
 REQUEST_METHOD : GET
   QUERY_STRING : 
    REQUEST_URI : /validateAdvertise.php
• Nenhum método de pagamento foi selecionado!