XF 2.0 Unable to revert template

DChapman

Member
I am trying to revert my extra.less template where I added:
Code:
.bbCodeBlock--expandable .bbCodeBlock-expandContent {
    max-height: 100%;
}

When I do, I get the following error:
Code:
ErrorException: [E_WARNING] unlink(/var/www/factomize/html/forums/internal_data/code_cache/templates/l0/s1/public/extra.less.php): Permission denied in src/vendor/league/flysystem/src/Adapter/Local.php at line 252
[LIST=1]
[*]XF::handlePhpError()
[*]unlink() in src/vendor/league/flysystem/src/Adapter/Local.php at line 252
[*]League\Flysystem\Adapter\Local->delete() in src/vendor/league/flysystem/src/Filesystem.php at line 236
[*]League\Flysystem\Filesystem->delete()
[*]call_user_func_array() in src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.phpat line 431
[*]League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod() insrc/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 395
[*]League\Flysystem\EventableFilesystem\EventableFilesystem->delegateMethodCall() insrc/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php at line 330
[*]League\Flysystem\EventableFilesystem\EventableFilesystem->delete()
[*]call_user_func_array() in src/vendor/league/flysystem/src/MountManager.php at line 269
[*]League\Flysystem\MountManager->invokePluginOnFilesystem() insrc/vendor/league/flysystem/src/MountManager.php at line 179
[*]League\Flysystem\MountManager->__call() in src/XF/Util/File.php at line 125
[*]XF\Util\File::deleteFromAbstractedPath() in src/XF/Service/Template/Compile.php at line 59
[*]XF\Service\Template\Compile->deleteCompiled() in src/XF/Entity/Template.php at line 452
[*]XF\Entity\Template->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1517
[*]XF\Mvc\Entity\Entity->delete() in src/XF/Admin/Controller/Template.php at line 251
[*]XF\Admin\Controller\Template->actionDelete() in src/XF/Mvc/Dispatcher.php at line 249
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
[*]XF\App->run() in src/XF.php at line 328
[*]XF::runApp() in admin.php at line 13
[/LIST]

Help please?
 
Back
Top Bottom