Talk:MediaWiki/fr

Jump to navigation Jump to search

About this board

Cette page est faite uniquement pour discuter de la page d'accueil.

Merci d'utiliser le Bac à Sable pour voir comme il est facile d'utiliser un wiki.

Problème installation MediaWiki

2
164.177.20.21 (talkcontribs)

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

LIMAFOX76 (talkcontribs)

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

Reply to "Problème installation MediaWiki"

Apprendre aux nouveaux contributeurs des langages

3
Azg V (talkcontribs)

Peut-on créer des pages d'aide pour l'apprentissage de langages tels que le PHP?

Azg V (talkcontribs)

Can we create help pages for learning languages such as PHP?

Frigory (talkcontribs)

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.)

Reply to "Apprendre aux nouveaux contributeurs des langages"

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

3
Thomaswwwhat (talkcontribs)

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!

This post was hidden by Clump (history)
Frigory (talkcontribs)

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.)

Reply to "Administrateurs spécifiques pour une page - directors for a specific page"
Rainstorm015 (talkcontribs)

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

Exception encountered, of type "Error" localhost

12
Thomaswwwhat (talkcontribs)

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?

Seb35 (talkcontribs)

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 (talkcontribs)

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 (talkcontribs)

(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)

Thomaswwwhat (talkcontribs)

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}

Seb35 (talkcontribs)

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.

Thomaswwwhat (talkcontribs)

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 ...

Seb35 (talkcontribs)

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 (talkcontribs)

@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: §Security

Thomaswwwhat (talkcontribs)

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?

Seb35 (talkcontribs)

La version 1.27.1 est prévue pour aujourd’hui, voir . 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 . You can subscribe to this mailing list, it’s about 1 message per month related to releases.

Seb35 (talkcontribs)
Reply to "Exception encountered, of type "Error" localhost"
There are no older topics