问题描述
这是我第一次上传网站- http://indianrestaurantmumbai.com/,我已经添加了所有内容我的文件夹所必需的(我认为),它给了我这个错误信息:
This is the first time I upload a site - http://indianrestaurantmumbai.com/ , I have added everything necessary to my folder (I think), and it gives me this error message:
Warning: require_once(/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.php): failed to open stream: No such file or directory in /home/ecoconst/public_html/IndianRestaurantMumbai.com/index.php on line 21
Fatal error: require_once(): Failed opening required '/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ecoconst/public_html/IndianRestaurantMumbai.com/index.php on line 21
可以请人帮我吗?
推荐答案
该错误实际上似乎很清楚.文件:
The error actually seems clear. The file:
您的托管帐户上似乎不存在
.将该路径与尝试引用define.php的index.php文件之一进行比较,似乎是正确的.
does not seem to exist on your hosting account. The path seems correct, comparing it with the one of your index.php file that tries to reference the defines.php.
我建议您确认文件define.php已正确上传到:
I would recommend that you confirm that the file defines.php is properly uploaded in:
,如果是,请确保其权限为644或755.
and if so, please make sure that it's permissions are 644 or 755.
如果这是现有的Joomla,并且文件丢失,建议您与托管服务提供商联系,看看他们是否正在使用ConfigServer eXploit扫描仪(cxs).如果您的Joomla受到感染,则扫描仪通常会隔离文件,从而导致类似的问题.
If this is an existing Joomla and the file is missing, I would recommend that you contact your hosting provider and see if they are using ConfigServer eXploit Scanner (cxs). If your Joomla has been compromised, the scanner often quarantines files, resulting in similar issues.
这篇关于致命错误:require_once():需要打开失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!