我新装的Plog 1.0.2Beta版本,安装成功后。blog首页出现这么多错误提示:不知道何原因?
Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 20
Warning: ini_set() has been disabled for security reasons in /srv/www/httpd/pytalhost/4586/html/index.php on line 21
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/net/http/session/sessionmanager.class.php on line 41
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 316
Warning: Cannot modify header information - headers already sent by (output started at /srv/www/httpd/pytalhost/4586/html/index.php:20) in /srv/www/httpd/pytalhost/4586/html/class/view/view.class.php on line 177
因為你的 ISP 業者啟動了 Safe_Mode,他不允許你執行 ini_set() 這個指令。只有兩個方法可以解決:
1. 換一家業者
2. 試著把 lifetype 內 ini_set 的程式都拿掉(但是這樣我不確定你能安裝成功)
Mark