2016-04-22 4 views
0

私のサーバーを変更しました& Opencart Webサイトを古いサーバーから新しいサーバーに移行しようとしましたが、 require_once()致命的なエラー:Webサイトのサーバーを別のサーバーに転送しています

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

私domanin名前がrequire Dパスを見ることができるので、あなたは明らかに、新しいサーバー上のユーザーの名前を変更して、絶対パスを使用http://haratistore.com/

+0

すべてのファイルがコピーされていますか?これは、システム/ディレクトリが見逃されたように思えます。 – iainn

+4

ここに回答があります:http://stackoverflow.com/questions/36577020/failed-to-open-stream-no-such-file-or-directory/36577021#36577021 –

答えて

0

です:

/home/haratist/public_html/system/ 

と、あなたのファイルがあるパス:

/home/haratistore/public_html/ 

あなたは違いを参照していますか?プロジェクトのすべての絶対パスでharatistharatistoreに置き換える必要があります。うまくいけばそれらの多くがないでしょう。

関連する問題