Unable to make changes to Security :: Special

Support for IntegraMOD 141

Moderator: Integra Moderator

Unable to make changes to Security :: Special

PostAuthor: Maleficia » Sun Jun 03, 2007 3:12 pm

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
Last edited by Maleficia on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Maleficia
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 03, 2007 3:05 pm
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: Maleficia » Tue Jun 05, 2007 8:44 am

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
Last edited by Maleficia on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Maleficia
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 03, 2007 3:05 pm
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: Maleficia » Wed Jun 06, 2007 8:37 pm

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!
Last edited by Maleficia on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Maleficia
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 03, 2007 3:05 pm
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: Helter » Wed Jun 06, 2007 8:55 pm

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
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
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 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Unable to make changes to Security :: Special

PostAuthor: Maleficia » Thu Jun 07, 2007 9:08 am

No, it's a direct install of the IM-141 package, and user ID#2 has been assigned to my username.
Last edited by Maleficia on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Maleficia
Newbie
Newbie
 
Posts: 4
Likes: 0 post
Liked in: 0 post
Joined: Sun Jun 03, 2007 3:05 pm
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: viragotech » Sat Sep 18, 2010 6:45 pm

"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>
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: viragotech » Sat Sep 18, 2010 7:10 pm

pushin this back up......
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Unable to make changes to Security :: Special

PostAuthor: Helter » Sat Sep 18, 2010 11:07 pm

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
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 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IntegraMOD 141

Who is online

Registered users: Helter, Vendethiel