新聞中心
DeDecms程序訪問報“Safe Alert Request Error step 12”解決方法
DeDecms程序在PHP虛擬主機安裝頻率非常好,無憂主機小編幾乎每天都需要幫用戶安裝。使用DeDecms用戶多,所以問題也多。不知道站長是否遇到過DeDecms報錯:Safe Alert Request Error step 1/2。如果遇到此類報錯但不知道如何解決,請仔細閱讀以下內(nèi)容。
DeDecms程序訪問報“Safe Alert Request Error step 12”解決方法如下:
1、首先是點擊進入到我們的控制面板,然后找到文件管理選項,如圖所示:
2、點擊進入之后找到我們站點的根目錄,如圖所示:
3、進入到這個目錄之后找到我們的程序的路徑:/include/dedesql.class.php文件,點擊編輯,如圖所示:
查找:
function __construct($pconnect=false,$nconnect=true)
{
$this->isClose = false;
$this->safeCheck = true;
修改為:
function __construct($pconnect=false,$nconnect=true)
{
$this->isClose = false;
$this->safeCheck = false;
總結(jié):DeDeCms程序出現(xiàn)Safe Alert: Request Error step 1或Safe Alert: Request Error step 2的原因是由于SQL語句防注入功能引了的安全警告,在自定義模模型中使用了 union|sleep|benchmark|load_file|outfile之一都會引發(fā)這個警告,此外采集的內(nèi)容,如果有 ‘union 這類語法也會出現(xiàn)在這個警告。
以上是無憂主機獨立IP虛擬主機為您帶來的介紹。
本文地址:http://www.love62.cn/dedecms/28371.html
![1](/wp-content/themes/starow_z/img/o-1.png)
![1](/wp-content/themes/starow_z/img/o-2.png)
![1](/wp-content/themes/starow_z/img/o-3.png)
![1](/wp-content/themes/starow_z/img/o-4.png)
![1](/wp-content/themes/starow_z/img/o-5.png)
![1](/wp-content/themes/starow_z/img/o-6.png)
![1](/wp-content/themes/starow_z/img/o-7.png)