Page MenuHomePhabricator

AFTv5: The token parameter must be set
Closed, ResolvedPublic

Description

2012-11-01 16:48:49 srv213 enwiki: [3eb5bf63] /w/index.php?title=If_I_Had_to_Do_It_All_Over_Again&action=submit Exception from line 1205 of /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiBasepiBase.php: The token parameter must be set
#0 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiBase.php(1387): ApiBase->dieUsage('The token param...', 'notoken')
#1 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiBase.php(957): ApiBase->dieUsageMsg(Array)
#2 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiBase.php(673): ApiBase->getParameterFromSettings('token', Array, true)
#3 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiMain.php(697): ApiBase->extractRequestParams()
#4 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiMain.php(806): ApiMain->setupModule()
#5 /usr/local/apache/common-local/php-1.21wmf2/includes/api/ApiMain.php(347): ApiMain->executeAction()
#6 /usr/local/apache/common-local/php-1.21wmf2/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php(705): ApiMain->execute()
#7 /usr/local/apache/common-local/php-1.21wmf2/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php(645): ArticleFeedbackv5Hooks::trackEvent('edit_attempt', Object(Title), 471610537)
#8 [internal function]: ArticleFeedbackv5Hooks::trackEditAttempt(Object(EditPage))
#9 /usr/local/apache/common-local/php-1.21wmf2/includes/Hooks.php(253): call_user_func_array('ArticleFeedback...', Array)
#10 /usr/local/apache/common-local/php-1.21wmf2/includes/GlobalFunctions.php(3819): Hooks::run('EditPage::attem...', Array)
#11 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1217): wfRunHooks('EditPage::attem...', Array)
#12 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(1110): EditPage->internalAttemptSave(false, false)
#13 /usr/local/apache/common-local/php-1.21wmf2/includes/EditPage.php(396): EditPage->attemptSave()
#14 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(51): EditPage->edit()
#15 /usr/local/apache/common-local/php-1.21wmf2/includes/actions/EditAction.php(71): EditAction->show()
#16 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(428): SubmitAction->show()
#17 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(305): MediaWiki->performAction(Object(Article))
#18 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest()
#19 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main()
#20 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run()
#21 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#22 {main}


Version: unspecified
Severity: normal

Details

Reference
bz41643

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:03 AM
bzimport set Reference to bz41643.
bzimport added a subscriber: Unknown Object (MLST).

[16:49:06] <john__> hi. trying to save edits at http://en.wikipedia.org/wiki/If_I_Had_to_Do_It_All_Over_Again and i get message "[3eb5bf63] 2012-11-01 16:48:49: Fatal exception of type UsageException"

(In reply to comment #2)

It's caused by outdated, cached JS. Fix in Gerrit:
https://gerrit.wikimedia.org/r/#/c/33080/

Status Merged