Jump to content

Skin talk:Aether/Flow

About this board

200.73.241.79 (talkcontribs)

Al activarlo, el sitio se cae: HTTP ERROR 500

Reply to "No funciona"

Skin fails to load on MW 1.32

2
Noloader (talkcontribs)

The Aether skin is failing to load on Mediawiki 1.32.

Warning:  require_once(/var/www/html/w/skins/Aether/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/w/skins/Aether/SkinAether.php on line 10
Fatal error:  require_once(): Failed opening required '/var/www/html/w/skins/Aether/vendor/autoload.php' (include_path='/var/www/html/w:/var/www/html/w/includes:/var/www/html/w/languages:/var/www/html/w/vendor/pear/console_getopt:/var/www/html/w/vendor/pear/mail:/var/www/html/w/vendor/pear/mail_mime:/var/www/html/w/vendor/pear/net_smtp:/var/www/html/w/vendor/pear/net_socket:/var/www/html/w/vendor/pear/pear-core-minimal/src:/var/www/html/w/vendor/pear/pear_exception:.:/opt/rh/rh-php71/root/usr/share/pear:/opt/rh/rh-php71/root/usr/share/php') in /var/www/html/w/skins/Aether/SkinAether.php on line 10

And then:

skins# ls Aether/
Aether.php          COPYING                          SkinAether.php
AetherTemplate.php  JsonManifestNetworkStrategy.php  skin.json
composer.json       resources

Finally, our wiki has the file `autoload.php`:. It appears `SkinAether.php` is looking in the wrong place.

# find . -name autoload.php
./wiki-backup/autoload.php
./wiki-backup/vendor/squizlabs/php_codesniffer/autoload.php
./wiki-backup/vendor/autoload.php
./w/autoload.php
./w/vendor/squizlabs/php_codesniffer/autoload.php
./w/vendor/autoload.php
AgentIrons (talkcontribs)

I ran into the same issue on MW 1.34.

After fixing the directory in SkinAether.php, I ran into an issue with symfony/asset not being an installed component. I needed to install Composer on my machine, then create a composer.local.json in $IP with this component, and run $ composer install.

Finally I had to edit AetherTemplate.php line 367 to change wfRunHooks() (deprecated in MW 1.32) to Hooks::run().

Following these changes the skin now appears to function normally.

Reply to "Skin fails to load on MW 1.32"
There are no older topics