Jump to content

Talk:MediaWiki/fr

Add topic
From mediawiki.org
Latest comment: 5 years ago by LIMAFOX76 in topic Problème installation MediaWiki

Archives Template talk:Main page: 1 (pre-2020), 2 (original Flow board), 2020, 2022, 2023, 2024

Talk:MediaWiki (wikitext): 1 · 2 · 3 · 4 · 5 · 6

Talk:MediaWiki (Flow/LQT exports): 2012, 2013, 2014, 2015, 2016, 2019

Hidden topics: see history

Exception encountered, of type "Error" localhost

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello,

I just installed mediawiki locally and I have an error when I try to connect to the account that I created during installation.

After writing my password on the login page I have this message appears: Exception Encountered, of the type "Error".

Does anyone could help me please? Thomaswwwhat (talk) 10:45, 4 August 2016 (UTC)Reply

Ok, you should give some additional details:
  • Which MediaWiki version? (last stable 1.27, or another?)
  • Which PHP version? (5.5, 5.6, or 7.0 ?)
  • Do you have enabled some extensions in your LocalSettings.php? (with require_once or wfLoadExtension)
  • Can you add in your LocalSettings.php: $wgShowExceptionDetails = true; and post it – it will give more details on the exception ~ Seb35 [^_^] 11:49, 4 August 2016 (UTC)Reply
I had these messages with MediaWiki 1.23-1.25 with PHP 7 if I remember correctly. It was fixed in MediaWiki 1.26, so you should use at lease MediaWiki 1.26 if you really want PHP 7. Else use PHP 5.6.
If you are using other versions, please post these versions and additional details as said above. ~ Seb35 [^_^] 11:55, 4 August 2016 (UTC)Reply
(and I see it’s the French talk page; si vous voulez parler français, on peut continuer en français; else just ignore this remark) ~ Seb35 [^_^] 11:58, 4 August 2016 (UTC)Reply
Thank you for your prompt response !
I use the latest version of mediawiki 1.27. And local I use MAMP 3.5.2 with PHP version 7.0.8.
I added $wgShowExceptionDetails = true;  Here is the answer
[4ae028fc274d33d4774d138e] /index.php?title=Sp%C3%A9cial:Connexion&returnto=Accueil Error from line 426 of /Users/thomasviennet/Documents/sites/wwiki/includes/session/Session.php: Class 'MediaWiki\Session\UnexpectedValueException' not found
Backtrace:
#0 /Users/thomasviennet/Documents/sites/wwiki/includes/auth/AuthManager.php(2172): MediaWiki\Session\Session->setSecret(string, array)
#1 /Users/thomasviennet/Documents/sites/wwiki/includes/auth/ThrottlePreAuthenticationProvider.php(144): MediaWiki\Auth\AuthManager->setAuthenticationSessionData(string, array)
#2 /Users/thomasviennet/Documents/sites/wwiki/includes/auth/AuthManager.php(306): MediaWiki\Auth\ThrottlePreAuthenticationProvider->testForAuthentication(array)
#3 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/AuthManagerSpecialPage.php(355): MediaWiki\Auth\AuthManager->beginAuthentication(array, string)
#4 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/AuthManagerSpecialPage.php(484): AuthManagerSpecialPage->performAuthenticationStep(string, array)
#5 /Users/thomasviennet/Documents/sites/wwiki/includes/htmlform/HTMLForm.php(613): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)
#6 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/AuthManagerSpecialPage.php(418): HTMLForm->trySubmit()
#7 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/LoginSignupSpecialPage.php(293): AuthManagerSpecialPage->trySubmit()
#8 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/SpecialPage.php(479): LoginSignupSpecialPage->execute(NULL)
#9 /Users/thomasviennet/Documents/sites/wwiki/includes/specialpage/SpecialPageFactory.php(576): SpecialPage->run(NULL)
#10 /Users/thomasviennet/Documents/sites/wwiki/includes/MediaWiki.php(282): SpecialPageFactory::executePath(Title, RequestContext)
#11 /Users/thomasviennet/Documents/sites/wwiki/includes/MediaWiki.php(745): MediaWiki->performRequest()
#12 /Users/thomasviennet/Documents/sites/wwiki/includes/MediaWiki.php(519): MediaWiki->main()
#13 /Users/thomasviennet/Documents/sites/wwiki/index.php(43): MediaWiki->run()
#14 {main} Thomaswwwhat (talk) 15:42, 4 August 2016 (UTC)Reply
Thanks! I don’t have the time just now, but probably in some hours. Given the first line it seems to be a bug (possible since AuthManager is new in MW 1.27), perhaps alreadly in [https:phabricator.wikimedia.org Phabricator] if you want to search. ~ Seb35 [^_^] 15:48, 4 August 2016 (UTC)Reply
Thank you for your help. I'm thin and I'm quickly lost with that. Especially when it's in English: p I am French ... Thomaswwwhat (talk) 16:30, 4 August 2016 (UTC)Reply
C’est le bug T136587. Si vous voulez corriger rapidement le problème, installer les paquets Debian/Ubuntu php7.0-mcrypt et/ou php7.0-openssl semble fonctionner -> disant cela, vous êtes sous Mac, je ne connais pas bien, je sais juste que Homebrew est souvent utilisé. Sinon ça sera de toutes façons corrigé dans MediaWiki 1.27.1. (voir le bug pour les détails)
This is the issue T136587. If you want to quickly fix the issue, you can try to install the Debian/Ubuntu packages php7.0-mcrypt and/or php7.0-openssl -> saying this you use Mac and I don’t know it well, I just know Mac users often use Homebrew. Anyway it will be fixed in MediaWiki 1.27.1. (see the bug for details) ~ Seb35 [^_^] 22:54, 4 August 2016 (UTC)Reply
@Thomaswwwhat: Ça sera corrigé dans MediaWiki 1.27.1 qui devrait sortir dans quelques jours.
It will be fixed in MediaWiki 1.27.1, which should be released in some days.
Source: [1] §Security ~ Seb35 [^_^] 20:08, 8 August 2016 (UTC)Reply
Bonjour,
Merci beaucoup pour votre aide. Est-ce que vous savez quand devrait sortir la version 1.27.1 s'il vous plait ?
-
Hello,
Thanks a lot for your help. Do you know when will be released the 1.27.1 version please? Thomaswwwhat (talk) 12:59, 19 August 2016 (UTC)Reply
La version 1.27.1 est prévue pour aujourd’hui, voir [2]. Vous pouvez vous inscrire à cette liste de diffusion d’environ 1 message par mois à propos des sorties de versions.
-
The 1.27.1 release is scheduled to be today, see [3]. You can subscribe to this mailing list, it’s about 1 message per month related to releases. ~ Seb35 [^_^] 10:07, 22 August 2016 (UTC)Reply
@Thomaswwwhat: It’s available! Does it work? ~ Seb35 [^_^] 10:39, 23 August 2016 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Administrateurs spécifiques pour une page - directors for a specific page

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Bonjour,

Est-ce qu'il est possible lorsque je crée une page de définir une liste de personnes précises pouvant la modifier ?

Je vous remercie par avance pour votre aide !

--------

Hello,

Is it possible when I create a page to define a list of specific people can change?

Thank you in advance for your help! Thomaswwwhat (talk) 14:07, 19 August 2016 (UTC)Reply

Je suis administrateur sur Wikiversité en français, et quand je vais sur la page pour protéger une page, il n’y a pas d’option pour faire ça. (Peut-être qu’il y a un autre moyen, mais il m’est inconnu.) Frigory (talk) 21:47, 16 April 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Problem with skin and WYSIWYG

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hello,

last week, I made a skin by using the Foundation framework, it's pretty cool but I have a problem when I edit a page.

I just have the text area and no editor.

I use MediaWiki 1.28 and the editor WYSIWYG.

Can you help me please ?

Thank you in advance.

Raintorm015 Rainstorm015 (talk) 08:50, 26 June 2017 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Apprendre aux nouveaux contributeurs des langages

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Peut-on créer des pages d'aide pour l'apprentissage de langages tels que le PHP? Azg V (talk) 10:15, 28 February 2019 (UTC)Reply

Can we create help pages for learning languages such as PHP? Azg V (talk) 10:17, 28 February 2019 (UTC)Reply
Si c’est pour un apprentissage général du PHP sans lien suffisamment direct avec MediaWiki, non. Par contre ce serait très adapté sur Wikilivres ou Wikiversité. D’ailleurs il y a probablement déjà des contenus de ce genre : v:PHP et b:Programmation PHP.
Est-ce un manuel MediaWiki que tu souhaites faire ? (Si c’est le cas, je ne sais pas quelle est la procédure.) Frigory (talk) 21:30, 16 April 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Problème installation MediaWiki

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Bonjour,

sur un PC avec ubuntu 20.04 LTS avec serveur xamp 7.4.8-0 et la version de mediawiki 1.34.2 (mais idem avec 1.33.4) lorsque l'on souhaite clique sur le liens swet up wiki, voici le message d'erreur


Warning: include(/opt/lampp/htdocs/mediawiki/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php): failed to open stream: Aucun fichier ou dossier de ce type in /opt/lampp/htdocs/mediawiki/vendor/composer/ClassLoader.php on line 444

Warning: include(): Failed opening '/opt/lampp/htdocs/mediawiki/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php' for inclusion (include_path='/opt/lampp/htdocs/mediawiki/vendor/pear/console_getopt:/opt/lampp/htdocs/mediawiki/vendor/pear/mail:/opt/lampp/htdocs/mediawiki/vendor/pear/mail_mime:/opt/lampp/htdocs/mediawiki/vendor/pear/net_smtp:/opt/lampp/htdocs/mediawiki/vendor/pear/net_socket:/opt/lampp/htdocs/mediawiki/vendor/pear/pear-core-minimal/src:/opt/lampp/htdocs/mediawiki/vendor/pear/pear_exception:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/mediawiki/vendor/composer/ClassLoader.php on line 444

Warning: include(/opt/lampp/htdocs/mediawiki/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php): failed to open stream: Aucun fichier ou dossier de ce type in /opt/lampp/htdocs/mediawiki/vendor/composer/ClassLoader.php on line 444

Warning: include(): Failed opening '/opt/lampp/htdocs/mediawiki/vendor/composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactory.php' for inclusion (include_path='/opt/lampp/htdocs/mediawiki/vendor/pear/console_getopt:/opt/lampp/htdocs/mediawiki/vendor/pear/mail:/opt/lampp/htdocs/mediawiki/vendor/pear/mail_mime:/opt/lampp/htdocs/mediawiki/vendor/pear/net_smtp:/opt/lampp/htdocs/mediawiki/vendor/pear/net_socket:/opt/lampp/htdocs/mediawiki/vendor/pear/pear-core-minimal/src:/opt/lampp/htdocs/mediawiki/vendor/pear/pear_exception:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/mediawiki/vendor/composer/ClassLoader.php on line 444

Fatal error: Uncaught Error: Class 'Liuggio\StatsdClient\Factory\StatsdDataFactory' not found in /opt/lampp/htdocs/mediawiki/includes/libs/stats/BufferingStatsdDataFactory.php:35 Stack trace: #0 /opt/lampp/htdocs/mediawiki/includes/AutoLoader.php(109): require() #1 [internal function]: AutoLoader::autoload('BufferingStatsd...') #2 /opt/lampp/htdocs/mediawiki/includes/ServiceWiring.php(836): spl_autoload_call('BufferingStatsd...') #3 /opt/lampp/htdocs/mediawiki/includes/libs/services/ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices)) #4 /opt/lampp/htdocs/mediawiki/includes/libs/services/ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createService('StatsdDataFacto...') #5 /opt/lampp/htdocs/mediawiki/includes/MediaWikiServices.php(1030): Wikimedia\Services\ServiceContainer->getService('StatsdDataFacto...') #6 /opt/lampp/htdocs/mediawiki/includes/ServiceWiring.php(404): MediaWiki\MediaWikiServices->getStatsdDataFactory() #7 /opt/lampp/htdocs/mediawik in /opt/lampp/htdocs/mediawiki/includes/libs/stats/BufferingStatsdDataFactory.php on line 35


alors que sur le même poste avec les même version de PHP, Mysql, Apache j'ai réussi a installer wordpress.

avez-vous des idées ?


Pas avance merci 164.177.20.21 (talk) 14:59, 18 August 2020 (UTC)Reply

Bonjour, il semblerait que Composer n'a pas été mis à jour. Il faudrait mettre à jour au niveau du répertoire racine avec la commande
composer update --no-dev --prefer-source
Cette commande mettra à jour tous les composants nécessaire présents dans le fichier composer.json et composer.local.json LIMAFOX76 (talk) 13:55, 25 August 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.