XF 1.5 Upgrading throws an error!

NeoCHI

Active member
While updating one of my forums from 1.4.x (forget exactly which version it was) to 1.5.1 I got the following error:


Server Error
include(/home/xxx/public_html/library/XenForo/Model/AdminTemplate.php): failed to open stream: Permission denied

  1. XenForo_Application::handlePhpError() in XenForo/Autoloader.php at line 119
  2. XenForo_Autoloader::autoload() in XenForo/Autoloader.php at line 119
  3. XenForo_Autoloader->autoload() in XenForo/Application.php at line 1050
  4. XenForo_Application::autoload() in XenForo/Application.php at line 465
  5. XenForo_Application::resolveDynamicClass() in XenForo/Model.php at line 189
  6. XenForo_Model::create() in XenForo/Model.php at line 113
  7. XenForo_Model->getModelFromCache() in XenForo/Model/Template.php at line 1298
  8. XenForo_Model_Template->compileAllTemplates() in XenForo/Deferred/Template.php at line 36
  9. XenForo_Deferred_Template->execute() in XenForo/Deferred/Atomic.php at line 66
  10. XenForo_Deferred_Atomic->execute() in XenForo/Model/Deferred.php at line 295
  11. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
  12. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 355
  13. XenForo_Model_Deferred->runByUniqueKey() in XenForo/Install/Controller/Abstract.php at line 34
  14. XenForo_Install_Controller_Abstract->_manualDeferredRunner() in XenForo/Install/Controller/Upgrade.php at line 221
  15. XenForo_Install_Controller_Upgrade->actionRunDeferred() in XenForo/FrontController.php at line 351
  16. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  17. XenForo_FrontController->run() in /home/xxx/public_html/install/index.php at line 18

I upgraded like 3 other forums without issues...what's wrong with this one?
 
Looks like a file problem. Make sure that file exists (library/XenForo/Model/AdminTemplate.php). Also make sure the permissions on that file are appropriate. Depending on how your server is configured, PHP files are usually 644 and directories are 755.
 
Back
Top Bottom