I must have missed a setting? Help

Support for IntegraMOD 141

Moderator: Integra Moderator

I must have missed a setting? Help

PostAuthor: Allen » Fri Apr 25, 2008 12:18 pm

Your phpBB Version: 2.0.23
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

The message simply says....

Your Daily Database Backup Failed.

but I can't find a setting to correct the issue. And I can find anything in the portal manual or in the forums.

Thanks in advance
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Helter » Fri Apr 25, 2008 1:03 pm

Im assuming you have set your backup folder file permissions to 777, so check this first
go to acp/.: Security :./special
change the number of admins and save. Now check and see if it saved the correct number of admins.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: I must have missed a setting? Help

PostAuthor: Allen » Sat Apr 26, 2008 12:00 am

Sorry no I have not set any permissions. The install instruction told me to skip that step.

I unzipped using cpanel.

And the Special doesn't wanna save any number I put in there and save the protect admin setting is switching back disabled.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: CaNNon » Sat Apr 26, 2008 7:34 am

You'll need to do the permissions they do need to be able to write to those folders.
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 12:15 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Allen » Sat Apr 26, 2008 9:20 am

Ok!

I went down the list and set all the permissions. Only one of them was set correctly.

I must have misunderstood which server I was on.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Helter » Sat Apr 26, 2008 1:09 pm

did this solve your problem in acp/.: Security :./special/
number of admins?
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: I must have missed a setting? Help

PostAuthor: Allen » Sat Apr 26, 2008 9:23 pm

It still returns to blank setting after I save special settings. and even now the permissions are correct i still got an email tonight saying that backup failed again.

I do not know why it will not hold the setting in special. I am the only admin and I set it to 1 admin allowed but returns to blank after saving.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Helter » Sat Apr 26, 2008 11:45 pm

it is because when you installed your forum, includes/phpbb_security.php was not chmodded to 666 so the install was not able to write to the file. You will have to edit the file to match the database entry.
in your database open phpbb_config.
look for these thee entries and thier following values.

sec_admin
sec_mods
sec_name

open includes/phpbb_security.php
find

function phpBBSecurity_AdminConfigName()
{
return 'phpBBSecurity_max_admins';
}

function phpBBSecurity_ModConfigName()
{
return 'phpBBSecurity_max_mods';
}

function phpBBSecurity_UseSpecial()
{
return 'phpBBSecurity_use_max';
}

replace the info in red with the values from the database fields
*note... the values are auto generated and will look something like kxucgncqteynvtykgiusb
after you have edited this file, set the chmod to 644
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: I must have missed a setting? Help

PostAuthor: Allen » Sun Apr 27, 2008 12:47 am

Done!

Now I can save max admins. But Since I did not know exactly which server I was on and did not set the permissions prior to loading the install screen., would it be best to re install setting the correct permissions before loading the install screen?

Are there not going to be more issues like this I have to correct? I ask now because this site is a learning curve for me. I wont be live with it until for at least another week.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Helter » Sun Apr 27, 2008 2:18 am

that and config.php are the only ones that are critical at install time. You will want to be sure your includes/def_* files are 666 also.
If your board is new and still working, you should be fine to set your chmods now.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: I must have missed a setting? Help

PostAuthor: Allen » Mon Apr 28, 2008 6:36 pm

Still receiving emails stating Database Backup Failed.

The Max admins seems to be fine. Still holding setting of 1. I have checked the includes/def_* files and the permissions are still the same as they are listed in the above post.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Allen » Fri May 09, 2008 11:19 am

Still getting daily messages about the back failing.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: Allen » Fri May 09, 2008 11:20 am

Still getting daily messages about the back failing.
Last edited by Allen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Allen
Integra Member
Integra Member
 
Posts: 100
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 22, 2008 10:08 pm
Cash on hand: 0.00

Re: I must have missed a setting? Help

PostAuthor: DjPorkchop » Fri May 09, 2008 12:27 pm

Ive been getting that for years now and yes....My backup folder is chmod to 777

1 user on my server says his worked for a short time then stopped working suddenly. I have never been able to get mine to work. So i just go to my control panel on the server and download a backup of my db.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: I must have missed a setting? Help

PostAuthor: Helter » Fri May 09, 2008 2:30 pm

try this

OPEN includes/phpbb_security.php

FIND
Code: Select all
            system("/usr/bin/mysqldump -u". $dbuser ." -p". $dbpasswd ." -h ". $dbhost ." ". $dbname ." > ". (($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] ]) . $board_config['.script_path'] . $backup_folder ."/". $backup_file  ."-". date('Y-m-d') .".sql", $fp);  


REPLACE WITH

Code: Select all
    include_once($phpbb_root_path .'includes/functions.'. $phpEx);    $my_path = search_mysqldump();    system($my_path ."mysqldump -u". $dbuser ." -p". $dbpasswd ." -h ". $dbhost ." ". $dbname ." > ". (($_SERVER['DOCUMENT_ROOT']) ? $_SERVER['DOCUMENT_ROOT'] ]) . $board_config['.script_path'] . $backup_folder ."/". $backup_file  ."-". date('Y-m-d') .".sql", $fp);
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]