[已解決] 2.0.12+ Cashmod222 ,會員列表一定掛!

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

[已解決] 2.0.12+ Cashmod222 ,會員列表一定掛!

文章 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
最後由 jhung 於 2005-02-28 01:32 編輯,總共編輯了 3 次。
deliabest
星球公民
星球公民
文章: 73
註冊時間: 2003-05-25 16:54

文章 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;
	}
圖檔
網路上所有值得收藏的教學精華文章都在這裡唷!
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

文章 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了
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

文章 jhung »

感謝各位先進的幫忙

小弟還是重新安裝吧\r

感恩deliabest提供的資料~^^
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

文章 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
sonic33200
星球公民
星球公民
文章: 31
註冊時間: 2003-09-20 16:45

文章 sonic33200 »

我也有裝 Cash Mod 2.2.2 也有升級到 2.0.12 並沒有你說的問題
所以應該是你程式有改錯~請在仔細檢查看看

template.php 的問題~建議你裝 eXtreme Styles MOD 2.1.0
用他的 template.php 可升級 2.0.12 不需要修改\r
而且這支外掛非常好裝~完全不用動到檔案~只是加檔案而已\r
又可以加速你的論壇風格~何樂而不為
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

文章 jhung »

OK~我晚上回家檢查一次~~

在安裝您推薦的MOD試試看

感謝~
jhung
星球公民
星球公民
文章: 41
註冊時間: 2002-08-20 15:14
聯繫:

文章 jhung »

今天將eXtreme Styles MOD 2.1.0 安裝完畢之後~已經正常了~

感謝sonic33200兄指導!!
主題已鎖定

回到「外掛問題討論」