1 頁 (共 1 頁)

[問題]推薦網站簡易版外掛問題

發表於 : 2003-09-12 22:54
威威
我看了有關4-4.推薦網站簡易版外掛 by OOHOO 的教學 http://phpbb-tw.net/phpbb/viewtopic.php?t=7311 ,但不知因為什麼,安裝完後在論壇首頁上會出現這些字:
define('SITE_URL', "http://phpbb-tw.net/"); define('SITE_LOGO_SRC', "http://phpbb-tw.net/phpbb/images/links/web_logo88a.gif"); 加入連結資料, 格式範例如下 $LINKS = array( array('link_title' => 'phpBB 官方網站', 'link_logo_src' => 'images/links/phpBB_88a.gif', 'link_url' => 'http://www.phpbb.com/'), array('link_title' => '竹貓星球', 'link_logo_src' => 'images/links/phpbb-tw_logo88a.gif', 'link_url' => 'http://phpbb-tw.net/'), array('link_title' => '竹貓星球', 'link_logo_src' => 'images/links/phpbb-tw_logo88a.gif', 'link_url' => 'http://phpbb-tw.net/'), array('link_title' => '竹貓星球', 'link_logo_src' => 'images/links/phpbb-tw_logo88a.gif', 'link_url' => 'http://phpbb-tw.net/'), array('link_title' => '竹貓星球', 'link_logo_src' => 'images/links/phpbb-tw_logo88a.gif', 'link_url' => 'http://phpbb-tw.net/'), array('link_title' => '竹貓星球', 'link_logo_src' => 'images/links/phpbb-tw_logo88a.gif', 'link_url' => 'http://phpbb-tw.net/') ); define('DISPLAY_INTERVAL', 6000); // 輪播間隔 (豪秒) define('DISPLAY_LOGO_NUM', 8); // LOGO顯示數量
Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:9) in c:\appserv\www\phpbb2\includes\sessions.php on line 295

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:9) in c:\appserv\www\phpbb2\includes\sessions.php on line 296
// Related links $lang['Site_links'] = "推薦網站";
Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:9) in c:\appserv\www\phpbb2\includes\page_header.php on line 500

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:9) in c:\appserv\www\phpbb2\includes\page_header.php on line 501

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:9) in c:\appserv\www\phpbb2\includes\page_header.php on line 502
請問各位大大,這是什麼問題呢?謝謝~

發表於 : 2003-09-12 22:57
KBChan
再檢查一次你的MOD有沒有排好\r
這可能是你程式沒有排版排好.....
--
如果不行
還請各位大大多多指教...

發表於 : 2003-09-12 23:31
威威
謝謝您的回覆~ :-D
我巳檢查過,應巳排列正確,但在教學中有一個步驟我不太明白,在教學中有一部份教到\r
#-----[ ACTION: OPEN ]------------------------------------------
#

language/lang_chinese_traditional_taiwan/lang_main.php

#
#-----[ ACTION: ADD ]------------------------------------------
#
// Related links
$lang['Site_links'] = "推薦網站";

巳我不太明白應加在那裡,是加在最尾嗎? :-(

發表於 : 2003-09-12 23:43
appleboy
那個語系檔...加在哪都沒差......
所以應該不是那個問題
應該是page_header.php跟sessions.php 的關西

發表於 : 2003-09-13 00:10
威威
appleboy46 寫:那個語系檔...加在哪都沒差......
所以應該不是那個問題
應該是page_header.php跟sessions.php 的關係
那麼,應該如何解決這問題?我巳重新安裝過這個外掛,但出現以下的錯誤:
Parse error: parse error, unexpected ']' in c:\appserv\www\phpbb2\includes\links_constants.php on line 25

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:25) in c:\appserv\www\phpbb2\includes\sessions.php on line 182

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:25) in c:\appserv\www\phpbb2\includes\sessions.php on line 183

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:25) in c:\appserv\www\phpbb2\includes\page_header.php on line 500

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:25) in c:\appserv\www\phpbb2\includes\page_header.php on line 501

Warning: Cannot add header information - headers already sent by (output started at c:\appserv\www\phpbb2\includes\links_constants.php:25) in c:\appserv\\www\phpbb2\includes\page_header.php on line 502