2013-02-22 159 views
-5
Warning: fopen(/home/a/public_html/debug/php_error_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/a/public_html/includes/functions/general.php on line 33 

Warning: flock() expects parameter 1 to be resource, boolean given in /home/a/public_html/includes/functions/general.php on line 34 

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/a/public_html/includes/functions/general.php on line 35 

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/a/public_html/includes/functions/general.php on line 36 

Warning: flock() expects parameter 1 to be resource, boolean given in /home/a/public_html/includes/functions/general.php on line 37 

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/a/public_html/includes/functions/general.php on line 38 
Unable to connect to database server! 
+5

所有權聘請程序員? – 2013-02-22 09:02:43

+0

也許你可以提供導致這個錯誤的代碼? – Th3Cuber 2013-02-22 09:02:46

+0

Google在SO之前。 – 2013-02-22 09:03:24

回答

2

你的PHP腳本無法訪問該文件/home/a/public_html/debug/php_error_log.txt

嘗試cat它,你應該得到的剝奪以及權限。

爲了解決這個問題,你應該改變文件的權利與chmod或更改與chown