Moderator: Integra Moderator
"HelterSkelter";p="32862" wrote: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
"HelterSkelter";p="33063" wrote: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);
"HelterSkelter";p="33181" wrote:if you do a search for the error message, you will find some usefull info, but it seems more common lately that web hosts are tightening up security and disabling certain php functions that are required for phpbbsecurity to work properly. Windows servers are notorious for issues here due to directory structure and permissions. Also be sure your host has not disabled the ()system command
"Allen";p="33186" wrote:I this the correct information?
Folder To Put Backups In
This folder MUST be in your forum root directory, it MUST be CHMOD -> 777
folder name- backup
Should there be a or a / before the folder name?
"star";p="33187" wrote:"HelterSkelter";p="33181" wrote:if you do a search for the error message, you will find some usefull info, but it seems more common lately that web hosts are tightening up security and disabling certain php functions that are required for phpbbsecurity to work properly. Windows servers are notorious for issues here due to directory structure and permissions. Also be sure your host has not disabled the ()system command
ive been running 140 with out any issues on back ups worked fine for 2 years on my server was working right up till i replaced it.. only since i installed 141 did it stop and was a clean full install not an upgrade
function phpBBSecurity_UseSpecial()
{
return 'sec_name';
}
"Allen";p="33192" wrote:The fix's I quoted from Helter Work!
I just got an email saying
Your Daily Database Backup Was Completed.
Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]