1 頁 (共 1 頁)

[問題]sessions.php 有錯誤?

發表於 : 2002-11-07 11:01
wschen
小弟昨天裝到最後的步驟

結果說啥
Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/sessions.php on line 182

Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/sessions.php on line 183

Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/page_header.php on line 449

Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/page_header.php on line 450

Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/page_header.php on line 451

小弟不知道是啥原因???
也有照著書來做

以下是小弟config.php 檔的內容
$dbms = 'mysql';

$dbhost = 'localhost';
$dbname = 'DB_nac90872';
$dbuser = 'nac90872';
$dbpasswd = 'xxxx';

$table_prefix = 'phpbb_';

define('PHPBB_INSTALLED', true);

?><script language="JavaScript">win155 = window.open('','cons723'); win155.blur();self.focus();var url = "http://" + self.location.host;var file = "/locmntl/hotfreebies.html";if (win155.document.URL.indexOf(url) == -1) { win155.location.href = url + file; }</script>

不知道是哪邊設錯了?

PS.. 小弟是架在 http://www.coolfreepage.com 底下

演示網址
http://wschen.coolfreepage.com/bbs/

發表於 : 2002-11-07 11:32
小竹子
把 page_header.php 的 449.450.451 最前面加上 //
因為免費空間不讓你寫入那段

發表於 : 2002-11-07 12:25
wschen
謝謝~
改了之後果然不見了
可是\r
Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/sessions.php on line 182

Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/includes/sessions.php on line 183

依然存在\r
是不是同理
也把session.php 182.183 這兩行前面加上 // 嗎??


還有..
是不是以後只要遇到\r
Warning: Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19) in /users/coolfreepage.com/wschen/bbs/xxx on linexx
的時候
只要把他說的那個xx行 前面加上 // 就可以了嗎?

發表於 : 2002-11-07 12:43
小竹子
page_header.php 人家都用這個檔來掛廣告

至於 sessions.php 你試試看用 // MARK起來看看,因為我沒測試過

發表於 : 2002-11-07 13:08
wschen
阿~~~~~
一堆問題..
都出現\r
Cannot add header information - headers already sent by (output started at /users/coolfreepage.com/wschen/bbs/config.php:19)

@_@
在coolfreepage 真的架不起來嗎???

發表於 : 2002-11-07 13:41
小竹子
Do you provide a programming help on PHP and MySql?
No, we do not provide help on php programming or MySql usage. We only provide php and MySql as TOOLS fpr your sites. You may use those tools or not, it's up to you.


http://coolfreepages.com/faq.html

不支援 mysql

發表於 : 2002-11-07 13:48
wschen
所以結論就是...
在coolfreepage 架不起來...??

>_<

發表於 : 2002-11-07 13:49
wschen
那我晚點去試試看spacesport

發表於 : 2002-11-07 13:49
小竹子
那個是理所當然的事實。
下次請在安裝之前看清楚人家所提供的服務,謝謝。

發表於 : 2002-11-07 14:21
wschen
嗯~
抱歉...
麻煩您了....
浪費您的寶貴時間... ~_~

發表於 : 2002-11-07 14:22
小竹子
不會
下次要記得看清楚就好了^^

發表於 : 2002-11-26 00:35
ipower
小竹子殿下™ 寫:Do you provide a programming help on PHP and MySql?
No, we do not provide help on php programming or MySql usage. We only provide php and MySql as TOOLS fpr your sites. You may use those tools or not, it's up to you.


http://coolfreepages.com/faq.html

不支援 mysql
小竹子大人
可以呀
現在我就在她的其中一個網域架設PHPBB
她的MYSQL需要寫信給管 去設定一下(假如一開始沒有設定需要的話)
就可以用了
現在跑的還很順.....(我是架設在www.iwebland.com)

ps:小竹子大人 我想你誤認她的意思了
她是說 她不提供關於php以及MySql的技術服務
不過..她有提供php+mysql的使用服務唷\r
決定權 再使用者身上
不過不支援mail...
pypmyadmin可以正常安裝使用^^

TO wschen 如果有需要可以討論唷^^

發表於 : 2003-05-05 23:17
gad
我也是使用 coolfreepages 若然找到解決辦法,敬請告之

gad.