2013-09-27 75 views
0

大家可以幫助我..坦克驗證註冊總是過期

我想在我的註冊表中使用captcha。 我使用Codeigniter 2.0與坦克認證,但captcha總是過期時,我resgister。

這個配置的驗證碼罐AUTH:

$config['captcha_path'] = 'captcha/'; 
$config['captcha_fonts_path'] = 'captcha/fonts/1.ttf'; 
$config['captcha_width'] = 200; 
$config['captcha_height'] = 50; 
$config['captcha_font_size'] = 18; 
$config['captcha_grid'] = FALSE; 
$config['captcha_expire'] = 180; 
$config['captcha_case_sensitive'] = FALSE; 
+0

執行驗證碼圖片嗎? – Jeemusu

+0

顯示的驗證碼... – Annurysm

回答

0

這一個嘗試:

$config['captcha_path'] = 'captcha/'; 

改成這樣:

$config['captcha_path'] = './PATH_TO_YOUR_IMAGES_FOLDER/captcha/'; 

你必須確保你有一個文件夾名爲captcha當然有適當的權限。在config文件夾

如果顯示的驗證碼,然後嘗試重新上傳dx_auth.php。

也請你用檢查config.php的「本地」或「GMT」你time_reference?

無論哪種方式,試圖從一個切換到另一個,並再次嘗試驗證碼。這似乎是時區差異和Cookie過期的問題。

+0

文件夾都真實,驗證碼已顯示 – Annurysm

+0

是你的問題解決了沒有? –

+0

尚未shuvo ...提交表單後,我收到「您的確認碼已過期,請重試。」 – Annurysm