https://bugzilla.wikimedia.org/show_bug.cgi?id=43253
--- Comment #4 from Sam Reed (reedy) <[email protected]> --- A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: SELECT page_namespace,page_title AS cl_to FROM `mw_categorylinks` WHERE cl_from = '2' ORDER BY cl_to LIMIT 200 from within function ‘CategoryTree::renderParents.’ Database returned error ‘1054: Unknown column 'page_namespace' in 'field list' (192.168.0.212).’ reedy@fenari:~$ mwscript eval.php enwiki > $dbr = wfGetDB( DB_SLAVE ); > $res = $dbr->select( 'categorylinks', array( NS_CATEGORY => 'page_namespace', > 'cl_to' => 'page_title' ), array( 'cl_from' => 1 ), __METHOD__, array( > 'LIMIT' => 10, 'ORDER BY' => 'cl_to' ) ); A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: SELECT page_namespace,page_title AS cl_to FROM `categorylinks` WHERE cl_from = '1' ORDER BY cl_to LIMIT 10 Function: Error: 1054 Unknown column 'page_namespace' in 'field list' (10.0.6.46) reedy@fenari:~$ mwscript eval.php enwiki > $dbr = wfGetDB( DB_SLAVE ); > > > $res = $dbr->select( 'categorylinks', array( 'page_namespace' => NS_CATEGORY, > 'page_title' => 'cl_to' ), array( 'cl_from' => 1 ), __METHOD__, array( > 'LIMIT' => 10, 'ORDER BY' => 'cl_to' ) ); -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
