[Solved] Security settings

Support for IntegraMOD 141

Moderator: Integra Moderator

[Solved] Security settings

PostAuthor: .QUACK.Major.Pain » Wed May 13, 2009 2:13 pm

I noticed that you can turn on the Protect Admin Mod setting at top of ACP>Security>Special page.

After setting to Enabled and submitting, it goes back to disabled.

Is this possibly a CHMOD issue? If so what file/folder would I be looking for?


Thanks again.
Last edited by .QUACK.Major.Pain on Wed May 13, 2009 7:29 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Security settings

PostAuthor: Helter » Wed May 13, 2009 5:52 pm

this happens when you install without setting includes/phpbb_security.php chmod to 666. By default when you install IM141 phpBBSecurity sets a random code in the db and writes it to includes/phpbb_security.php.

check your db in phpbb_config for the 3 phpbb security fields

sec_admin = admins_allowed
sec_mods = mods_allowed
sec_name = block_unwanted

the values for these fields dont matter, but they need to match the valuse in phpbb_security

Code: Select all
    function phpBBSecurity_AdminConfigName()           {           return '[b]admins_allowed[/b]';           }                 function phpBBSecurity_ModConfigName()           {           return '[b]mods_allowed[/b]';           }                 function phpBBSecurity_UseSpecial()           {           return '[b]block_unwanted[/b]';           }



Ive posted them with the default values, but you should choose something else.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Security settings

PostAuthor: .QUACK.Major.Pain » Wed May 13, 2009 7:05 pm

I checked phpbb_config, and it only contains 2 fields. config_name and config_value.

Browsing them there is no mention of admin or mod or values.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: Security settings

PostAuthor: Helter » Wed May 13, 2009 7:13 pm

in phpmyadmin, click on the "Stucture" tab, then scroll down to the phpbb_config table and click the "edit" button/ It will be on the 7th or 8th page
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Security settings

PostAuthor: .QUACK.Major.Pain » Wed May 13, 2009 7:28 pm

Thanks Helter.

Checked all my sites and they were all the same.

Fixed them all now.

Didn't recall the 666 in the instructions, but might have overlooked it.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 10:15 am
Cash on hand: 0.00

Re: [Solved] Security settings

PostAuthor: Metalaxe » Mon Jun 22, 2009 3:27 am

Hi, seems that I have the same problem (cannot Enable the Admin 7 moderator accounts), also there are also 2 other fields that cannot chage:

1) You currently have 2 real users set to 'Admin' status in the users table. It appears you have more admins in the users table than allowed!
2) You currently have 2 real users set to 'Moderator' status in the users table. It appears you have more mods in the users table than allowed!

I changed the values in phpbb_config and matched their values with the phpbb_security.php but nothing happens... :wink:

Metalaxe
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Sun Sep 02, 2007 4:27 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot]