Not a bug Error on installing addon

Affected version


Formerly allewreK

I'm trying to upgrade an addon, but I got the following error :

ErrorException: [E_WARNING] mkdir(): Permission denied in src/XF/Util/File.phpat line 192
  1. XF::handlePhpError()
  2. mkdir() in src/XF/Util/File.php at line 192
  3. XF\Util\File::createDirectory() in src/XF/Util/File.php at line 214
  4. XF\Util\File::writeFile() in src/XF/DevelopmentOutput.php at line 541
  5. XF\DevelopmentOutput->writeFile() insrc/XF/DevelopmentOutput/TemplateModification.php at line 34
  6. XF\DevelopmentOutput\TemplateModification->export() insrc/XF/DevelopmentOutput.php at line 53
  7. XF\DevelopmentOutput->export() insrc/XF/Behavior/DevOutputWritable.php at line 31
  8. XF\Behavior\DevOutputWritable->postSave() insrc/XF/Mvc/Entity/Entity.php at line 1140
  9. XF\Mvc\Entity\Entity->save() insrc/XF/AddOn/DataType/TemplateModification.php at line 77
  10. XF\AddOn\DataType\TemplateModification->importAddOnData() insrc/XF/Job/AddOnData.php at line 108
  11. XF\Job\AddOnData->run() in src/XF/Job/Manager.php at line 241
  12. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line187
  13. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 103
  14. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  15. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 249
  16. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line88
  17. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line41
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1879
  19. XF\App->run() in src/XF.php at line 328
  20. XF::runApp() in admin.php at line 13
The strange thing is that internal_data and data got the good permissions chmod -R 777...


XenForo developer
Staff member
You have development mode enabled but you don't have permissions to write to the specific directory.

You shouldn't have development mode enabled unless you have a particular reason (and it shouldn't be enabled in production).