Backup module won't work with version 0.12

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
MichaelK

Backup module won't work with version 0.12

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Backup module won't work with version 0.12

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
MichaelK

Re: Backup module won't work with version 0.12

Post by MichaelK »

This don't have any negative effect on the cms?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Backup module won't work with version 0.12

Post by calguy1000 »

it shouldn't cms, used the regular version of adodb until 0.12.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
MichaelK

Re: Backup module won't work with version 0.12

Post by MichaelK »

Is there any fix for this problem? I mean can i change MetaTables in something else so it will work? ???
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Backup module won't work with version 0.12

Post by Ted »

I have some ideas on how to fix this.  I'll see what I can do today and get back to you.
MichaelK

Re: Backup module won't work with version 0.12

Post by MichaelK »

That's great!!! Thnx allready!  ::)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Backup module won't work with version 0.12

Post 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!
MichaelK

Re: Backup module won't work with version 0.12

Post by MichaelK »

Hey Dude,


It works fine!!!!
Thnx a lot ;D
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: Backup module won't work with version 0.12

Post by Ted »

Ok, thanks.  I'll try to cut a new release of it this morning.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

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

Post 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
Last edited by jce76350 on Mon Jul 31, 2006 5:49 pm, edited 1 time in total.
Jean-Claude Etiemble MyPageFr
Locked

Return to “Modules/Add-Ons”