你好, iss:
我的os是windows xp
php是4.3.1,mysql是4.1
安裝目錄是c:\Program Files\Apache Group\Apache\htdocs\plog\
有空格..怎麼辦@@?
在一般閱讀頁面(index.php)會出現以下錯誤碼
Logged in user: bulleta
Exception message: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache\htdocs\plog\class\action\blogaction.class.php:1)
Error code: 2
-- Backtrace --
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\view.class.php(323): header
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\smartyview.class.php(226): view.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\blogview.class.php(252): smartyview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\defaultview.class.php(82): blogview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\controller\controller.class.php(330): defaultview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\index.php(50): blogcontroller.process
Exception message: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache\htdocs\plog\class\action\blogaction.class.php:1)
Error code: 2
-- Backtrace --
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\view.class.php(175): header
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\view.class.php(325): defaultview.sendcontenttype
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\smartyview.class.php(226): view.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\blogview.class.php(252): smartyview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\view\defaultview.class.php(82): blogview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\class\controller\controller.class.php(330): defaultview.render
C:\Program Files\Apache Group\Apache\htdocs\plog\index.php(50): blogcontroller.process
迴響完成也會只出現以上錯誤碼,但按上一頁可以知道迴響成功的
另外在管理介面全域設定會出現下面的錯誤碼
Parse error: parse error in C:\Program Files\Apache Group\Apache\htdocs\plog\class\template\smarty\Smarty_Compiler.class.php(273) : regexp code on line 2
Fatal error: Failed evaluating code: '{php' . str_repeat(" ", substr_count('{* we have to do it like this... otherwise it doesn''t look nice on the browser textbox *}', " ")) .'}' in C:\Program Files\Apache Group\Apache\htdocs\plog\class\template\smarty\Smarty_Compiler.class.php on line 273
其他功能基本沒問題
有試過1.0.6版本,除了可以閱讀外其他功能完全不能用
而1.1版本出現上面的問題
請問是什麼問題?
怎樣可以記錄時轉成 utf8 with NO BOM ?
最後謝謝ISS的回答@@