Page MenuHomePhabricator

database syntax error on Special:PopularPages
Closed, ResolvedPublic

Description

Author: jburos

Description:
DebugLog (relevant section only)

PopularPages used to work just fine, but now I have this strange MySQL syntax error. It's really annoying because we use this page to prioritize edits & reviews of content. Any ideas?? We have only a master MySQL db, are running memcached + squids.

I have attached my wiki debug log. There are no errors in my PHP log.


Version: 1.13.x
Severity: minor
OS: Linux
URL: http://wikidoc.org/index.php/Special:PopularPages

Attached:

Details

Reference
bz18452

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:35 PM
bzimport set Reference to bz18452.
bzimport added a subscriber: Unknown Object (MLST).

Any chance you could attach the values of $wgContentNamespaces, if you have changed them from the default in your LocalSettings? Thanks.

jburos wrote:

Yes, certainly. Here is the section of our LocalSettings.php which defines these:

define("NS_NEWS", 100);
define("NS_NEWS_TALK", 101);

$wgExtraNamespaces[NS_NEWS] = "News";
$wgExtraNamespaces[NS_NEWS_TALK] = "News_talk";

$wgNamespacesToBeSearchedDefault = array(

NS_MAIN           => true,
NS_NEWS          => true,

);
$wgContentNamespaces[] = array(0,NS_NEWS);

jburos wrote:

Ah, I see the problem. I have fixed this. Thanks for your help, and sorry to have taken your time.

Kudos to the team