-
网站上传后程序出错
-
-
你好,我上传了企业网站管理系统(OEcms)v1.0,是按照视频的步骤一步一步操作的,可是不知道为什么出现了程序出错的问题。希望能得到解决方案。
Warning: file_put_contents() [function.file-put-contents]: open_basedir restriction in effect. File(/var/tmp/wrtNjxHuj) is not within the allowed path(s): (/usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs:/tmp) in /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_write_file.php on line 33
Warning: file_put_contents(/var/tmp/wrtNjxHuj) [function.file-put-contents]: failed to open stream: Operation not permitted in /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_write_file.php on line 33
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /var/tmp/wrtNjxHuj' in /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_write_file.php:35 Stack trace: #0 /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_template.php(272): Smarty_Internal_Write_File::writeFile('/usr/local/psa/...', '<?php /* Smarty...', Object(Smarty)) #1 /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_template.php(413): Smarty_Internal_Template->compileTemplateSource() #2 /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #3 /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #4 /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/ in /usr/local/psa/home/vhosts/daeinstrument.com.cn/httpdocs/include/library3.0/sysplugins/smarty_internal_write_file.php on line 35
-
3793 次浏览
2 条评论
收藏
2个评论
-
-
--
楼主 2020-12-01 10:00
-
解决了 ~ 谢谢~
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
您的空间权限不够,把文件的权限都改成777试试。
-
-
回复 · 0条回复
-
作者信息
-
关注
-
试
免费试用
-
咨询热线
-
咨询热线
020-82299 259
-
在线咨询