Topic on Extension talk:AuthJoomla2/Flow

98.174.255.150 (talkcontribs)

Generates sporadic errors:

CAS update failed on user_touched for user ID '10' (read from slave); the version of the user to be saved is older than the current version.

#0 /home/seriou37/public_html/secure/secwiki/extensions/AuthJoomlaEasy/AuthJoomlaEasy.php(366): User->saveSettings()

#1 /home/seriou37/public_html/secure/secwiki/extensions/AuthJoomlaEasy/AuthJoomlaEasy.php(138): AuthJoomla2->updateUser(User)

#2 [internal function]: Auth_joomla_autologin_hook(User, NULL)

#3 /home/seriou37/public_html/secure/secwiki/includes/Hooks.php(195): call_user_func_array(string, array)

#4 /home/seriou37/public_html/secure/secwiki/includes/user/User.php(1196): Hooks::run(string, array, string)

#5 /home/seriou37/public_html/secure/secwiki/includes/user/User.php(408): User->loadFromSession()

#6 /home/seriou37/public_html/secure/secwiki/includes/user/User.php(2069): User->load()

#7 /home/seriou37/public_html/secure/secwiki/includes/user/User.php(3363): User->getId()

#8 /home/seriou37/public_html/secure/secwiki/includes/MediaWiki.php(690): User->isLoggedIn()

#9 /home/seriou37/public_html/secure/secwiki/includes/MediaWiki.php(519): MediaWiki->main()

#10 /home/seriou37/public_html/secure/secwiki/index.php(43): MediaWiki->run()

#11 {main}

Attempting to save edits results in error:

Sorry! We could not process your edit due to a loss of session data.

You might have been logged out. Please verify that you're still logged in and try again. If it still does not work, try logging out and logging back in, and check that your browser allows cookies from this site.

Logging in and out makes no difference, nor does clearing the cache.

Zer00CooL (talkcontribs)

Two users and more need help for this issue. Bridge Joomla 3.X + AuthJoomla2

My search in french : https://www.visionduweb.eu/wiki/index.php?title=Gerer_et_installer_des_extensions_avec_MediaWiki

Same errors :

2016-11-07 11:47:43: Fatal exception of type MWException

À la fin du fichier LocalSettings.php ajouter : $wgShowExceptionDetails = true;

Permet d'afficher les détails de l'erreur. L'erreur affiche maintenant :

MWException from line 3811 of /htdocs/wiki/includes/user/User.php: CAS update failed on user_touched for user ID '3' (read from slave); the version of the user to be saved is older than the current version.

Backtrace

  1. 0 /htdocs/wiki/extensions/AuthJoomlaEasy/AuthJoomlaEasy.php(366): User->saveSettings()
  2. 1 /htdocs/wiki/extensions/AuthJoomlaEasy/AuthJoomlaEasy.php(138): AuthJoomla2->updateUser(User)
  3. 2 [internal function]: Auth_joomla_autologin_hook(User, NULL)
  4. 3 /htdocs/wiki/includes/Hooks.php(195): call_user_func_array(string, array)
  5. 4 /htdocs/wiki/includes/user/User.php(1196): Hooks::run(string, array, string)
  6. 5 /htdocs/wiki/includes/user/User.php(408): User->loadFromSession()
  7. 6 /htdocs/wiki/includes/user/User.php(5043): User->load()
  8. 7 /htdocs/wiki/includes/user/User.php(2750): User->loadOptions()
  9. 8 /htdocs/wiki/includes/context/RequestContext.php(363): User->getOption(string)
  10. 9 /htdocs/wiki/includes/Message.php(679): RequestContext->getLanguage()
  11. 10 /htdocs/wiki/includes/context/RequestContext.php(457): Message->setContext(RequestContext)
  12. 11 [internal function]: RequestContext->msg(string)
  13. 12 /htdocs/wiki/includes/context/ContextSource.php(190): call_user_func_array(array, array)
  14. 13 /htdocs/wiki/includes/OutputPage.php(973): ContextSource->msg(string)
  15. 14 /htdocs/wiki/includes/page/Article.php(504): OutputPage->setPageTitle(string)
  16. 15 /htdocs/wiki/includes/actions/ViewAction.php(44): Article->view()
  17. 16 /htdocs/wiki/includes/MediaWiki.php(503): ViewAction->show()
  18. 17 /htdocs/wiki/includes/MediaWiki.php(288): MediaWiki->performAction(Article, Title)
  19. 18 /htdocs/wiki/includes/MediaWiki.php(745): MediaWiki->performRequest()
  20. 19 /htdocs/wiki/includes/MediaWiki.php(519): MediaWiki->main()
  21. 20 /htdocs/wiki/ index.php(43): MediaWiki->run()
  22. 21 {main}
  23. ------------------------ My way ------------------------
  24. # Ajouter cette ligne pourrait résoudre le problème ? Sans conviction - require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); (??)
  25. ---------
  26. # Une autre erreur Suite à la modification d'une page, l'erreur suivante est affichée, la page ne s'enregistre pas, ou, après plusieurs essais. Désolé, nous ne pouvons enregistrer votre modification à cause d’une perte d’informations concernant votre session. Vous avez peut-être été déconnecté. Veuillez vérifier que vous êtes toujours connecté et réessayer. Si cela échoue de nouveau, essayez en vous déconnectant, puis en vous reconnectant, et vérifiez que votre navigateur accepte les cookies de ce site.
  27. ---------
  28. Dans le fichier LocalSettings.php je n'ai pas configuré de cache. $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = [];
  29. ---------
  30. Il faudrait mettre un répertoire session a la racine du site ? Testé. Ne fonctionne pas mieux.
Reply to "Not working with 1.27"