[support] Odd 'fatal error' but no problems in database and no changes to drupal files

Nick Holden nick at thewebtailor.co.uk
Mon Nov 28 20:14:11 UTC 2005


About 5pm yesterday, our drupal site at http://www.workersliberty.org just 
died:

-

 Fatal 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 '' 
at line 1 query: SELECT title FROM node WHERE nid= 
in /home/newawl/www/includes/database.mysql.inc on line 97

-

I stopped MySQL and checked all the tables. Nothing wrong, even on extended 
check. The error appears on every possible URL within the site, and seems to 
suggest that drupal is sending a malformed query to the database.

Drupal is 4.4.1 (yeah, I know, we've been meaning to upgrade for a while), php 
is 4.3.10-15 and MySQL is Ver 12.22 Distrib 4.0.24 - nothing has changed in 
recent days, yet suddenly this lot won't talk to each other.

Any thoughts?

Many thanks,

Nick


More information about the support mailing list