2013-10-08 26 views
1

我想知道你是否可以提供幫助。爲什麼登錄我更新的ee站點時會出現數據庫錯誤?

我更新了我的本地網站到新的ee 2.7,並且這個網站變得很大。我在我的文件推到服務器,我可以得到/admin.php登錄頁面,但是當我按下登錄我得到這個錯誤:

A Database Error Occurred 
Error Number: 1054 

Unknown column 'used' in 'where clause' 

UPDATE `exp_security_hashes` SET `used` = 1 WHERE `used` = 0 AND `hash` = '04ec7161468a13c61c984f39f646a76073bdab56' AND `session_id` = 0 AND `date` > 1381249552 

Filename: core/EE_Security.php 

Line Number: 169 

有沒有人遇到過這種從之前更新EE CMS?

乾杯

+0

忘記升級數據庫旁邊的代碼? –

+0

嗯,數據庫沒有改變,在我的本地版本,工作正常! –

+0

如果您在MySQL控制檯中按查詢UPDATE'exp_security_hashes' SET'used' = 1 WHERE'used' = 0 AND'hash' ='04ec7161468a13c61c984f39f646a76073bdab56'AND'session_id' = 0 AND'date'> 1381249552 ...它給出了同樣的錯誤? – Hackerman

回答

0

There’s a bug in the Referrers module in upd.referrer.php.

Line 154 should be:

'referrers', instead of 'comments',

the full path of the file is

system/expressionengine/modules/referrer/upd.referrer.php

相關問題