1 頁 (共 1 頁)

[問題]賽馬會出現錯誤訊息!!

發表於 : 2003-10-22 01:30
lasthero
安裝了孤鸿客栈的big5賽馬, 但發現錯誤訊息:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:110) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 495

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:110) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 501

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:110) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 502
將以下程式碼刪除後:
<HTML>

<HEAD>

<meta http-equiv=Content-Type content=text/html; charset=gb2312>

<title>賽馬實況</title>

</HEAD><body topmargin=0 bgcolor=FFFFFF>

<STYLE type=text/css>

CENTER

{

FONT-SIZE: 9pt

}

TD

{

FONT-SIZE: 9pt

}

body

{

FONT-SIZE: 9pt

}

A:link

{

COLOR: black; TEXT-DECORATION: none

}

A:visited

{

COLOR: black; TEXT-DECORATION: none

}

A:hover

{

COLOR: blue; TEXT-DECORATION: none

}

</STYLE>
\n
卻發生另外錯誤訊息:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:103) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 495

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:103) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 501

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\phpBB2
pg
ace.php:103) in C:\Program Files\Apache Group\Apache2\htdocs\phpBB2\includes\page_header.php on line 502
此錯誤指向:(紅色部分)
<script>

function Horse_timelinePlay(tmLnName, myID) {

if (document.Horse_Time == null) Horse_initTimelines();

tmLn = document.Horse_Time[tmLnName];

if(myID == null) { myID = ++tmLn.ID; firstTime=true;}
請問大大我該怎麼解決呢? 謝謝!!
[/quote]

發表於 : 2003-10-22 04:46
依夢兒
看一下你 page_header.php 第 495 、 501 、 502 行的內容寫些什麼??

發表於 : 2003-10-22 07:46
lasthero
依夢兒 寫:看一下你 page_header.php 第 495 、 501 、 502 行的內容寫些什麼??
495: header ('Cache-Control: no-cache, pre-check=0, post-check=0');

501: header ('Expires: 0');

502: header ('Pragma: no-cache');

488-502:
// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';

// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');

發表於 : 2003-10-22 13:02
lasthero
在光明的水怪大陸有人回答我:

在functions_post.php加一句\r
include($phpbb_root_path . 'rpg/function_rpg.'.$phpEx);

加在\r
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
之後

不知道這可不可行.........

發表於 : 2003-10-22 13:05
lasthero
lasthero 寫:在光明的水怪大陸有人回答我:

在functions_post.php加一句\r
include($phpbb_root_path . 'rpg/function_rpg.'.$phpEx);

加在\r
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
之後

不知道這可不可行.........
Sorry, 這個解決方案是指RPG升級系統不是賽馬的問題, 貼錯篇~~~@.@

發表於 : 2003-10-22 14:04
aack
lasthero 寫:在光明的水怪大陸有人回答我:

在functions_post.php加一句\r
include($phpbb_root_path . 'rpg/function_rpg.'.$phpEx);

加在\r
if (!defined('IN_PHPBB'))
{
die('Hacking attempt');
}
之後

不知道這可不可行.........
請問光明的水怪大陸的站址是?
可以註冊嗎?
我很想裝水怪RPG可是又無法上黑暗的水怪大陸,
給他心癢癢說。 :roll:

發表於 : 2003-10-22 19:04
h23456789
阿我出現的問題是馬不在跑道上跑.....偏離跑道...~"~

發表於 : 2003-10-22 21:08
lasthero
有誰可以寄給我沒問題的賽馬跟賭骰子的檔案呢? 拜託拜託, 我搞了好久了..........><

s5814108@ms14.hinet.net

race.php
diet.php
rpg_race.tpl
rpg_diet.tpl