We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Super Admin can't leave comments, but users can.

How Do I?

mhallaba's avatar
mhallaba
32 posts
9 years ago
mhallaba's avatar mhallaba

Ran into this issue. Not sure if it’s a known bug or not.

3.1.1

Comments working fine for members. But super admin cannot post. It tells me you’re not allowed to post :/

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
9 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Hi there, I don’t think this is still a bug in 3.1.1, but since your DB carried over from another 3.x installation it has the issue?

Backup your database and try this in the SQL Query Form/phpMyAdmin:

UPDATE exp_member_groups SET can_post_comments =  '1' WHERE group_title =  'Super Admins';
       
mhallaba's avatar
mhallaba
32 posts
9 years ago
mhallaba's avatar mhallaba
UPDATE exp_member_groups SET can_post_comments = '1' WHERE group_title = 'Super Admins'
Affected Rows: 0

Still have the issue :/

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
9 years ago
Ingmar Greil's avatar Ingmar Greil

Are you sure you actually are logged in as a Superadmin? Can you add

Group ID: {logged_in_group_id}

somewhere in your code for debugging purposes? What do you get?

       
mhallaba's avatar
mhallaba
32 posts
9 years ago
mhallaba's avatar mhallaba
Are you sure you actually are logged in as a Superadmin? Can you add
Group ID: {logged_in_group_id}
somewhere in your code for debugging purposes? What do you get?

Definitely logged in as super admin. I can do everything else in the CP.

I get “0 rows affected” when i run the query.

       
Seth Barber's avatar
Seth Barber
172 posts
9 years ago
Seth Barber's avatar Seth Barber

It sounds like you have run into Bug #21409. As Pedro suggested you should be able to fix the problem with an SQL query. Can you tell me the group_id of your Super Admins group?

       
mhallaba's avatar
mhallaba
32 posts
9 years ago
mhallaba's avatar mhallaba
It sounds like you have run into [Bug #21409](https://support.ellislab.com/bugs/detail/21409/super-admins-dont-have-permission-to-add-comments). As Pedro suggested you should be able to fix the problem with an SQL query. Can you tell me the `group_id` of your Super Admins group?

super admins are number 1. I ran the query and it returned the above results. Lines changed: 0.

       
mhallaba's avatar
mhallaba
32 posts
9 years ago
mhallaba's avatar mhallaba

Fixed it…. there was a typo. It said super adminS with an S instead of super admin in the query i copy and pasted above.

Thanks!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.