Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Convert
Wordpress to Elxis
with
Elxis importer
!
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Show up error when user login
« previous
next »
Print
Pages: [
1
]
Author
Topic: Show up error when user login (Read 8087 times)
chongbing
Full Member
Posts: 137
Show up error when user login
«
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.
Logged
Make it a better world,
https://EasyApps.Biz
chongbing
Full Member
Posts: 137
Re: Show up error when user login
«
Reply #1 on:
April 28, 2015, 15:00:10 »
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.
Logged
Make it a better world,
https://EasyApps.Biz
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Show up error when user login
«
Reply #2 on:
April 28, 2015, 17:52:17 »
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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
chongbing
Full Member
Posts: 137
Re: Show up error when user login
«
Reply #3 on:
April 28, 2015, 22:23:00 »
OK, I see. Could you please check your email, I just sent.
Thanks a lot.
Logged
Make it a better world,
https://EasyApps.Biz
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Show up error when user login
«
Reply #4 on:
April 29, 2015, 21:49:08 »
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!
«
Last Edit: April 29, 2015, 22:00:45 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Show up error when user login
«
Reply #5 on:
April 30, 2015, 08:47:37 »
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!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Show up error when user login
«
Reply #6 on:
April 30, 2015, 13:37:26 »
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.
«
Last Edit: April 30, 2015, 13:41:51 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
chongbing
Full Member
Posts: 137
Re: Show up error when user login
«
Reply #7 on:
April 30, 2015, 19:58:14 »
Updated now,
Thanks datahell and webgift for this support.
Logged
Make it a better world,
https://EasyApps.Biz
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Show up error when user login