Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[GitHub Bug #1352]Edit My Account: Call to undefined method RoleModel::Roles in Ajax request
fh111
✭✭
One member of our community let me know that he couldn't change his email address via the "Edit My Account" setting.
i checked and noticed that it does not work for anyone. you click 'save', but nothing happens. the dialog stays where it is, nothing is saved.
i just did a clean install of 2.0.18.4 in another directory and directly after setting it up tried to change the email address, but it did not work.
i wonder why. anyone else experiencing this?
Tagged:
0
Answers
Use Firebug for firefox and check for any javascript errors
There was an error rendering this rich post.
Never tried this, is there a setting in roles and permissions ?
There was an error rendering this rich post.
I think fh111 may have found a glitch. I tried it and found the same problem.
The save box just looks like it is trying to process and never resolves.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Have you run console ? In firebug
There was an error rendering this rich post.
line 828 - if (RoleModel::Roles($ConfirmEmailRoleID)) {
apparently this has to be set in config.php
C('Garden.Registration.ConfirmEmailRole');
$Configuration['Garden']['Registration']['ConfirmEmailRole'] = '8';
I set it - but it doesn't solve problem.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Time to hit up a bug report on Fatgit.
There was an error rendering this rich post.
I leave that to fh111 if more people can replicate problem.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yuuup sounds good.
Had to lol at fatgit.com
There was an error rendering this rich post.
oh thanks guys for looking into this. too bad - i was hoping there would be a quick fix
i just submitted this issue on ... uhm .. fatgit ..
never really used it before so please tell me i did not make a mistake
https://github.com/vanillaforums/Garden/issues/1352
Goodonya
There was an error rendering this rich post.
Good job, everything worked out... I updated the discussion title and commented on the bug on GitHub...
So now you can make bug reports (reproduce bugs first please!) and you can make ... wiki pages? :-)
There was an error rendering this rich post.
i am really confused now. i mentioned in a discussion to the other admins and mods that i reported the bug on github. then another admin wrote today that he was able to change his email address. so i tried myself, and it worked (firefox). then i tried with another browser (chromium) and it worked again Oo then i tried with a third browser (opera) and it also worked.
i am VERY confused buy this. i first heard about a user having difficulties changing their email about a month ago. i tried myself back then and couldn't change my email either. but i thought i'll deal with it another time, because i was quite busy back then.
so now...i don't know what to say honestly
@peregrine
does it work for you as well now? can anyone explain this to me please? i reproduced this on a clean install yesterday. and now on the same install it works as well!! wtf
baffled
Admins appear to be able to change e-mail, members run into an error.
Did you try it as a member?
create a test user, login as that user, and goto edit my account and see if you can change the e-mail address. If you can there is not problem and no bug now. If you can't something in the permissions or a bug is present. either way, still need to find out what to change.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
well it totally works with a regular members account on the clean install
but it did not even work with the admin account when i set it up to reproduce the error
but it does not seem to work for members in our community, so something is not right yet. keep me posted if you find something, i'll do the same
try replacing class.usermodel.php (from the new install) and putting it on your live /vanilla/applications/dashboard/models/class.usermodel.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
just tried but it did not change anything
edit:
i'll go through roles & permissions when i have time and just play with the checkboxes. too bad that part is so buggy ...
I reloaded all of the source to the 3/26/2012 version of software 2.0.18.4
and the problem disappeared. Members are now able to change the e-mail.
I also deleted all the ini files from cache. Don't quite know what the problem was.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
strange. i will try that too then, as soon i have time. will report back.
happy to hear the problem is resolved for you
I actually have an imaginary site, for me, myself, and I. None of us were worried about the problem, we just test and try to solve things for you folks for the challenge.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
haha, you're lucky! you don't have anyone complain about things not working 100% : )