"Warning: include_once(../_includes/check_login_status.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/60/10824160/html/index.php on line 1"
嗨,我試圖讓固定這些目錄的錯誤。基本上,我把整個網站文件夾移動到不同的計算機上,現在我的php包含函數試圖找到"/home/content/60/10824160/html/index.php"
,這在這臺計算機上不存在。
我index.php
是Desktop/www/
和我check_login_status
是Desktop/www/_includes/
我嘗試使用PHP緩存功能,但不明白。我需要做什麼?
如果路徑不存在,爲什麼你在那裏看? – Bart 2013-05-12 21:55:43
哪條路?對不起,我是一個初學者 – ryank 2013-05-12 22:01:14
爲什麼代碼在'/ home/**'中位於'〜/ Desktop/www'中時會顯示?我的猜測是路徑在你的php文件中被硬編碼。 – Bart 2013-05-12 22:16:21