Skin talk:Daddio

Jump to navigation Jump to search

About this board

Class 'ModernTemplate' not found

2
95.157.2.243 (talkcontribs)

On Xammp php7.0.25 the version for mw1.27.4 has lots of errors  :

Fatal error:  Uncaught Exception: L:\xammp7025\htdocs\mw1274/skins/Daddio/skin.json does not exist!
 in L:\xammp7025\htdocs\mw1274\includes\registration\ExtensionRegistry.php:106 Stack trace:
 #0 L:\xammp7025\htdocs\mw1274\includes\GlobalFunctions.php(152): ExtensionRegistry->queue('L:\\xammp7025\\ht...')
 #1 L:\xammp7025\htdocs\mw1274\LocalSettings.php(140): wfLoadSkin('Daddio')
 #2 L:\xammp7025\htdocs\mw1274\includes\WebStart.php(124): require_once('L:\\xammp7025\\ht...')
 #3 L:\xammp7025\htdocs\mw1274\index.php(40): require('L:\\xammp7025\\ht...')
 #4 {main}  thrown in '''L:\xammp7025\htdocs\mw1274\includes\registration\ExtensionRegistry.php''' on line '''106'''

When using the master i get

'''Fatal error''':  Class 'ModernTemplate' not found in '''L:\xammp7025\htdocs\mw1274\skins\daddio\Daddio.skin.php''' on line '''33'''
Wargo (talkcontribs)

You need proper directory structure. Example: "skins/Daddio/skin.json". Make sure directory name has upper case first "D".

Reply to "Class 'ModernTemplate' not found"

Fatal error: Class 'ModernTemplate' not found in ...

1
Noloader (talkcontribs)

I'm using Mediawiki 1.32.4 on CentOS 7. I'm testing the Daddio skin. Attempting to load the skin results in:

Fatal error:  Class 'ModernTemplate' not found in /var/www/html/w/skins/Daddio/Daddio.skin.php on line 27

I believe we have the directory structure correct. After cloning into the skins/ folder, we performed a mv mediawiki-skins-Daddio/ Daddio:

skins# ls
Anisa        foreground  Modern    Poncho     Tempo     Vector
Cavendish    Gamepress   MonoBook  README     Timeless  WebPlatform
CologneBlue  Jony        Nimbus    README.md  Truglass  WPtouch
Daddio       LICENSE     Pivot     Refreshed  Tweeki

And:

skins]# ls Daddio
CODE_OF_CONDUCT.md  Daddio.php       i18n               screenshots
composer.json       Daddio.skin.php  package.json       skin.json
daddio              Gruntfile.js     package-lock.json

Finally:

skins# find . -iname '*ModernTemplate*'
skins#

Daddio is the only skin we are having trouble with.

Reply to "Fatal error: Class 'ModernTemplate' not found in ..."
There are no older topics