1 頁 (共 2 頁)

[問題] 安裝Cash Mod 2.2.2時出錯....

發表於 : 2005-02-10 13:41
項天仇
問題外掛:Cash Mod 2.2.2
參考連結:http://pb.idv.tw/phpBB2/viewtopic.php?p=2843
網站位置:http://king-c.no-ip.com/phpbb/index.php
狀況描述:不知道發生甚麼事@@

發表於 : 2005-02-10 13:47
神川小羽

代碼: 選擇全部

Fatal error: Cannot instantiate non-existent class: template in /home/kingc/public_html/phpbb/includes/functions.php on line 337
可以的話把
includes/functions.php
這個檔案的337行這行的上下10行貼上來看看
(不要把整串的程式碼貼上來~~~)

發表於 : 2005-02-10 19:37
項天仇
神川小羽 寫:

代碼: 選擇全部

Fatal error: Cannot instantiate non-existent class: template in /home/kingc/public_html/phpbb/includes/functions.php on line 337
可以的話把
includes/functions.php
這個檔案的337行這行的上下10行貼上來看看
(不要把整串的程式碼貼上來~~~)
怎找@@

發表於 : 2005-02-10 19:54
神川小羽
項天仇 寫:怎找@@
使用任何文字編輯軟體打開這個檔案找嚕......
另外
你有沒有根據檔案中的 cm_install_222.txt 這個檔案來修改?
有沒有將檔案複製到正確的地方?
可以描述一下你的是怎樣安裝的嗎?

發表於 : 2005-02-10 19:58
項天仇
神川小羽 寫:
項天仇 寫:怎找@@
使用任何文字編輯軟體打開這個檔案找嚕......
另外
你有沒有根據檔案中的 cm_install_222.txt 這個檔案來修改?
有沒有將檔案複製到正確的地方?
可以描述一下你的是怎樣安裝的嗎?
別叫我逐行逐行數丫.........

我先把所有要上載的檔案上載
再下載所有需要修改的檔案
然後按指示修改\r
又把成個phpbb資料夾下載備份\r
最後把修改好的檔案上載

發表於 : 2005-02-10 21:52
神川小羽
無言........
就算用數的也不過337行......不用5分鐘吧? :roll:
那將你有修改過的檔案也就是以下這些檔案打包壓縮成一個壓縮檔

代碼: 選擇全部

## Files To Edit: common.php
##                memberlist.php
##                posting.php
##                privmsg.php
##                profile.php
##                viewtopic.php
##                includes/functions.php
##                includes/functions_post.php
##                includes/usercp_viewprofile.php
##                templates/subSilver/memberlist_body.tpl
##                templates/subSilver/profile_view_body.tpl
##                templates/subSilver/viewtopic_body.tpl
然後放置到空間,讓我幫你抓下來檢查看看能不能查出問題。

發表於 : 2005-02-10 22:30
項天仇

代碼: 選擇全部

	$nav_links['help'] = array ( 
		'url' => append_sid($phpbb_root_path . 'faq.' . $phpEx),
		'title' => $lang['FAQ']
	);
	$nav_links['author'] = array ( 
		'url' => append_sid($phpbb_root_path . 'memberlist.' . $phpEx),
		'title' => $lang['Memberlist']
大概是這段\r

http://king-c.no-ip.com/Desktop.zip

發表於 : 2005-02-10 23:04
神川小羽
真是納悶了,問題出在\r

代碼: 選擇全部

	$template = new Template($phpbb_root_path . $template_path . $template_name);
你討論區的預設風格是啥密?

發表於 : 2005-02-10 23:13
台灣國際網路資訊
項天仇 寫:
神川小羽 寫:

代碼: 選擇全部

Fatal error: Cannot instantiate non-existent class: template in /home/kingc/public_html/phpbb/includes/functions.php on line 337
可以的話把
includes/functions.php
這個檔案的337行這行的上下10行貼上來看看
(不要把整串的程式碼貼上來~~~)
怎找@@
用WordPad找阿....!!Windows內有內建阿!!

發表於 : 2005-02-10 23:14
項天仇
神川小羽 寫:真是納悶了,問題出在\r

代碼: 選擇全部

	$template = new Template($phpbb_root_path . $template_path . $template_name);
你討論區的預設風格是啥密?
風格?我沒有動過丫.......

發表於 : 2005-02-17 14:43
項天仇
一個星期了.......可以推文了吧.......

發表於 : 2005-02-24 21:47
項天仇
快一個月了.......有人可以救我嗎........

發表於 : 2005-02-24 22:21
小西
把論壇還原再重裝一次看看吧

發表於 : 2005-02-24 22:51
~倉木麻衣~
我比較想問的是....
你的includes/template.php檔還存在嗎?

發表於 : 2005-02-25 20:01
項天仇
小西 寫:把論壇還原再重裝一次看看吧
以前的資料會不會消失?