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

XF 1.4 Mkdir problem

Discussion in 'Troubleshooting and Problems' started by megosa, Apr 26, 2015.

  1. megosa

    megosa Member

    Hi.

    I just install my VPS and i have this error when i want change option in xenforo

    Code:
    Server Error
    
    
    mkdir(): Permission denied
    
    XenForo_Application::handlePhpError()
    mkdir() in XenForo/Helper/File.php at line 72
    XenForo_Helper_File::createDirectory() in XenForo/Template/FileHandler.php at line 74
    XenForo_Template_FileHandler->_createTemplateDirectory() in XenForo/Template/FileHandler.php at line 107
    XenForo_Template_FileHandler->_deleteTemplate() in XenForo/Template/FileHandler.php at line 67
    XenForo_Template_FileHandler::delete() in XenForo/Model/Template.php at line 2013
    XenForo_Model_Template->deleteTemplateFiles() in XenForo/Option/TemplateFiles.php at line 27
    XenForo_Option_TemplateFiles::verifyOption()
    call_user_func_array() in XenForo/DataWriter/Option.php at line 346
    XenForo_DataWriter_Option->_validateOptionValuePreSave() in XenForo/DataWriter/Option.php at line 211
    XenForo_DataWriter_Option->_preSave() in XenForo/DataWriter.php at line 1446
    XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1385
    XenForo_DataWriter->save() in XenForo/Model/Option.php at line 572
    XenForo_Model_Option->updateOptions() in XenForo/ControllerAdmin/Option.php at line 179
    XenForo_ControllerAdmin_Option->actionSave() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /var/www/clients/client1/web1/web/admin.php at line 13

    My data and internal_data folder is chmod 777


    Thanks for help.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Make sure the directory/parent directory is owned by the Apache user.

    You may need to chown.
     

Share This Page