I have written a successor to AuthJoomla2: AuthJoomla 2023
I wonder if anyone is still interested.
I have written a successor to AuthJoomla2: AuthJoomla 2023
I wonder if anyone is still interested.
Hi,
How to configure MediaWiki Login plugin in Joomla!? I mean Cookie Prefix and Cookie Path.
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.
Two users and more need help for this issue. Bridge Joomla 3.X + AuthJoomla2
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
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
When using other extensions via command line (in my case, completing HaloACL's setup), a simple patch is needed :
Line 36
- require_once ( 'includes/AuthPlugin.php' );
+ require_once ( dirname(__FILE__) . '/../../includes/AuthPlugin.php' );
It would be most helpful if you could provide more detailed info on how to modify the following parameters ;
The first four are easy enough I think.
The fifth ($wgAuthJoomla_TablePrefix) is hard to identify.
The last, ($wgAuthJoomla_Path) does not exist at all within the code as far as I can tell.
Maybe adding some more comment lines to document where to make substitutions so beginners don't struggle.