Thread:Project:Support desk/SQL error when accessing site namespace articles

...like 'disclaimer, 'privacy policy', 'community portal'

MediaWiki - 1.17 PHP - 5.2.17 (cgi-fcgi) MySQL - 5.1.60-community-log

When accessing those pages from www.projectlike.com, the following message appears on the page:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

SELECT COUNT(1) AS users_watching_page FROM `mdw_watchlist`,`mdw_user` WHERE (wl_user = user_id) AND (LOWER(wl_title) = 'privacy_policy') AND (wl_namespace=)

from within function "Database::select". Database returned 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 ')' at line 1 (localhost)".

I'm not a SQL guy, so I have no idea what this means. I searched around for some of those search terms and didn't find anything.

Any ideas?

KProvance 20:34, 30 November 2011 (UTC)