Last modified: 2013-01-13 21:44:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45919, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43919 - showJobs.php broken
showJobs.php broken
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.21.x
All All
: Normal major (vote)
: 1.21.0 release
Assigned To: Sam Reed (reedy)
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-13 13:53 UTC by Niklas Laxström
Modified: 2013-01-13 21:44 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2013-01-13 13:53:22 UTC
php maintenance/showJobs.php 
PHP Fatal error:  Call to a member function selectField() on a non-object in /var/www/mediawiki/includes/job/JobQueueDB.php on line 93
Comment 1 Sam Reed (reedy) 2013-01-13 16:16:09 UTC
	/**
	 * @return Array (DatabaseBase, ScopedCallback)
	 */
	protected function getSlaveDB() {
		return $this->getDB( DB_SLAVE );
	}

...


		$dbr = $this->getSlaveDB();
		$size = (int)$dbr->selectField( 'job', 'COUNT(*)',
			array( 'job_cmd' => $this->type, 'job_token' => '' ),
			__METHOD__
		);

https://gerrit.wikimedia.org/r/43686
Comment 2 Tyler Romeo 2013-01-13 17:17:42 UTC
Reopening, since the change hasn't been merged yet.
Comment 3 Krinkle 2013-01-13 21:44:40 UTC
Change-Id: I99afd66a3ad1700f1cdac4edea31edf740ec1656

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links