Last modified: 2012-07-20 09:06:49 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 T40211, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38211 - Internal error when viewing Special:Log
Internal error when viewing Special:Log
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
Macintosh Mac OS X 10.6
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-06 06:40 UTC by Brandon Sky
Modified: 2012-07-20 09:06 UTC (History)
3 users (show)

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


Attachments

Description Brandon Sky 2012-07-06 06:40:15 UTC
Non-string key given

Backtrace:

#0 /Users/sky/Sites/brandonsky11o/g/wiki/includes/GlobalFunctions.php(781): MessageCache->get(NULL, true, Object(Language))
#1 /Users/sky/Sites/brandonsky11o/g/wiki/includes/GlobalFunctions.php(902): wfMsgGetKey(NULL, true, Object(Language), false)
#2 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(513): wfMsgExt(NULL, Array)
#3 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(525): Language->getMessageFromDB(NULL)
#4 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(799): Language->getMonthName(false)
#5 /Users/sky/Sites/brandonsky11o/g/wiki/languages/Language.php(1560): Language->sprintfDate('H:i, j F Y', false)
#6 /Users/sky/Sites/brandonsky11o/g/wiki/extensions/FlaggedRevs/FlaggedRevsLogs.php(110): Language->timeanddate('143570622090546', false, false)
#7 /Users/sky/Sites/brandonsky11o/g/wiki/extensions/FlaggedRevs/FlaggedRevsLogs.php(47): FlaggedRevsLogs::stabilitySettings(Array, false)
#8 [internal function]: FlaggedRevsLogs::stabilityLogText('stable', 'config', Object(Title), Object(SkinMonoBook), Array, true)
#9 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogPage.php(297): call_user_func_array('FlaggedRevsLogs...', Array)
#10 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(343): LogPage::actionText('stable', 'config', Object(Title), Object(SkinMonoBook), Array, true)
#11 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(298): LogEventsList->logAction(Object(stdClass), Object(Title), Array)
#12 /Users/sky/Sites/brandonsky11o/g/wiki/includes/LogEventsList.php(981): LogEventsList->logLine(Object(stdClass))
#13 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Pager.php(317): LogPager->formatRow(Object(stdClass))
#14 /Users/sky/Sites/brandonsky11o/g/wiki/includes/specials/SpecialLog.php(114): IndexPager->getBody()
#15 /Users/sky/Sites/brandonsky11o/g/wiki/includes/specials/SpecialLog.php(78): SpecialLog->show(Object(FormOptions), Array)
#16 /Users/sky/Sites/brandonsky11o/g/wiki/includes/SpecialPage.php(578): SpecialLog->execute(NULL)
#17 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Wiki.php(262): SpecialPage::executePath(Object(Title))
#18 /Users/sky/Sites/brandonsky11o/g/wiki/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#19 /Users/sky/Sites/brandonsky11o/g/wiki/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#20 {main}
Comment 1 Aaron Schulz 2012-07-07 01:40:25 UTC
I don't have this problem on MediaWiki & FlaggedRevs on git master. I can tell from the paths in the error that it is an older version of the code. I don't know what version of core/extensions are being used there.
Comment 2 Aaron Schulz 2012-07-07 17:02:03 UTC
This can't be resolved without any version information. I suspect its a new version of core and an old extension version.
Comment 3 Aaron Schulz 2012-07-14 02:15:55 UTC
Closed; lacking information.
Comment 4 Brandon Sky 2012-07-14 16:13:33 UTC
Here's my version: REL_1_17. Requesting a reopen of this bug.
Comment 5 Aaron Schulz 2012-07-14 19:01:43 UTC
(In reply to comment #4)
> Here's my version: REL_1_17. Requesting a reopen of this bug.

For both core and extensions?
Comment 6 Brandon Sky 2012-07-14 22:05:47 UTC
yes
Comment 7 Aaron Schulz 2012-07-15 04:12:48 UTC
I can reproduce the exception with by running some code in eval.php:
echo $wgLang->timeanddate('143570622090546', false, false);

Also, running:
var_dump( wfTimestamp( TS_MW, '143570622090546' ) );
...give "false". That number is way too high too be TS_UNIX (e.g. time()).

What does the SQL "SELECT * FROM /*your db prefix*/flaggedpage_config WHERE fpc_expiry <> 'infinity' ORDER BY fpc_expiry DESC LIMIT 20" give? Also are you using MySQL or something else?
Comment 8 Brandon Sky 2012-07-15 05:24:02 UTC
using SQLite 3.6.12; mediawiki 1.17.3.
Comment 9 Aaron Schulz 2012-07-20 02:40:21 UTC
So what's the result of that query? I don't see how a 15 char timestamp ended up in a varchar(14).
Comment 10 Brandon Sky 2012-07-20 09:06:49 UTC
Appears to be happening only when accessing the stability sub-log. Closing.

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


Navigation
Links