• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Server error

#1
Hello everyone .
Error when upgrading to 1.5.5


file_put_contents(/public_html/internal_data/templates/S.0,L.0,account.css.php): failed to open stream: Permission denied

  1. XenForo_Application::handlePhpError()
  2. file_put_contents()inXenForo/Template/FileHandler.phpat line95
  3. XenForo_Template_FileHandler->_saveTemplate()inXenForo/Template/FileHandler.phpat line50
  4. XenForo_Template_FileHandler::save()inXenForo/Model/Template.phpat line1695
  5. XenForo_Model_Template->_insertCompiledTemplateRecord()inXenForo/Model/Template.phpat line1605
  6. XenForo_Model_Template->compileAndInsertParsedTemplate()inXenForo/Model/Template.phpat line1379
  7. XenForo_Model_Template->compileTemplateInStyleTree()inXenForo/Model/Template.phpat line1329
  8. XenForo_Model_Template->compileNamedTemplateInStyleTree()inXenForo/Model/Template.phpat line1268
  9. XenForo_Model_Template->compileAllTemplates()inXenForo/Deferred/Template.phpat line36
  10. XenForo_Deferred_Template->execute()inXenForo/Deferred/Atomic.phpat line66
  11. XenForo_Deferred_Atomic->execute()inXenForo/Model/Deferred.phpat line295
  12. XenForo_Model_Deferred->runDeferred()inXenForo/Model/Deferred.phpat line429
  13. XenForo_Model_Deferred->_runInternal()inXenForo/Model/Deferred.phpat line355
  14. XenForo_Model_Deferred->runByUniqueKey()inXenForo/Install/Controller/Abstract.phpat line34
  15. XenForo_Install_Controller_Abstract->_manualDeferredRunner()inXenForo/Install/Controller/Upgrade.phpat line221
  16. XenForo_Install_Controller_Upgrade->actionRunDeferred()inXenForo/FrontController.phpat line351
  17. XenForo_FrontController->dispatch()inXenForo/FrontController.phpat line134
  18. XenForo_FrontController->run()in/public_html/install/index.phpat line18
 

Brogan

XenForo moderator
Staff member
#2
This would indicate a permissions error.

Ensure the data and internal_data directories are recursively chmod 0777.

You can typically do that via your FTP application by right clicking on the directory.