注册时出现“用户名已经存在”,解决方法:
需要修改JS文件夹下的user.js,在function registed_callback(result)和function check_email_callback(result)里分别加上
result = result.replace(/\n|\r/g, '');
这一句就好了。
如下:
function registed_callback(result)
{result = result.replace(/\n|\r/g, '');
if ( result == "true
如果还不能解决:
直接用原程序包中的 user.php (根目录下)替换现有的 user.php文件,“用户名存在”的问题迎刃而解~~~