1 頁 (共 1 頁)

[問題]安裝cashmod的問題

發表於 : 2004-12-10 23:27
jzhouse
以下載cash mod 2.2.2上傳至網路空間
因執行sql_install.php出現以下重複的錯誤訊息\r
圖檔
圖檔
(此圖片轉至於\r
http://phpbb-tw.net/phpbb/viewtopic.php ... od&start=0
篇文章,因一樣的情形。)
請問我該不理會這些重複的錯誤訊息做下一步的安裝ㄇ?

於是我嘗試著到phpmyadmin做手動的增加sql語法
也同樣的出現了重複的錯誤訊息(如下)
圖檔
想請問:
重複的訊息錯誤代表已安裝完畢了,那我應該可以進行下一步的安裝ㄇ?

(請指教!謝謝)

發表於 : 2004-12-11 00:16
aiken
你繼續進行安裝之後不就知道答案了嗎

發表於 : 2004-12-11 01:49
jzhouse
在改程式碼的內容時出現了一些麻煩\r
內容如下:

當我改到templates/subSilver/memberlist_body.tpl
檔案時
因為用筆記簿開啟後,裡面的程式碼有些亂
所以我不知道要怎麼加呢?

可否教導我這一個範例的插入方式呢?

templates/subSilver/memberlist_body.tpl
欲修改的程式碼:

代碼: 選擇全部

#-----[ OPEN ]------------------------------------------ 
#
templates/subSilver/memberlist_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
	{L_POSTS}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# on the next line
#
	  <!-- BEGIN cashrow -->
	  <th class="thTop" nowrap="nowrap">{cashrow.NAME}</th>
	  <!-- END cashrow -->

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
	 {memberrow.POSTS}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# on the next line
#
	  <!-- BEGIN cashrow -->
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.cashrow.CASH_DISPLAY}</span></td>
	  <!-- END cashrow -->

# 
#-----[ FIND ]------------------------------------------ 
# in subSilver, the full line is 
#	  <td class="catBottom" colspan="8" height="28"> </td>
# 
colspan="8"

# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
8

# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
#
{NUM_COLUMNS}
原程式碼:

代碼: 選擇全部


<form method="post" action="{S_MODE_ACTION}">
  <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>
	  <td align="right" nowrap="nowrap"><span class="genmed">{L_SELECT_SORT_METHOD}: {S_MODE_SELECT}  {L_ORDER} {S_ORDER_SELECT}   
		<input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" />
		</span></td>
	</tr>
  </table>
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr> 
	  <th height="25" class="thCornerL" nowrap="nowrap">#</th>
	  <th class="thTop" nowrap="nowrap"> </th>
	  <th class="thTop" nowrap="nowrap">{L_USERNAME}</th>
	  <th class="thTop" nowrap="nowrap">{L_EMAIL}</th>
	  <th class="thTop" nowrap="nowrap">{L_FROM}</th>
	  <th class="thTop" nowrap="nowrap">{L_JOINED}</th>
	  <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
	  <th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
	</tr>
	<!-- BEGIN memberrow -->
	<tr> 
	  <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.PM_IMG} </td>
	  <td class="{memberrow.ROW_CLASS}" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
	  <td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.WWW_IMG} </td>
	</tr>
	<!-- END memberrow -->
	<tr> 
	  <td class="catBottom" colspan="8" height="28"> </td>
	</tr>
  </table>
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="right" valign="top"></td>
	</tr>
  </table>

<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tr> 
	<td><span class="nav">{PAGE_NUMBER}</span></td>
	<td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
  </tr>
</table></form>

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
	<td valign="top" align="right">{JUMPBOX}</td>
  </tr>
</table>
麻煩指導我一下好ㄇ?

發表於 : 2004-12-11 01:55
jzhouse
我的問題是出在這裡:
欲修改的程式碼中要找尋:

代碼: 選擇全部

# in subSilver, the full line is 
#     <th class="thTop" nowrap="nowrap">{L_POSTS}</th> 
# 
   {L_POSTS} 
可是我找到的只有:

代碼: 選擇全部

	  <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
後方要加入的程式碼:

代碼: 選擇全部

#-----[ AFTER, ADD ]------------------------------------------ 
# on the next line
#
	  <!-- BEGIN cashrow -->
	  <th class="thTop" nowrap="nowrap">{cashrow.NAME}</th>
	  <!-- END cashrow -->
那這個要加ㄇ?

代碼: 選擇全部

# on the next line 
# 

發表於 : 2004-12-11 03:21
jzhouse
目前安裝完畢後無法使用cash mod呢!
出現以下錯誤:

Template->make_filename(): Error - file does not exist

(可是資料夾的名字明明是Templates怎麼少了一個S阿?)

那出錯了ㄋ?

(嗚~爬了好久都找不到這樣的錯誤解說啦!)

發表於 : 2004-12-12 01:30
warkinger
那這個要加ㄇ?

# on the next line
#

# 是註解 加了沒用\r


目前安裝完畢後無法使用cash mod呢!
出現以下錯誤:

Template->make_filename(): Error - file does not exist

(可是資料夾的名字明明是Templates怎麼少了一個S阿?)

那出錯了ㄋ?


你不是用subSilver的風格吧,如果是別的風格要把cash mod , subSilver目錄下的東西copy到你風格下,而且在修改風格目錄時,是要改你風格目錄下的檔案,不是改subSilver的目錄

這問題卡了我2天,最後重來4~5次用subSilver安裝attch_mod才想到\r

發表於 : 2004-12-12 16:02
jzhouse
warkinger 寫: 這問題卡了我2天,最後重來4~5次用subSilver安裝attch_mod才想到\r
[/b]
我也是呢!
謝謝您哦!
此問題已經解決了!
的確是自己改風格後要將cashmod複製到對的資料夾下

發表於 : 2004-12-16 15:16
羅羅亞‧索隆
我安裝好囉但不知哪裡出錯!
拜託指導一下!
謝謝囉!
Parse error: parse error, unexpected '}' in c:\appserv\www\phpbb\viewtopic.php on line 1214

發表於 : 2004-12-16 16:21
一刀流
你可能在修改viewtopic.php第1214行時搞錯了東西.
看看是否多了一個 } 符號?
或者是在前面改動時,把 { 符號吃掉了.

發表於 : 2004-12-16 16:32
羅羅亞‧索隆
一刀流 寫:你可能在修改viewtopic.php第1214行時搞錯了東西.
看看是否多了一個 } 符號?
或者是在前面改動時,把 { 符號吃掉了.
我的網站Kro

1210 'U_POST_ID' => $postrow[$i]['post_id'])
1211 );
1213 $cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
1214 }
1215
1216 $template->pparse('body');
1217
1218 include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
1219
1220 ?>


如果把 1214 } 去除後換變成

Parse error: parse error, unexpected T_VARIABLE in c:\appserv\www\phpbb\viewtopic.php on line 1216

傷腦經

發表於 : 2004-12-16 16:44
flower
看底下紅色的部份:

1213 $cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
1214 );
1215 }

您應該是不小心把它刪除了

發表於 : 2004-12-16 16:47
羅羅亞‧索隆
flower 寫:看底下紅色的部份:

1213 $cm_viewtopic->post_vars($postrow[$i],$userdata,$forum_id
1214 );
1215 }

\n您應該是不小心把它刪除了
謝謝flower 提示!!

問題解決囉!

發表於 : 2004-12-23 10:06
DVDplayer
喔喔,感恩感恩,我也解決我的問題了~~~太感謝了