第 1 頁 (共 1 頁)
[已解決] 2.0.12+ Cashmod222 ,會員列表一定掛!
發表於 : 2005-02-21 10:47
由 jhung
●架設主機作業系統:Unix
●快速架站程式:
Apache 版本 1.3.33 (Unix)
MySQL 版本 4.0.22-standard-log
PHP 版本 4.3.9
●您的上網方式:-SO-NET-ADSL 2M/512K
●您的 phpBB2 版本:phpBB 2.0.11
網站位址:
http://www.gamejo.com/bbs
問題狀況:
1.點選新會員註冊,無法進入註冊頁面,會要求登入\r
2.會員列表出現錯誤訊息\r
代碼: 選擇全部
Parse error: parse error, unexpected '~' in /home/john/public_html/bbs/includes/template.php(127) : eval()'d code on line 20
如需要系統管理員帳號,或是貼出個檔案,煩請回覆告知\r
小弟可以PM給你。
裝過的外掛列表:
PHPBB版本:2.0.11
MOD:
主題類型 2005/02/17
跑馬燈公告條 2005/02/19
CashMod222 2005/02/20
虛擬銀行 2005/02/20
mowdSTAT統計 2005/02/20
防止重覆發表相同文章 2005/02/20
推薦網站 2005/02/20
發表於 : 2005-02-21 11:07
由 deliabest
下面是我的 template.php ,紅色部分是你發生錯誤的地方,你的外掛沒改好?
代碼: 選擇全部
function pparse($handle)
{
if (!$this->loadfile($handle))
{
die("Template->pparse(): Couldn't load template file for handle $handle");
}
// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}
// Run the compiled code.
[color=red]eval($this->compiled_code[$handle]);[/color]
return true;
}
發表於 : 2005-02-21 13:34
由 jhung
剛剛檢查了一下~檔案沒有不同的地方\r
代碼: 選擇全部
function pparse($handle)
{
if (!$this->loadfile($handle))
{
die("Template->pparse(): Couldn't load template file for handle $handle");
}
// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}
// Run the compiled code.
eval($this->compiled_code[$handle]);
return true;
}
我是裝完CASHMOD 222 以後的外掛後
才發現不能夠註冊的
會原列表也不能開了...
如果沒人能解~~我只能從頭再裝依次PHPBB了
發表於 : 2005-02-21 21:36
由 jhung
感謝各位先進的幫忙
小弟還是重新安裝吧\r
感恩deliabest提供的資料~^^
發表於 : 2005-02-25 12:13
由 jhung
●架設主機作業系統:Unix
●快速架站程式:
Apache 版本 1.3.33 (Unix)
MySQL 版本 4.0.22-standard-log
PHP 版本 4.3.9
●您的上網方式:-SO-NET-ADSL 2M/512K
●您的 phpBB2 版本:phpBB 2.0.12
網站位址:
http://www.gamejo.com/bbs
問題狀況:
會員列表出現錯誤訊息
代碼: 選擇全部
Parse error: parse error, unexpected '~' in /home/john/public_html/bbs/includes/template.php(127) : eval()'d code on line 20
這是目前的發現,不知道該如何處理
只有裝CashMod222
發表於 : 2005-02-25 13:12
由 sonic33200
我也有裝 Cash Mod 2.2.2 也有升級到 2.0.12 並沒有你說的問題
所以應該是你程式有改錯~請在仔細檢查看看
template.php 的問題~建議你裝 eXtreme Styles MOD 2.1.0
用他的 template.php 可升級 2.0.12 不需要修改\r
而且這支外掛非常好裝~完全不用動到檔案~只是加檔案而已\r
又可以加速你的論壇風格~何樂而不為
發表於 : 2005-02-25 16:37
由 jhung
OK~我晚上回家檢查一次~~
在安裝您推薦的MOD試試看
感謝~
發表於 : 2005-02-28 01:32
由 jhung
今天將eXtreme Styles MOD 2.1.0 安裝完畢之後~已經正常了~
感謝sonic33200兄指導!!