今天才發現我的phpBB裡的網站的設定部份,有一個可以驗證密碼的功能(不過它前面沒有任何提示)
但啟用該選項後,登人phpBB註冊時,發生錯誤:
= = = = = = = = = =
Could not delete stale confirm data
DEBUG MODE
SQL Error : 1146 Table 'xxxxxx.phpbb_confirm' doesn't exist
DELETE FROM phpbb_confirm WHERE session_id NOT IN (.....省略......)
Line : 928
File : usercp_register.php
= = = = = = = = = =
原因很明顯,是沒有phpbb_confirm這個table,所以在網路上查了一下,發現有人提供以下MySQL
馬上加進去,產生一個phpbb_confirm的表格,就ok了。
CREATE TABLE phpbb_confirm (
confirm_id char(32) NOT NULL default '',
session_id char(32) NOT NULL default '',
code char(6) NOT NULL default '',
PRIMARY KEY (session_id,confirm_id)
) TYPE=MyISAM;
沒有留言:
張貼留言