2code
2code copied to clipboard
按照说明进行设置,但是登录、注册、游客操作无反应,后台对php报500错误。
本人用的SQLyog+phpStudy进行本地测试,域名设定为erweima.huoma123.com,可正常链接index页面,custom.js里面url设置为'//erweima.huoma123.com/dist',注册功能register.php和登录、游客login.php在浏览器的开发者工具栏里面均报get 500 (Internal Server Error)错误,请问怎么弄才能正常运行?
把con_sql.php里面在$conn = mysqli_connect('host','username','password','dbname','port');后面的一堆注释删掉,可以修复报console报JSON转义错误