am probleme cu salvarea backup
am probleme cu salvarea backup
nu mai pot face backup forumului..... adica ori se incarca si apare page cannot be displayed sau descarca si fisierul are 0.0 mb
si inca o problema fostii moderatori raman marcati cu o culoare nu redevin simpli useri ai forumului
ce pot face?????
si inca o problema fostii moderatori raman marcati cu o culoare nu redevin simpli useri ai forumului
ce pot face?????
- mihaitza
- Fost coleg
- Mesaje: 1873
- Membru din: 13-Ian-2003, 22:22:10
- Versiune: 3.0.5
- Ext: Nu
- Server: Windows
- Nivel phpBB: Experimentat
- Localitate: Cluj-Napoca, România
- Contact:
Citeşte: viewtopic.php?t=820
- BuGsY
- Fost coleg
- Mesaje: 1193
- Membru din: 19-Iun-2003, 15:24:49
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Constanţa
- Contact:
Foloseşte MODificarea phpBB Back Up este foarte utilă.
Ca să iei mai repede baza de date de pe FTP editează fişierul backup-cfg.php
1000 reprezintă numărul de mesaje între care este executat un backup-ul.
Deasemenea trebuiesc completate şi liniile (vezi jos) din acelaşi fişier.
Pe DAP am impresia că la $ftppath trebuie să treci /tmp/
Ca să iei mai repede baza de date de pe FTP editează fişierul backup-cfg.php
Cod: Selectaţi tot
$interval = 1000;
Deasemenea trebuiesc completate şi liniile (vezi jos) din acelaşi fişier.
Cod: Selectaţi tot
$username = "";
$password = "";
.......
$ftpenable = false;
$ftpname = "website.com";
$ftpuser = "username";
$ftppass = "password";
$ftppath = "/path/name/";
- teror
- Utilizator înregistrat
- Mesaje: 121
- Membru din: 16-Mar-2004, 12:47:55
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Cluj
- Contact:
aici
trebuie sa scriu ftp.dap.ro sau www.dap.ro sau www.nume.dap.ro ?
Cod: Selectaţi tot
$ftpname = "website.com";
trebuie sa scriu ftp.dap.ro sau www.dap.ro sau www.nume.dap.ro ?
- teror
- Utilizator înregistrat
- Mesaje: 121
- Membru din: 16-Mar-2004, 12:47:55
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Cluj
- Contact:
mie imi da eroarea asta :
si am pus asa :
Cod: Selectaţi tot
Warning: exec() has been disabled for security reasons in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 327
Warning: unlink(./backup/Anelle.gz): No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 338
Cod: Selectaţi tot
$ftpenable = true;
$ftpname = "ftp.dap.ro";
$ftpuser = "user";
$ftppass = "parola";
$ftppath = "/tmp/";
- BuGsY
- Fost coleg
- Mesaje: 1193
- Membru din: 19-Iun-2003, 15:24:49
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Constanţa
- Contact:
Încearcă aşa
Nu uita să faci un director backup şi să îi dai atribuţiile 777.
Cod: Selectaţi tot
$ftppath = '/usr/local/www/data-dist/go/anelle/forum/backup/';
- teror
- Utilizator înregistrat
- Mesaje: 121
- Membru din: 16-Mar-2004, 12:47:55
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Cluj
- Contact:
Cod: Selectaţi tot
The permissions on /forum/backup were successfully changed to 777.
Cod: Selectaţi tot
<?
/* if you don't want every administrator to be able to run this script, add the names of the people you want
* to access the script to the allowedNames array. for example, if you only wanted one user (say, TerraFrost)
* to access the script, you would replace the following line with this:
* $allowedNames = array('TerraFrost');
*
* Multiple names can be added by adding a ,'name' after the last name. An example follows:
* $allowedNames = array('TerraFrost','yawnmoth');
*
* NOTE: this is case-sensative.
*/
$allowedNames = array('Anelle','Coder');
/* if you don't want the username / password combo for the protected directory to be the same as the
* username / password combo for the sql database, assign a username / password to the appropriate
* vars, below.
*/
$username = '';
$password = '';
/* if you want the backup to be stored remotely, please change $ftpenable from false to true.
* further, you're login information will have to be entered below.
*/
$ftpenable = true;
$ftpname = 'ftp.dap.ro';
$ftpuser = 'Anelle';
$ftppass = 'parola';
$ftppath = '/usr/local/www/data-dist/go/anelle/forum/backup/';
/* if you want to change how many posts it takes for a backup to be made, edit the following value.
* if you don't want backups to occur every x posts, set the following value to 0.
*/
$interval = 1000;
?>
si asta e rezultatul:
Cod: Selectaţi tot
Warning: exec() has been disabled for security reasons in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 327
Warning: ftp_chdir(): Can't change directory to usr: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: ftp_chdir(): Can't change directory to local: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: ftp_chdir(): Can't change directory to www: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: ftp_chdir(): Can't change directory to data-dist: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: ftp_chdir(): Can't change directory to go: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: ftp_chdir(): Can't change directory to anelle: No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 336
Warning: unlink(./backup/Anelle.gz): No such file or directory in /usr/local/www/data-dist/go/anelle/forum/backup.php on line 338
---------------------------------------------------
Backup Failed. Unable to upload backup file.
Return to Main Menu
si totusi nu stiu unde e problema! please help!
Daca-i dam de capat, pe viitor toti cei care folosesc serverul dap.ro vor sti
cum sa-si seteze MOD-ul acesta!

Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 4 vizitatori