3
I am also testing your module.
Here is a PHPdebugging message (I had to shorten the actuall print out)
Quote:
Warning [PHP]: fopen(/home/jayro/public_html/jason/modules/mysqlbackup/admin/dbinfo.php): failed to open stream: Permission denied in file modules/mysqlbackup/admin/main.php line 47
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 48
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 49
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 50
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 51
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 52
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 53
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 58
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 58
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 58
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 58
.
.
.
over hundret repetitions of this line
.
.
.
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 62
Warning [PHP]: fwrite(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 63
Warning [PHP]: fclose(): supplied argument is not a valid stream resource in file modules/mysqlbackup/admin/main.php line 64
Warning [PHP]: chmod(): No such file or directory in file modules/mysqlbackup/admin/main.php line 65
Warning [PHP]: main(dbinfo.php): failed to open stream: No such file or directory in file modules/mysqlbackup/admin/main.php line 66
Warning [PHP]: main(): Failed opening 'dbinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in file modules/mysqlbackup/admin/main.php line 66
Notice [PHP]: Undefined variable: numtables in file modules/mysqlbackup/admin/main.php line 80
Notice [PHP]: Undefined variable: table0 in file modules/mysqlbackup/admin/main.php line 86
These are the issues I have encountered:
- all tables where marked to be backedup, only first table actually gets backed up
- when I try to download backup, using the interface provided, I get a 403 (no permission) error, although directory and file are set to 777
- when completing a task on admin/main.php, it takes one back to admin/index.php. It would be nice, if it would return to admin/main.php, and the user wouldn't have to reenter all database info. As this will be especially unnverving, if one where to use the benefit of your module design, which allows for table selection
MySQL debugger gives me no print out.
So much for now.
BTW: there exists already a backup module. I still have the zip file, which you can download from
backup.zip (as I can't find a link to a download or information page).
The code might interest you.
Update: just in case I have also uploaded the following files (I haven't tested any of these though!):
xoops2-mod_dbtools_v1_1.zipxoops2-mod_eskuel.ziphttp:jason.jayro.net/uploads/xoops2-mod_sqldump.zip]xoops2-mod_sqldump.zip