[問題]出現一個溢出的字元~~幫忙~(以解決)

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
問題狂
竹貓忠實會員
竹貓忠實會員
文章: 1947
註冊時間: 2004-06-28 17:13

[問題]出現一個溢出的字元~~幫忙~(以解決)

文章 問題狂 »

先看圖畫有紅色圈圈的地方:
圖檔
很明顯的..我在觀看會員資料的時候
多了一個":"的字...
請問是哪個檔出錯了呢?
我PO出來~
最後由 問題狂 於 2004-08-21 13:23 編輯,總共編輯了 2 次。
右手
星球公民
星球公民
文章: 78
註冊時間: 2004-05-10 21:21

文章 右手 »

可能是profile_view_body.tpl的問題
●架設主機作業系統:Windows 2000 Pro
●我的上網方式:ADSL HINET2MB/512K浮動IP
●我安裝的程式:Apache HTTP Server 2.0.55 +PHP 4.4/5.0.5 + MySql4.0.26
●我的 phpBB2 版本:phpBB 2.0.17
●我的 phpBB2 連結網址
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

看不到圖片耶....
-.-
問題狂
竹貓忠實會員
竹貓忠實會員
文章: 1947
註冊時間: 2004-06-28 17:13

文章 問題狂 »

我已經換上新的連結了~
可是我檢查過都沒有多出的呀..
我也常是修正過..但都不行~
以下是我的profile_view_body.tpl:

代碼: 選擇全部

 
<script src="templates/toggle.js"></script>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
	<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
  </tr>
</table>

<script language="JavaScript" src="face_js.js"></script>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
  <tr> 
	<th class="thHead" colspan="2" height="25" nowrap="nowrap">{L_VIEWING_PROFILE}</th>
  </tr>
  <tr> 
	<td class="catLeft" width="40%" height="28" align="center"><b><span class="gen">{L_AVATAR}</span></b></td>
	<td class="catRight" width="60%"><b><span class="gen">{L_ABOUT_USER}</span></b></td>
  </tr>
  <tr> 
	<td class="row1" height="6" valign="top" align="center">{AVATAR_IMG}<br /></span></td>
	<td class="row1" rowspan="3" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
		<tr> 
		  <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
		  <td width="100%"><b><span class="gen">{JOINED}</span></b></td>
		</tr>
		<tr>
		  <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_TOTAL_POSTS}: </span></td>
		  <td valign="top"><b><span class="gen">{POSTS}</span></b><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br /><span class="genmed"><a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a></span></td>
		</tr>
		<tr>
		  <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
		  <td><b><span class="gen">{LOCATION}</span></b></td>
		</tr>
		<tr>
		  <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}: </span></td>
		  <td><span class="gen"><b>{WWW}</b></span></td>
		</tr>
		<tr>
		  <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_OCCUPATION}: </span></td>
		  <td><span class="gen"><b>{OCCUPATION}</b></span></td>
		</tr>
		<tr>
		  <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}: </span></td>
		  <td><span class="gen"><b>{INTERESTS}</b></span></td>
		</tr>
<!-- Start add - Gender MOD --> 
                <tr>
	         <td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_GENDER}: </span></td>
	         <td><span class="gen"><b>{GENDER}</b></span></td>
                </tr>
<!-- End add - Gender MOD -->
		<td valign="top" align="right" nowrap="nowrap"><b><span class="gen">{CASH}: </b></span></td>
		</table>
	</td>
  </tr>
  <tr>
	<td class="catLeft" align="center" height="28"><b><span class="gen">{L_CONTACT} {USERNAME} </span></b></td>
  </tr>
  <tr>
	<td class="row1" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
		<tr>
		  <td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_EMAIL_ADDRESS}:</span></td>
		  <td class="row1" valign="middle" width="100%"><b><span class="gen">{EMAIL_IMG}</span></b></td>
		</tr>
		<tr>
		  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_PM}:</span></td>
		  <td class="row1" valign="middle"><b><span class="gen">{PM_IMG}</span></b></td>
		</tr>
		<tr>
		  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
		  <td class="row1" valign="middle"><span class="gen">{MSN}</span></td>
		</tr>
		<tr>
		  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_YAHOO}:</span></td>
		  <td class="row1" valign="middle"><span class="gen">{YIM_IMG}</span></td>
		</tr>
		<tr>
		  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
		  <td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td>
		</tr>
		<tr>
		  <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
		  <td class="row1"><script language="JavaScript" type="text/javascript"><!-- 

		if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
			document.write(' {ICQ_IMG}');
		else
			document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
		  
		  </script><noscript>{ICQ_IMG}</noscript></td>
		</tr>
	  </table>
	</td>
  </tr>
</table>
<br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
  <tr> 
	<td class="catLeft" align="center" height="28" colspan="2"><b><span class="gen">{L_MEDAL_INFORMATION}</span></b></td>
  </tr>
  <tr>
	<td class="row1"  align="center" valign="middle" width="10%"><span class="gen">{L_USER_MEDAL}: <b>{USER_MEDAL_COUNT}</b></span>
<!-- BEGIN medal -->
<br /><br />{medal.MEDAL_BUTTON}
<!-- END medal -->
	</td>
	<td class="row1" valign="middle" align="left" nowrap="nowrap" width="100%">
<!-- BEGIN details -->
 {details.MEDAL_IMAGE_SMALL} 
<!-- END details -->
	</td>
  </tr>
</table>

<br />
<div style="width: 100%; overflow: hidden; display: none;" id="toggle_medal">
<a name="medal">

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
  <tr> 
	<th class="thCornerL" align="center" nowrap="nowrap"> {L_MEDAL_NAME} </th>
	<th class="thCornerR" align="center" nowrap="nowrap"> {L_MEDAL_DETAIL} </th>
  </tr>
<!-- BEGIN details -->
  <tr>
	<td class="row2" nowrap="nowrap">
		<table width="100%" cellspacing="1" cellpadding="3" border="0">
		<tr><td align="center"><span class="genmed">{details.MEDAL_CAT}</span></td></tr>
		<tr><td align="center"><span class="genmed">{details.MEDAL_NAME}</span></td></tr>
		<tr><td align="center">{details.MEDAL_IMAGE}</td></tr>
		<tr><td align="center"><span class="genmed">{details.MEDAL_COUNT}</span></td></tr></table></td>
	<td class="row2" valign="top">
		<table width="100%" cellspacing="1" cellpadding="3" border="0">
		<tr><td><span class="gen">{details.L_MEDAL_DESCRIPTION}: <b>{details.MEDAL_DESCRIPTION}</b></span></td></tr>
		<tr><td class="quote">
			<table width="100%" cellspacing="1" cellpadding="3" border="0">
			<tr><td><span class="genmed">{details.MEDAL_ISSUE}</span></td></tr>
			</table>
		</td></tr>
	</table></td>
  </tr>
<!-- END details -->
</table>
</a>
</div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
	<td align="right"><span class="nav"><br />{JUMPBOX}</span></td>
  </tr>
</table>
右手
星球公民
星球公民
文章: 78
註冊時間: 2004-05-10 21:21

文章 右手 »

不好意思我只是猜的Q.Q
你想想看有裝哪些跟個人資料有關的找看看吧\r
你的profile_view_body.tpl
只有{CASH}這行
大概是51行有點小問題
</b>應該要放在</span>之後
這是你的圖
圖檔
我的應該比較嚴重吧XD
這是你的結構
這是我的結構
●架設主機作業系統:Windows 2000 Pro
●我的上網方式:ADSL HINET2MB/512K浮動IP
●我安裝的程式:Apache HTTP Server 2.0.55 +PHP 4.4/5.0.5 + MySql4.0.26
●我的 phpBB2 版本:phpBB 2.0.17
●我的 phpBB2 連結網址
右手
星球公民
星球公民
文章: 78
註冊時間: 2004-05-10 21:21

文章 右手 »

我把我的改成跟你一樣的寫法
結果也會多出:
我還納悶是在哪多出來的
原來就是你{CASH}後面的:
拿掉應該就沒有了
●架設主機作業系統:Windows 2000 Pro
●我的上網方式:ADSL HINET2MB/512K浮動IP
●我安裝的程式:Apache HTTP Server 2.0.55 +PHP 4.4/5.0.5 + MySql4.0.26
●我的 phpBB2 版本:phpBB 2.0.17
●我的 phpBB2 連結網址
問題狂
竹貓忠實會員
竹貓忠實會員
文章: 1947
註冊時間: 2004-06-28 17:13

文章 問題狂 »

以解決~
把{CASH}之前之後的字都去掉即可..感謝~~~~
主題已鎖定

回到「phpBB 2 安裝與使用」