Skin talk:Daddio

About this board

Uncaught Error: Call to private method ModernTemplate::customBox() from context 'DaddioTemplate'

2
95.55.4.98 (talkcontribs)

PHP Fatal error:  Uncaught Error: Call to private method ModernTemplate::customBox() from context 'DaddioTemplate' in /home/web/zkoshak/www/w/skins/Daddio/Daddio.skin.php:113

Stack trace:

#0 /home/web/zkoshak/www/w/includes/skins/SkinTemplate.php(217): DaddioTemplate->execute()

#1 /home/web/zkoshak/www/w/includes/OutputPage.php(2574): SkinTemplate->outputPage()

#2 /home/web/zkoshak/www/w/includes/exception/MWExceptionRenderer.php(134): OutputPage->output()

#3 /home/web/zkoshak/www/w/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML()

#4 /home/web/zkoshak/www/w/includes/exception/MWExceptionHandler.php(121): MWExceptionRenderer::output()

#5 /home/web/zkoshak/www/w/includes/exception/MWExceptionHandler.php(195): MWExceptionHandler::report()

#6 /home/web/zkoshak/www/w/includes/exception/MWExceptionHandler.php(167): MWExceptionHandler::handleException()

#7 [internal function]: MWExceptionHandler::handleUncaughtException()

#8 {main}

  thrown in /home/web/zkoshak/www/w/skins/Daddio/Daddio.skin.php on line 113

95.55.4.98 (talkcontribs)

MW 1.34.2

Reply to "Uncaught Error: Call to private method ModernTemplate::customBox() from context 'DaddioTemplate'"

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
Return to "Daddio" page.