Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Error: editing Admin profile

Asked Modified Viewed 1,136 times
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
asked
Junior Member

If the superadmin establishes an additional admin - he must edit his profile after logging in (add the admin password). When he does it, the Nick of all users changes to the Nick of the additional admin.

The same happens when the superadmin edits his own profile (changes the password or e-mail).

PHPFusion 9.03.110 - PHP 8 - MariaDB 10.5
0 replies

11 posts

K
krelli75
K
http://www.ochsen-schwann.de
http://www.lyra-conweiler.de
http://www.bistro-gleis2.de
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

I've tried it. No errors found. I've the same Fusion and server version like you.

You can download an updated edit_profile.php from the Github page (updated yesterday).
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

Unfortunately, after applying your advice - any editing of the admin profile (password change, e-mail address) changes the Nickname of all users to the Admin Nickname.
There are no errors in the error log, but just go to the user list to see that they all have the same Nick as the Admin.
Edited by Apis on 11-04-2021 20:18,
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

I can't reproduce it.

On subdomain try to install latest version from Github. Download.
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

I have done so. I imported the user database and edited my profile (changed e-mail). The effect is in the attached picture. All user names have been changed to Admin's name and his e-mail address.
Apis attached the following image:
Image not found
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

What user_fields do you have enabled?
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

None.
0 replies
S
Systemweb
S
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 6 threads in the forums
answered
Junior Member

Maybe you should check structure of your users table in db.
If all users have user_id = 1 then this field is no more primary and auto incremented.
On any change in profile it applies it to given user_id. If all users in table have id 1 then the changes will be saved to all.
Thats the only one possible reason i have in my mind.
Edited by Systemweb on 13-04-2021 10:14,
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

Everyone has a different ID (screen) in the user database. Already in earlier versions of Fusion 9 (eg 9.03.50) there was a problem with adding an additional Admin (he could not enter the admin password in his profile). In newer versions it can, but it causes the error described in this thread. Perhaps only I have this error, because the user database has been upgraded from version 7/8?

Edit:
I checked that an ordinary user (not an Admin) changes the e-mail address in his profile - the result is the same: all users receive his nickname and e-mail. Very strange...
Edited by Apis on 13-04-2021 11:57,
Apis attached the following image:
Image not found
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Can you send me FTP access? This is weird problem and we can't reproduce it.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Got It. Problem is with user fields.

This will remove everything and upload new content to user fields table. Later you can customize this in administration.

Run this in SQL tab in phpmyadmin.
TRUNCATE TABLE fusion4cbqw_user_fields;
TRUNCATE TABLE fusion4cbqw_user_field_cats;

INSERT INTO fusion4cbqw_user_fields (field_id, field_title, field_name, field_cat, field_type, field_default, field_options, field_error, field_required, field_log, field_registration, field_order, field_config) VALUES
(1, 'Birthdate', 'user_birthdate', 3, 'file', '', '', '', 0, 1, 1, 2, ''),
(2, 'Location', 'user_location', 3, 'file', '', '', '', 0, 1, 0, 2, ''),
(3, 'Skype', 'user_skype', 2, 'file', '', '', '', 0, 1, 0, 1, ''),
(4, 'ICQ#', 'user_icq', 2, 'file', '', '', '', 0, 1, 0, 3, ''),
(5, 'Website', 'user_web', 3, 'file', '', '', '', 0, 1, 0, 3, ''),
(6, 'Timezone', 'user_timezone', 4, 'file', '', '', '', 0, 1, 0, 1, ''),
(7, 'Theme', 'user_theme', 4, 'file', '', '', '', 0, 0, 0, 2, ''),
(8, 'Signature', 'user_sig', 4, 'file', '', '', '', 0, 1, 0, 3, '');

INSERT INTO fusion4cbqw_user_field_cats (field_cat_id, field_cat_name, field_parent, field_cat_db, field_cat_index, field_cat_class, field_cat_order) VALUES
(1, 'Profile', 0, 'users', 'user_id', 'fa fa-user', 1),
(2, 'Contact Information', 1, '', '', 'fa fa-user', 1),
(3, 'Miscellaneous Information', 1, '', '', 'fa fa-user', 2),
(4, 'Options', 1, '', '', 'fa fa-user', 3),
(5, 'Statistics', 1, '', '', 'fa fa-user', 4),
(6, 'Privacy', 1, '', '', 'fa fa-user', 5);
0 replies
A
Apis
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions
answered
Junior Member

THX, RobiNN. Problem solved perfectly.
0 replies

Labels

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
S
S
  • Junior Member, joined since
  • Contributed 22 posts on the community forums.
  • Started 6 threads in the forums
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
K
K
http://www.ochsen-schwann.de
http://www.lyra-conweiler.de
http://www.bistro-gleis2.de
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
A
A
Apis 12
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 13 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet