LifeType 中文開發論壇

測試 => LifeType 1.1 測試 => 主題作者是: nilys 於 八月 18, 2006, 12:14:59 下午



主題: 網誌站台管理的問題
作者: nilys八月 18, 2006, 12:14:59 下午
我點選
全部站台管控 -> 網誌站台管理
出現以下訊息,不知道有沒有人遇過同樣的問題

我的環境是
Debian 2.4.27-3-686
apache2
PHP 4.3.10-16
MySQL 4.0.24
LifeType 1.1-beta2

程式碼:
search terms = 
Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(323): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(323): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(323): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(323): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(323): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php:60)
Error code: 2
-- Backtrace --
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(175): header
/home/nilys/public_html/lifetype-1.1-beta2/class/view/view.class.php(325): adminsiteblogslistview.sendcontenttype
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminview.class.php(111): view.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/admintemplatedview.class.php(36): adminview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/view/admin/adminsiteblogslistview.class.php(82): admintemplatedview.render
/home/nilys/public_html/lifetype-1.1-beta2/class/controller/controller.class.php(330): adminsiteblogslistview.render
/home/nilys/public_html/lifetype-1.1-beta2/admin.php(43): admincontroller.process


主題: Re: 網誌站台管理的問題
作者: winman八月 18, 2006, 01:11:26 下午
请问有否改动过模板或程序文件?

请看看这里。 (http://forum.lifetype.org.tw/index.php?topic=2616.0)


主題: Re: 網誌站台管理的問題
作者: nilys八月 18, 2006, 05:05:19 下午
沒有修改過
原本是 1.06 版,我不是覆蓋舊檔案

下載 1.1-beta2後解開,修改 config.properties.php 檔
程式碼:
$config["db_host"] = "localhost";
$config["db_username"] = "user";
$config["db_password"] = "passwd";
$config["db_database"] = "DB";
$config["db_persistent"] = true;
$config["db_character_set"] = "utf8";
然後將 1.06 版 gallery 目錄下的資料全部搬到 1.1-beta2
模版使用 stand