[英]Fatal error: require_once(): Failed opening required
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: 这是我第一次上载网站-http://indianrestaurantmumbai.com/ ,我已将所有必要的内容添加到我的文件夹中(我认为),并且它显示以下错误消息:
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
Can please someone help me out? 可以请人帮我吗?
The error actually seems clear. 该错误实际上看起来很清楚。 The file: 文件:
/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.php /home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.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的index.php文件之一进行比较,似乎正确。
I would recommend that you confirm that the file defines.php is properly uploaded in: 我建议您确认以下文件正确上传了define.php文件:
/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes /home/ecoconst/public_html/IndianRestaurantMumbai.com/includes
and if so, please make sure that it's permissions are 644 or 755. 如果是这样,请确保其权限为644或755。
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). 如果这是现有的Joomla,并且文件丢失,建议您与托管服务提供商联系,看看他们是否正在使用ConfigServer eXploit扫描仪(cxs)。 If your Joomla has been compromised, the scanner often quarantines files, resulting in similar issues. 如果您的Joomla受到感染,则扫描仪通常会隔离文件,从而导致类似的问题。
我找到了解决方案,只是.htaccess在寻找首页“ index.html”,而我的.html文件是“ Index.html”,大写“ I”,因此我将其重命名,一切都很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.