1 頁 (共 1 頁)

[問題]電腦上模擬裝外掛 出現錯誤~拜託 請指導一下

發表於 : 2004-09-06 20:36
Hsuan
各為大大好~
因為每次直接改網站上來裝外掛 導致很多次網站的當掉~因此 下定決心先再自己的網站上模擬一下~但是模擬前需要先把電腦上的用的跟網站上一樣~我已把網站上的phpbb跟資料庫備份了~用這些備份來副寫電腦裡的新論壇~以求電腦裡的跟網站上的一樣~然而當我復寫完後~就出現以下code~麻煩 請大家教教我怎樣解決!

Warning: Failed opening './includes/constants.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\phpbb2\common.php on line 179

Warning: Failed opening './includes/template.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\phpbb2\common.php on line 180

Warning: Failed opening './includes/sessions.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\phpbb2\common.php on line 181

Warning: Failed opening './includes/auth.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\phpbb2\common.php on line 182

Warning: Failed opening './includes/functions.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\phpbb2\common.php on line 183

Warning: Failed opening './includes/db.php' for inclusion (include_path='.;c:\php4\pear') in c:\appserv\www\\phpbb2\common.php on line 184

Fatal error: Call to undefined function: encode_ip() in c:\appserv\www\phpbb2\common.php on line 195

這些問題好像都是出先在common.php檔的某些行~所以我把它貼上來了

179行 include($phpbb_root_path . 'includes/constants.'.$phpEx);
180行 include($phpbb_root_path . 'includes/template.'.$phpEx);
181行 include($phpbb_root_path . 'includes/sessions.'.$phpEx);
182行 include($phpbb_root_path . 'includes/auth.'.$phpEx);
183行 include($phpbb_root_path . 'includes/functions.'.$phpEx);
184行 include($phpbb_root_path . 'includes/db.'.$phpEx);

195行 $user_ip = encode_ip($client_ip);

請大家幫我看看應該怎樣改~謝謝
我在電腦上裝的是AppServ+php+mysql
PHPBB版本:2.0.10

再次謝謝大家~

發表於 : 2004-09-06 23:40
神川小羽
請看~ http://0928.adsldns.org/phpbb2/viewtopic.php?t=667
兩邊跑... 辛苦你嚕~