Elxis CMS Forum
Support => General => Topic started by: chongbing on April 28, 2015, 09:19:08
-
I found an login issue in Elxis 4.3. When I register a normal username then login in. It's show up as below the error message.
URL: http://elxis.big-help.com/inner.php/en/user/ilogin
{"success":1,"errormsg":"","uid":5,"gid":5,"uname":"filemakercn","firstname":"FileMakerCN","lastname":"Lin","email":"filemakercn@163.com","avatar":"http:\/\/www.gravatar.com\/avatar\/f2a004a7043faead16c2e2bb42e9d3e9?s=40"}
Does anyone know how to fix it ? I'll appreciate anyone help with this situation.
-
Thanks datahell, It's fixed now.
It's not an error. The problem is to disable the AJAX login (see login module parameters).
Hope this will help with other guys if who also meet the same problem.
-
The AJAX login is not a problem, it is a feature, and works fine. Why it doesn't work in your case is unknown. I must see it live to determine why. Most probably a file is missing (or is not up-to-date), or there is a problem related to javascript.
-
OK, I see. Could you please check your email, I just sent.
Thanks a lot.
-
The problem is caused by template Aurora, if you switch to an other template it works fine. Most probably it is a javascript conflict, I saw that aurora tries to set cookies from a javascript file but this is not allowed in Elxis 4.3 (for security Elxis accepts HTTP only cookies). Maybe this is the problem. Contact webgift for support.
Edit: I found the problem. It is in file aurora.js, there is a variable named "modlogin" which is declared using jquery but module login uses a function with the same name. i edit aurora.js and renamed "modlogin" to "modauroralogin" and now works fine.
Notify webgift to update Aurora package!
-
This issue has already been fixed to rev312 of Aurora package today. Everyone who interested can download the package
and replace the aurora.js that is placed to /templates/aurora/includes/ with the new one.
Thank you for the report!
-
Note for cookies
Non HTTP Cookies work on:
Elxis 4.0, 4.1, 4.2 with security level "Normal" or "High".
Non HTTP Cookies don't work on:
Elxis 4.0, 4.1, 4.2 with security level "Insane"
Elxis 4.3+ (any security level)
Tip: You can use HTML5 local storage method instead.
Non-HTTP cookies are cookies not set by Elxis PHP code, like javascript cookies.
-
Updated now,
Thanks datahell and webgift for this support.