Page 1 of 1

Unable to make changes to Security :: Special

PostPosted: Sun Jun 03, 2007 3:12 pm
Author: Maleficia
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?

Attempted tp chmod admin_security.php to 666 and 777


De.scription and Message

I'm trying to increase the number of moderators in Security:Special, and I keep getting the following error:

Forbidden
You don't have permission to access /admin/admin_security.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I successfully increased the number of moderators a few weeks ago, but this problem just suddenly appeared, and I'm at a loss for what to do. Any help would be greatly appreciated.

-Mal

Re: Unable to make changes to Security :: Special

PostPosted: Tue Jun 05, 2007 8:44 am
Author: Maleficia
No dice. I installed the above-mentioned cookie mod, but got the following errors:


Warning: main(./../extension.inc) [function.main]: failed to open stream: No such file or directory in /*********/cookie.php on line 24

Warning: main(./../extension.inc) [function.main]: failed to open stream: No such file or directory in /*********/cookie.php on line 24

Warning: main() [function.include]: Failed opening './../extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /*********/cookie.php on line 24

Warning: main(./../common.) [function.main]: failed to open stream: No such file or directory in /*********/cookie.php on line 25

Warning: main(./../common.) [function.main]: failed to open stream: No such file or directory in /*********/cookie.php on line 25

Warning: main() [function.include]: Failed opening './../common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /*********/cookie.php on line 25

Fatal error: Call to undefined function: session_pagestart() in /*********/cookie.php on line 33

Re: Unable to make changes to Security :: Special

PostPosted: Wed Jun 06, 2007 8:37 pm
Author: Maleficia
Okay, I followed your recommendation and ran the .script, but I'm still getting the initial error I started out with at the outset. Ugh, this is frustrating!

Re: Unable to make changes to Security :: Special

PostPosted: Wed Jun 06, 2007 8:55 pm
Author: Helter
is this and upgrade from another premod package? The reason I ask is that ive found another system that does not assign user id#2 to the founder and phpbb security is looking for user id#2

Re: Unable to make changes to Security :: Special

PostPosted: Thu Jun 07, 2007 9:08 am
Author: Maleficia
No, it's a direct install of the IM-141 package, and user ID#2 has been assigned to my username.

Re: Unable to make changes to Security :: Special

PostPosted: Sat Sep 18, 2010 6:45 pm
Author: viragotech
"HelterSkelter" wrote:is this and upgrade from another premod package? The reason I ask is that ive found another system that does not assign user id#2 to the founder and phpbb security is looking for user id#2



HS I am the admin but not user ID number 2[thus cann't get to those settings in ACP], learned long ago that folks were constantly trying to hack the admin user #2 account, so I disabled it every way possiable, so any attempts would be null n void.

scary when you get into your site and see your already logged on <img>

Re: Unable to make changes to Security :: Special

PostPosted: Sat Sep 18, 2010 7:10 pm
Author: viragotech
pushin this back up......

Re: Unable to make changes to Security :: Special

PostPosted: Sat Sep 18, 2010 11:07 pm
Author: Helter
open your database in phpmyadmin
open the table phpbb_config
find these three entries
"sec_admin"
"sec_mods"
"sec_name"

open the file root/includes/phpbb_security.php
find
Code: Select all
    function phpBBSecurity_AdminConfigName()     {         return

after, edit the code inside the single quotes with the database value for "sec_admin"

find
Code: Select all
    function phpBBSecurity_ModConfigName()     {         return

after, edit the code inside the single quotes with the database value for "sec_mods"

find
Code: Select all
    function phpBBSecurity_UseSpecial()     {         return

after, edit the code inside the single quotes with the database value for "sec_name"

the file should look like this

Code: Select all
    function phpBBSecurity_AdminConfigName()     {         return 'DATABASE INFO';     }             function phpBBSecurity_ModConfigName()     {         return 'DATABASE INFO';     }             function phpBBSecurity_UseSpecial()     {         return 'DATABASE INFO';     }


when your done, change the chmod for phpbb_security to 644. After install, there is no reason for this file to be writable

Re: Unable to make changes to Security :: Special

PostPosted: Tue Jul 23, 2024 2:06 pm
Author: DjPorkchop
Boy was this ever a late bump eh? Still worked today.