<分区>
<分区>
我已经更改了我的服务器并尝试将 Opencart 网站从旧服务器转移到新服务器,但我这边无法在新服务器上工作 我发现以下错误 fatal error :require_once()
Warning: require_once(/home/haratist/public_html/system/startup.php): failed to open stream: No such file or directory in /home/haratistore/public_html/index.php on line 16
Fatal error: require_once(): Failed opening required '/home/haratist/public_html/system/startup.php' (include_path='.:/opt/php55/lib/php/php') in /home/haratistore/public_html/index.php on line 16
我的域名是 http://haratistore.com/
最佳答案
您显然在新服务器上重命名了您的用户并使用了绝对路径,因为您可以看到require
d 路径:
/home/haratist/public_html/system/
以及你的文件所在的路径:
/home/haratistore/public_html/
你看出区别了吗?您需要在元素的所有绝对路径中将 haratist
替换为 haratistore
。希望不会有很多。
关于php - 发现 fatal error : While Transfering website One server to another Server,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36793823/