Home  >  Article  >  Backend Development  >  destoon会员注册提示“数据校验失败(2)”解决方法_php实例

destoon会员注册提示“数据校验失败(2)”解决方法_php实例

WBOY
WBOYOriginal
2016-06-07 17:18:271051browse

很多人在使用destoon建立一个B2B系统的时候,会在企业站注册企业用户的时候出现:“数据校验失败(2)”的错误提示,严重影响用户的使用。现将解决方法公布如下:

从destoon的后台进入module/member/register.inc.php

在register.inc.php文件中找到:

if($submit){

将其下的

if($action != crypt_action(‘register')) dalert($L['check_sign'].'(1)');

注释掉:

//if($action != crypt_action(‘register')) dalert($L['check_sign'].'(1)');

再找到

if($_SESSION['regemail'] != md5(md5($post['email'].DT_KEY.$DT_IP))) dalert($L['check_sign']);

也注释掉:

//if($_SESSION['regemail'] != md5(md5($post['email'].DT_KEY.$DT_IP))) dalert($L['check_sign'].'(2)');

至此,该问题得以解决。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn