Page MenuHomePhabricator

Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\xxx\mediawiki\vendor\composer\ClassLoader.php on line 444
Closed, DeclinedPublicBUG REPORT

Description

Steps to Reproduce:

  1. Have a working install of 1.34.1
  2. Download archive from the MediaWiki page : https://releases.wikimedia.org/mediawiki/1.34/mediawiki-1.34.2.tar.gz
  3. Uncompress it
  4. Try to do maintenance/update.php
  5. The following error appears :
php maintenance\update.php

Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\xxx\mediawiki\vendor\composer\ClassLoader.php on line 444

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

Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\xxx\mediawiki\vendor\composer\ClassLoader.php on line 444

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

Fatal error: Uncaught Error: Interface 'Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface' not found in C:\xxx\mediawiki\includes\libs\stats\IBufferingStatsdDataFactory.php:11
Stack trace:
#0 C:\xxx\mediawiki\includes\AutoLoader.php(109): require()
#1 [internal function]: AutoLoader::autoload('IBufferingStats...')
#2 C:\xxx\mediawiki\includes\libs\stats\NullStatsdDataFactory.php(10): spl_autoload_call('IBufferingStats...')
#3 C:\xxx\mediawiki\includes\AutoLoader.php(109): require('C:\\inetpub\\mediawiki\\i...')
#4 [internal function]: AutoLoader::autoload('NullStatsdDataF...')
#5 C:\xxx\mediawiki\includes\libs\objectcache\wancache\WANObjectCache.php(284): spl_autoload_call('NullStatsdDataF...')
#6 C:\xxx\mediawiki\includes\ServiceWiring.php(410): WANObjectCache->__construct(Array)
#7 C:\xxx\mediawiki\includes\libs\services\ServiceContainer.php(458): Wikimedia\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices))
#8 C:\xxx\mediawiki\includes\libs\services\ServiceContainer.php(427): Wikimedia\Services\ServiceContainer->createSer in C:\xxx\mediawiki\includes\libs\stats\IBufferingStatsdDataFactory.php on line 11

Actual Results:

  1. Unable to run update and blank page on the website

Expected Results:

  1. The package untars well

Event Timeline

Tuxxic renamed this task from Warning: include(C:\inetpub\kb\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\inetpub\kb\vendor\composer\ClassLoader.php on line 444 to Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\inetpub\kb\vendor\composer\ClassLoader.php on line 444.Jul 31 2020, 9:40 AM
Tuxxic renamed this task from Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\inetpub\kb\vendor\composer\ClassLoader.php on line 444 to Warning: include(C:\xxx\mediawiki\vendor\composer/../liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php): failed to open stream: No such file or directory in C:\xxx\mediawiki\vendor\composer\ClassLoader.php on line 444.

Are you using 7zip?

Seems related to T257102

Aklapper changed the task status from Open to Stalled.Aug 22 2020, 8:03 AM

@Tuxxic: Could you please answer the last comment? Thanks in advance!

Unfortunately closing this Phabricator task as no further information has been provided.

@Tuxxic: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!