2012-08-02 87 views
0

我使用的經銷商會多域的Windows共享主機上的Plesk 10 獲得下面的錯誤,我覺得這是一個服務器的配置問題,可以請你提出一些解決方案PHP錯誤警告:require_once WordPress的3.4.1

Warning: require_once(D:\INETPUB\VHOSTS\fitnessorganiser.com\ladybirdwebhost.com/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in D:\INETPUB\VHOSTS\fitnessorganiser.com\ladybirdwebhost.com\wp-blog-header.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'D:\INETPUB\VHOSTS\fitnessorganiser.com\ladybirdwebhost.com/wp-load.php' (include_path='.;C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\pear;./includes;./pear') in D:\INETPUB\VHOSTS\fitnessorganiser.com\ladybirdwebhost.com\wp-blog-header.php on line 12

甚至當我嘗試發佈/添加在WordPress的照片,我得到類似的錯誤

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(C:\Windows\Temp\php7DD1.tmp) is not within the allowed path(s): (D:\INETPUB\VHOSTS\fitnessorganiser.com\httpdocs) in D:\INETPUB\VHOSTS\fitnessorganiser.com\httpdocs\wp-includes\functions.php on line 2505 79

+0

羅像你的PHP一樣沒有權限訪問Temp目錄,Temp目錄是存儲新文件的地方,直到它們被PHP移動到其他地方。 – animuson 2012-08-02 09:09:43

回答