Support

  1. davidIUS
  2. Bug Report
  3. Thursday, October 22 2015, 08:41 AM
When user changes a setting in Easy Profile there is lots of variables that are dropped in #__session table and data column. This forces user to log out and log in again to access restricted parts of our website again. It also messes up the phpbb forum link.

For example it drops

s:6:"groups";a:2:{i:2;s:1:"2";i:21;s:2:"21";}s:5:"guest";

and replaces it with

s:6:"groups";N;s:5:"guest";

and it also drops

phpbb with several parameters.

Please fix this ASAP so that session variables are not dropped.
admin Accepted Answer
Admin
Hi,
Do you also offer your services as a freelancer?
No sorry, we not work as freelance. But if you need some other feature for our product then feel free to write in this forum as Feature Request. We are always opened to new ideas.
  1. more than a month ago
  2. Bug Report
  3. # 1
davidIUS Accepted Answer
Basic
Thank you for your help! Great service. Do you also offer your services as a freelancer? Could you please e-mail me your e-mail address and I will tell you more.
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
ah ok.
Why? I don't know

This code prevent that some Joomla user plugin change dynamically and temporary (temporary because this is not stored in DB) usergroups. You need to leave this code for security purpose.

To change usergroups there are dedicated Joomla APIs.
  1. more than a month ago
  2. Bug Report
  3. # 3
admin Accepted Answer
Admin
Hi,
I will continue to search for the error. Do you know why group parameter is dropped by Joomla?
Yes, found!
see at file components/com_users/models/profile.php, at line 396 there is this code:
$user->groups = null;

This code is into save() function, so it is launched on update profile. Why? I don't know :D
  1. more than a month ago
  2. Bug Report
  3. # 4
davidIUS Accepted Answer
Basic
Ok! Thank you. It is not related to the phpbb bridge but I will continue to search for the error. Do you know why group parameter is dropped by Joomla? Weird.
  1. more than a month ago
  2. Bug Report
  3. # 5
admin Accepted Answer
Admin
Hi,
If a user with several user groups updates a profile detail then the session details get dropped for you too?

No, only group parameter, but there are _authGroup and _authLevels variables in session table. this happened even without Easy Profile
Can you reproduce the error?

this is not a error, it is a Joomla behavior. permissions(groups and ACL) are not lost.
It is not related to Easy Profile?

problem of session table not, but maybe you have some wrong condition in some field that assign or remove some usergroup.
you can make a simple test to try if this depends from Easy Profile, go into extensions->plugins search for "Easy Profile", disable all plugin. with this Easy Profile not do nothing.


you have mentioned PhpBB, this is not a Joomla component it is a standalone forum (I think) so I suppose you use some bridge, you could request support to bridge provider?
  1. more than a month ago
  2. Bug Report
  3. # 6
davidIUS Accepted Answer
Basic
Content Protected
  1. more than a month ago
  2. Bug Report
  3. # 7
admin Accepted Answer
Admin
Hi,
can you please post me your site details? you can use the form below the reply in site details tab.

Please "Optional Information" tell me how to reproduce this error.

We have make some test and not find any difference between site with or without Easy Profile, after update user information the data into #__session table become "s:6:"groups";N;"

Tested on Joomla 3.4.4
  1. more than a month ago
  2. Bug Report
  3. # 8
davidIUS Accepted Answer
Basic
Great!
  1. more than a month ago
  2. Bug Report
  3. # 9
admin Accepted Answer
Admin
hi,
give me 3 hours we will check this and come back with fix (if necessary) ;)
  1. more than a month ago
  2. Bug Report
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.