Jump to content

Topic on Skin talk:Daddio/Flow

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"