ezshine/community-mini-program

登录失败

Opened this issue · 4 comments


Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50556 Library:100130 in /data/Server/community/api/mysql.php on line 6

Warning: Missing argument 3 for exitJson(), called in /data/Server/community/api/login.php on line 51 and defined in /data/Server/community/api/functions.php on line 12

Notice: Undefined variable: result in /data/Server/community/api/functions.php on line 14
{"err":2,"msg":"\u767b\u5f55\u5931\u8d25\uff0c\u8bf7\u6388\u6743\u83b7\u5f97\u6635\u79f0\u548c\u5934\u50cf","result":null}

有没有遇到这个错误,是什么原因啊?

已经部署到自己的服务器了吗?

你好 ezshine,
感谢你的回复,现在问题已经解决,因为小程序没有配置对,修改后就好了。另外想咨询一下你,这个小程序必须选择 社交分类,需要icp备案,个人的备案可以通过审核吗?你们有没有遇到这个问题。

谢谢

通过后台开关在审核期关闭社交功能,选择非社交分类可以绕过审核,我在代码里都加了。但不推荐使用这种方法,因为现在审核比以前也严格得多了。

你好,我尝试了一下也出现了登陆失败的问题,code没有不为空,appid,secret也是正确的,返回数据中openid和session_key为null