Last modified: 2010-05-15 15:42:45 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 T10471, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8471 - Couldn't delete uploaded files - PostgreSQL GET_LOCK
Couldn't delete uploaded files - PostgreSQL GET_LOCK
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.8.x
PC Linux
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-03 17:07 UTC by Evgueni
Modified: 2010-05-15 15:42 UTC (History)
0 users

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


Attachments

Description Evgueni 2007-01-03 17:07:48 UTC
Couldn't delete uploaded  files. Switched on  
$wgShowExceptionDetails for details:

-----------------------------------------------

A database error has occurred Query: SELECT
GET_LOCK('MediaWiki.wikidb.FileStore', 5) AS lockstatus Function:
FileStore::lock Error: 1 ERROR: function get_lock("unknown", integer) does not
exist at character 30 HINT: No function matches the given name and argument
types. You may need to add explicit type casts.

Backtrace:

#0 /home/baldin/public_html/mediawiki/includes/Database.php(651):
DatabasePostgres->reportQueryError('ERROR: functio...', 1, 'SELECT GET_LOCK...',
'FileStore::lock', false)
#1 /home/baldin/public_html/mediawiki/includes/FileStore.php(41):
Database->query('SELECT GET_LOCK...', 'FileStore::lock')
#2 /home/baldin/public_html/mediawiki/includes/Image.php(1828): FileStore::lock()
#3 /home/baldin/public_html/mediawiki/includes/ImagePage.php(556):
Image->delete('proba')
#4 /home/baldin/public_html/mediawiki/includes/ImagePage.php(511):
ImagePage->doDelete('proba')
#5 /home/baldin/public_html/mediawiki/includes/Wiki.php(352): ImagePage->delete()
#6 /home/baldin/public_html/mediawiki/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title),
Object(User), Object(WebRequest))
#7 /home/baldin/public_html/mediawiki/index.php(47):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest))
#8 {main}

--------------------------------------------------
Comment 1 Rob Church 2007-01-03 17:09:15 UTC
This was fixed in trunk.

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


Navigation
Links