Pagina 1 din 2

am probleme cu salvarea backup

Scris: 05-Iun-2004, 01:03:33
de d3n
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?????

Scris: 05-Iun-2004, 01:39:02
de bogdan
pe ce host ai forumul ?

Scris: 05-Iun-2004, 08:49:01
de mihaitza

Scris: 06-Iun-2004, 03:11:03
de d3n
dap.ro e serverul.... inainte merge sa iau fisierul dar in ultima vreme de cand a ajuns sa aiba aproape 3 mb nu mai merge.

Scris: 06-Iun-2004, 03:21:53
de BuGsY
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

Cod: Selectaţi tot

$interval = 1000;
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.

Cod: Selectaţi tot

$username = "";
   $password = "";
       .......
   $ftpenable = false;
   $ftpname = "website.com";
   $ftpuser = "username";
   $ftppass = "password";
   $ftppath = "/path/name/";
Pe DAP am impresia că la $ftppath trebuie să treci /tmp/

Scris: 16-Sep-2004, 14:11:56
de teror
aici

Cod: Selectaţi tot

 $ftpname = "website.com";  

trebuie sa scriu ftp.dap.ro sau www.dap.ro sau www.nume.dap.ro ?

Scris: 16-Sep-2004, 19:13:16
de teror
mie imi da eroarea asta :

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
si am pus asa :

Cod: Selectaţi tot

$ftpenable = true;
   $ftpname = "ftp.dap.ro";
   $ftpuser = "user";
   $ftppass = "parola";
   $ftppath = "/tmp/";

Scris: 16-Sep-2004, 19:49:39
de BuGsY
Încearcă aşa

Cod: Selectaţi tot

$ftppath = '/usr/local/www/data-dist/go/anelle/forum/backup/';
Nu uita să faci un director backup şi să îi dai atribuţiile 777.

Scris: 17-Sep-2004, 12:24:34
de teror

Cod: Selectaţi tot

The permissions on /forum/backup were successfully changed to 777.
si am scris cum a zis BuGsY ( mai jos este backup-cfg.php ):

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! :)

Scris: 17-Sep-2004, 15:56:56
de BuGsY
Încearcă atunci calea /forum/backup
La mine merge acestă MODificare. ( nu folosesc serverul dap însă ;))