Jump to content

Topic on Skin talk:Daddio

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