XF 2.0 Getting an error when saving style properties...

Jaxel

Well-known member
Whenever I change a property in my addon, I get the following error:
Code:
ErrorException: [E_WARNING] mkdir(): Permission denied in src/XF/Util/File.php at line 192
XF::handlePhpError()
mkdir() in src/XF/Util/File.php at line 192
XF\Util\File::createDirectory() in src/XF/Util/File.php at line 214
XF\Util\File::writeFile() in src/XF/DesignerOutput.php at line 387
XF\DesignerOutput->writeSpecialFile() in src/XF/DesignerOutput/StyleProperty.php at line 95
XF\DesignerOutput\StyleProperty->rebuildPropertyLessCache() in src/XF/DesignerOutput/StyleProperty.php at line 84
XF\DesignerOutput\StyleProperty->XF\DesignerOutput\{closure}() in src/XF.php at line 244
XF::triggerRunOnce() in src/XF/Mvc/Dispatcher.php at line 137
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13

All the directories are 777, so I don't know whats wrong.
 
This is trying to write the special style_properties.less hint file I believe.

That’s in the root of your _output directory so make sure that is 777 too.

Other than that it could be the ownership of the directories depending how they were created.
 
This is trying to write the special style_properties.less hint file I believe.

That’s in the root of your _output directory so make sure that is 777 too.

Other than that it could be the ownership of the directories depending how they were created.
All the directories were created by XenForo.

I can't chmod that file... getting permission errors.
 
Top Bottom