Mediawiki/Bugs

From Segfault
Jump to navigation Jump to search

update.php

maintenance/update.php prints the following:

Failed to set the local repo temp zone container to be private.

Reason: the update script is unable set permissions on images/temp[1]. In our case this was caused by the fact that images was owned by www-data and not by the user calling maintenance/update.php.

v1.26

maintenance/update.php

maintenance/update.php could not be run:

PHP Fatal error:  Call to undefined function MediaWiki\suppressWarnings() in ../maintenance/Maintenance.php on line 960

Reason: composer update has not been run yet.[2][3]

Vector #1

FastCGI: server "/var/www/fastcgi/php5.fastcgi" stderr: PHP message:
PHP Warning:  OutputPage::getModuleStyles: style module should define its position explicitly: skins.vector.styles
ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in ../includes/OutputPage.php at line 621] 
in ../includes/debug/MWDebug.php on line 300

Reason: the Vector skin was outdated[2].

Vector #2

FastCGI: server "/var/www/fastcgi/php5.fastcgi" stderr: PHP message:
PHP Fatal error:  Uncaught exception 'Exception' with message '../skins/Vector/skin.json does not exist!' in 
../includes/registration/ExtensionRegistry.php:106

Reason: skins/Vector/skin.json was indeed absent, but skins/vector/skin.json (with a lowercase "v") was present. A symlink fixed the issue for now.[4]

SyntaxHighlight_GeSHi

FastCGI: server "/var/www/fastcgi/php5.fastcgi" stderr: PHP message: 
PHP Fatal error:  Class 'KzykHys\\Pygments\\Pygments' not found 
in ../extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php on line 280

Reason: SyntaxHighlight moved from GeSHi to Pygments[5] and "composer update" must be run from the extensions directory.

Pygments

FastCGI: server "/var/www/fastcgi/php5.fastcgi" stderr: PHP message:
PHP Fatal error:  Call to undefined method Symfony\\Component\\Process\\Process::setStdin() in 
../extensions/SyntaxHighlight_GeSHi/vendor/kzykhys/pygments/src/KzykHys/Pygments/Pygments.php on line 65

Reason: compatibility issues?[6]

Composer

$ composer update;
> ComposerHookHandler::onPreUpdate
Deprecation Notice: The Composer\Package\LinkConstraint\VersionConstraint class is deprecated,
use Composer\Semver\Constraint\Constraint instead. in 
phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/VersionConstraint.php:17

Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated,
use Composer\Semver\Constraint\ConstraintInterface instead. in 
phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php:17

Reason: TBD[7]

ReferenceTooltips

Gadget "ReferenceTooltips" was not loaded. Please migrate it to use ResourceLoader.

v1.27

TBD

References