It did not work ider and I do not realy like my root folder being 777 thats a heigh risk factor.
I pm you my testsite ftp and modxadmin so you can take a look if you want.
OK I got it to work sort of
I updated the zipclass to the latest version now I end up with a good zipfile but after creating the zip I get this error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_query(): 5 is not a valid MySQL-Link resource
Error type/ Nr.: Warning - 2
File: /home/httpd/vhosts/kinghosting.nl/subdomains/modx/httpdocs/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 135
Line 135 source: if (!$result = @ mysql_query($sql, $this->conn)) {
Parser timing
MySQL: 0.0020 s s (3 Requests)
PHP: 8.3044 s s
Total: 8.3064 s s
if we could fix this that I think it wil be working nice
maybe its posible to make the sqlbackup not in the root but in another folder?
I realy do not like setting my root folder to 777
Is there a limit to the size? it stops on one of my sites that contains over 40MB the tempzip did not get bigger than 11.2Mb
on the small site it does continue but gives the error above
if want to make a zip file bigger than 12 mb change th line
370 ini_set("memory_limit","12M"); to sweet your needs
for make mysql file in another directory, for example the folder you have sql
make this folder 777 and change the line 7 to
$modx_backup_dir2 = $modx->config[’base_path’] .’sql/’;
i think if you change this all works well (pm if you could works all well to post to the repository whith the last pzip class)hi
Changing $modx_backup_dir2 = $modx->config[’base_path’] .’sql/’;
did not work it gives me a sql error
if i set it to use root it works but on the end I get this error
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: mysql_query(): 7 is not a valid MySQL-Link resource
Error type/ Nr.: Warning - 2
File: /home/httpd/vhosts/1-vision.nl/httpdocs/manager/includes/extenders/dbapi.mysql.class.inc.php
Line: 93
Line 93 source: if(!$result = @mysql_query($sql, $this->conn)) {
Parser timing
MySQL: 0.0032 s s (4 Requests)
PHP: 90.0268 s s
Total: 90.0300 s s
I pmed you my login
i added to the repository updated and whithout chmod problems
hi