Last modified: 2006-07-14 06:17:59 UTC
browsing back through Newimages gave at point http://et.wikipedia.org/w/index.php?title=Eri:Newimages&until=20040805093611 following error message: Image constructor given bogus title. Backtrace: * GlobalFunctions.php line 604 calls wfBacktrace() * Image.php line 81 calls wfDebugDieBacktrace() * Image.php line 76 calls Image::Image() * SpecialNewimages.php line 137 calls Image::newFromTitle() * SpecialPage.php line 414 calls wfSpecialNewimages() * SpecialPage.php line 275 calls SpecialPage::execute() * Wiki.php line 155 calls SpecialPage::executePath() * Wiki.php line 47 calls MediaWiki::initializeSpecialCases() * index.php line 121 calls MediaWiki::initialize() * index.php line 3 calls require()
Still throwing an exception for me when browsed this morning.
Created attachment 1440 [details] Why the problem happens This happens because there's a null entry in the image table.
And because there's even more crap there... mysql> SELECT page_id,page_namespace,page_title FROM page LEFT JOIN revision ON page_id = rev_page WHERE page_namespace = 6 AND page_title LIKE "Maul%"; +---------+----------------+----------------------+ | page_id | page_namespace | page_title | +---------+----------------+----------------------+ | 10884 | 6 | Mauleon-Licharre.jpg | | 10884 | 6 | Mauleon-Licharre.jpg | +---------+----------------+----------------------+ 2 rows in set (0.00 sec) mysql> SELECT /* wfSpecialNewImages */ img_size, img_name, img_user_text,img_timestamp FROM `image` WHERE img_name LIKE "Maul%"; +----------+------------------------+---------------+----------------+ | img_size | img_name | img_user_text | img_timestamp | +----------+------------------------+---------------+----------------+ | 120976 | Maul%E9on-Licharre.jpg | Urmas | 20040801214040 | | 120976 | Mauleon-Licharre.jpg | Urmas | 20040801214416 | +----------+------------------------+---------------+----------------+ 2 rows in set (0.00 sec) mysql>
http://et.wikipedia.org/w/index.php?title=Eri:Newimages&until=20040805093611 gives today: Image constructor given bogus title. Backtrace: #0 /usr/local/apache/common-local/php-1.5/includes/SpecialNewimages.php(133): Image->Image(NULL) #1 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(511): wfSpecialNewimages(NULL, Object(IncludableSpecialPage)) #2 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(372): SpecialPage->execute(NULL) #3 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(156): SpecialPage::executePath(Object(Title)) #4 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(47): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #5 /usr/local/apache/common-local/php-1.5/index.php(137): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User), Object(WebRequest)) #6 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...') #7 {main}
Ran corrections on bad entries.