Page 1 of 1

Backup module won't work with version 0.12

Posted: Thu Mar 09, 2006 9:53 pm
by MichaelK
function doBackup($id, $params, $returnid)
{
$db = $this->cms->db;
$tables = $db->MetaTables();
if (! is_dir($this->backupDirectory))
{
mkdir($this->backupDirectory);
}

It don't reconise MetaTables anymore. How can I fix this?

Re: Backup module won't work with version 0.12

Posted: Thu Mar 09, 2006 10:44 pm
by calguy1000
unfortunately, the MetaTables command is not supported in adodb lite.  You can try setting "use_adodb_lite" to false in the config.php, this should work if you've upgraded from a preveious version.

Re: Backup module won't work with version 0.12

Posted: Thu Mar 09, 2006 11:08 pm
by MichaelK
This don't have any negative effect on the cms?

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 12:03 am
by calguy1000
it shouldn't cms, used the regular version of adodb until 0.12.

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 10:56 am
by MichaelK
Is there any fix for this problem? I mean can i change MetaTables in something else so it will work? ???

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 11:00 am
by Ted
I have some ideas on how to fix this.  I'll see what I can do today and get back to you.

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 11:02 am
by MichaelK
That's great!!! Thnx allready!  ::)

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 11:39 am
by Ted
Ok, I think I have it.  It worked fine for me, but YMMV.

Replace Backup.module.php with http://svn.cmsmadesimple.org/svn/databa ... module.php

Please let me know how it works for you.  Thanks!

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 12:27 pm
by MichaelK
Hey Dude,


It works fine!!!!
Thnx a lot ;D

Re: Backup module won't work with version 0.12

Posted: Fri Mar 10, 2006 12:55 pm
by Ted
Ok, thanks.  I'll try to cut a new release of it this morning.

Re: Backup module won't work with version 1.0beta3

Posted: Mon Jul 31, 2006 5:45 pm
by jce76350
hi,

I test module databasebackup 0.5  on 1.0beta3

I have just
"backing up database ...
    * cms_additional_htmlblob_users"
and process Stop