Last modified: 2006-06-26 21:37:33 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 T8454, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6454 - MediaWiki internal error (database error)
MediaWiki internal error (database error)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-26 21:36 UTC by Mark Blackledge
Modified: 2006-06-26 21:37 UTC (History)
0 users

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


Attachments

Description Mark Blackledge 2006-06-26 21:36:04 UTC
On the user contribution page, I believe I clicked one of the links on this
line, or a link with a popup from this line:
17:16, 26 June 2006 (hist) (diff) User talk:24.209.171.73  (top)
I can't remember which link, and later clicks worked as expected.

The error displayed was:
MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has
occurred
Query: SELECT
img_size,img_width,img_height,img_bits,img_media_type,img_major_mime,img_minor_mime,img_metadata
FROM `commonswiki`.image WHERE img_mame = 'Ceiling_cat_00.jpg' LIMIT 1
Function: Image::loadFromDB
Error: 1054 Unknown column 'img_mame' in 'where clause' (10.0.0.233)
' in /usr/local/apache/common-local/php-1.5/includes/Database.php:653
Stack trace:
#0 /usr/local/apache/common-local/php-1.5/includes/Database.php(610):
Database->reportQueryError('Unknown column ...', 1054, 'SELECT img_siz...',
'Image::loadFrom...', false)
#1 /usr/local/apache/common-local/php-1.5/includes/Database.php(993):
Database->query('SELECT img_siz...', 'Image::loadFrom...')
#2 /usr/local/apache/common-local/php-1.5/includes/Database.php(1012):
Database->select('`commonswiki`.i...', Array, Array, 'Image::loadFrom...', Array)
#3 /usr/local/apache/common-local/php-1.5/includes/Image.php(356):
Database->selectRow('`commonswiki`.i...', Array, Array, 'Image::loadFrom...')
#4 /usr/local/apache/common-local/php-1.5/includes/Image.php(419):
Image->loadFromDB()
#5 /usr/local/apache/common-local/php-1.5/includes/Image.php(790): Image->load()
#6 /usr/local/apache/common-local/php-1.5/includes/Parser.php(1579): Image->exists()
#7 /usr/local/apache/common-local/php-1.5/includes/Parser.php(853):
Parser->replaceInternalLinks('<h1> Please con...')
#8 /usr/local/apache/common-local/php-1.5/includes/Parser.php(241):
Parser->internalParse('= Please contri...')
#9 /usr/local/apache/common-local/php-1.5/includes/OutputPage.php(293):
Parser->parse('= Please contri...', Object(Title), Object(ParserOptions), true,
true, 60725265)
#10 /usr/local/apache/common-local/php-1.5/includes/OutputPage.php(346):
OutputPage->addWikiTextTitle('= Please contri...', Object(Title), true)
#11 /usr/local/apache/common-local/php-1.5/includes/DifferenceEngine.php(199):
OutputPage->addSecondaryWikiText('= Please contri...')
#12 /usr/local/apache/common-local/php-1.5/includes/Article.php(714):
DifferenceEngine->showDiffPage()
#13 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(323): Article->view()
#14 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title),
Object(User), Object(WebRequest))
#15 /usr/local/apache/common-local/php-1.5/index.php(137):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest))
#16 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#17 {main}

Exception caught inside exception handler: exception 'DBUnexpectedError' with
message 'Error in fetchObject(): Unknown column 'img_mame' in 'where clause'' in
/usr/local/apache/common-local/php-1.5/includes/Database.php:770
Stack trace:
#0 /usr/local/apache/common-local/php-1.5/includes/Database.php(1997):
Database->fetchObject(Resource id #111)
#1 /usr/local/apache/common-local/php-1.5/includes/LinkBatch.php(90):
ResultWrapper->fetchObject()
#2 /usr/local/apache/common-local/php-1.5/includes/LinkBatch.php(69):
LinkBatch->executeInto(Object(LinkCache))
#3 /usr/local/apache/common-local/php-1.5/includes/Skin.php(192):
LinkBatch->execute()
#4 /usr/local/apache/common-local/php-1.5/includes/Skin.php(171):
Skin->preloadExistence()
#5 /usr/local/apache/common-local/php-1.5/includes/SkinTemplate.php(108):
Skin->initPage(Object(OutputPage))
#6 /usr/local/apache/common-local/php-1.5/skins/MonoBook.php(28):
SkinTemplate->initPage(Object(OutputPage))
#7 /usr/local/apache/common-local/php-1.5/includes/SkinTemplate.php(155):
SkinMonoBook->initPage(Object(OutputPage))
#8 /usr/local/apache/common-local/php-1.5/includes/OutputPage.php(594):
SkinTemplate->outputPage(Object(OutputPage))
#9 /usr/local/apache/common-local/php-1.5/includes/Exception.php(53):
OutputPage->output()
#10 /usr/local/apache/common-local/php-1.5/includes/Exception.php(70):
MWException->reportHTML()
#11 /usr/local/apache/common-local/php-1.5/includes/Exception.php(145):
MWException->report()
#12 /usr/local/apache/common-local/php-1.5/includes/Exception.php(179):
wfReportException(Object(DBQueryError))
#13 [internal function]: wfExceptionHandler(Object(DBQueryError))
#14 {main}


http://en.wikipedia.org/wiki/Special:Contributions/24.209.171.73
Comment 1 Brion Vibber 2006-06-26 21:37:33 UTC
Sounds like APC cache corruption. Restartiing servers.

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


Navigation
Links