Code: Select all
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 active=1' at line 5
phpversion: 5.4.37
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.63
My local MAMP installation does not give this error! But it's also a newer version of PHP and MySQL:
phpversion 5.6.2
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.38
So is it my web host's PHP and MySQL versions the problem?