DedeCMS5.7驗(yàn)證碼錯(cuò)誤不顯示的解決方法

2014年9月19日17:18:40 發(fā)表評(píng)論 4,122 ℃

dede5.7驗(yàn)證碼出現(xiàn)錯(cuò)誤,無法顯示時(shí),打開文件/include/vdimgck.php ,找到第24行下面加入一行用來清空(擦除)緩沖區(qū)并關(guān)閉輸出緩沖,如下:

DedeCMS5.7驗(yàn)證碼錯(cuò)誤不顯示的解決方法

$sessSavePath = DEDEDATA."/sessions/";

加入

ob_end_clean(); //要加的代碼

添加以后顯示為:

$sessSavePath = DEDEDATA."/sessions/"; 
ob_end_clean(); //要加的代碼

千萬(wàn)不要加 ob_flush()或ob_end_flush()之類的。

【騰訊云】云服務(wù)器、云數(shù)據(jù)庫(kù)、COS、CDN、短信等云產(chǎn)品特惠熱賣中

發(fā)表評(píng)論

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: