繁体   English   中英

致命错误:require_once():需要打开失败

[英]Fatal error: require_once(): Failed opening required

这是我第一次上载网站-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

可以请人帮我吗?

该错误实际上看起来很清楚。 文件:

/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes/defines.php

您的托管帐户上似乎不存在。 将该路径与尝试引用define.php的index.php文件之一进行比较,似乎正确。

我建议您确认以下文件正确上传了define.php文件:

/home/ecoconst/public_html/IndianRestaurantMumbai.com/includes

如果是这样,请确保其权限为644或755。

如果这是现有的Joomla,并且文件丢失,建议您与托管服务提供商联系,看看他们是否正在使用ConfigServer eXploit扫描仪(cxs)。 如果您的Joomla受到感染,则扫描仪通常会隔离文件,从而导致类似的问题。

我找到了解决方案,只是.htaccess在寻找首页“ index.html”,而我的.html文件是“ Index.html”,大写“ I”,因此我将其重命名,一切都很好。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM