我在plesk服务器上安装vtiger 6.5。 我收到500错误,这个错误:
mod_fcgid: stderr: PHP Warning: mkdir(): Permission denied in /vtigercrm/includes/runtime/Viewer.php on line 67
mod_fcgid: stderr: PHP Warning: mkdir(): Permission denied in vtigercrm/includes/runtime/Viewer.php on line 67
mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file vtigercrm/includes/runtime/../../test/templates_c/vlayout/wrt581a4659dfbd4' in vtigercrm/libraries/Smarty/libs/sysplugins/smarty_internal_write_file.php:44
mod_fcgid: stderr: Stack trace:
mod_fcgid: stderr: #0
vtigercrm/libraries/Smarty/libs/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/var/www/vhosts...', '<?php /* Smarty...', Object(Vtiger_Viewer))
mod_fcgid: stderr: #1 vtigercrm/libraries/Smarty/libs/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource()
mod_fcgid: stderr: #2 vtigercrm/libraries/Smarty/libs/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('modules/Vtiger/...', NULL, NULL, NULL, true)
mod_fcgid: stderr: #3 vtigercrm/libraries/Smarty/libs/sysplugins/smarty_internal_write_file.php on line 44
我尝试将权限设置为775并刷新apache:apache但仍然无法正常工作。
希望任何人都可以提供帮助
迎接
答案 0 :(得分:0)
我在.sh
中使用了这个chmod -R 775 vtigercrm chown -R:psaserv vtigercrm
答案 1 :(得分:0)
你应该这样试试。 sudo chmod -R 777 / var / www / html / vtigercrm