这个问题在这里已有答案:
我已经更改了我的服务器并尝试将Opencart网站从旧服务器转移到新服务器但我的一方不在新服务器中工作我发现以下错误致命错误:require_once()
警告:require_once(/home/haratist/public_html/system/startup.php):无法打开流:第16行/home/haratistore/public_html/index.php中没有此类文件或目录致命错误:require_once():在第16行的/home/haratistore/public_html/index.php中打开所需的'/home/haratist/public_html/system/startup.php'(include_path =' . :/ opt / php55 / lib / php / php')失败
我的domanin名字是http://haratistore.com/
1 回答
您显然在新服务器上重命名了用户并使用绝对路径,因为您可以看到
require
d路径:和你的文件的路径:
你看得到差别吗?您需要在项目的所有绝对路径中将
haratist
替换为haratistore
. 希望不会有很多 .