1.0.4 and the backup module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pro_01

1.0.4 and the backup module

Post by pro_01 »

I am trying to create a backup with the well known backup module, but I keep getting this:
backing up database ...

    * cms_additional_htmlblob_users

      Fatal error: Call to undefined function: rowcount() in /var/www/web27/html/modules/Backup/Backup.module.php on line 26
It did work with CMSMS versions prior to 1.x. My admin/bakcups directory is 777. What should I do to use it in 1.0.4?
cyberman

Re: 1.0.4 and the backup module

Post by cyberman »

backup module is an older module (pre 1.0). There are some changes, so it will not work.

But you can try to replace all rowcount() with recordcount() in source.
pro_01

Re: 1.0.4 and the backup module

Post by pro_01 »

thanks. this did the trick. let's hope it will restore it in a seamless manner.
cyberman

Re: 1.0.4 and the backup module

Post by cyberman »

There's another module for backup named mysql dump ...
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: 1.0.4 and the backup module

Post by Hare »

cyberman wrote: There's another module for backup named mysql dump ...
Doesn't work with my host:

Code: Select all

Warning:  system() has been disabled for security reasons in /home/qwerqwer/public_html/qwerqwer/modules/MysqlDump/MysqlDump.module.php on line 445

Warning:  system() has been disabled for security reasons in /home/qwerqwer/public_html/qwerqwer/modules/MysqlDump/MysqlDump.module.php on line 447

-- WARNING : Please, check permissions of files and folders :
--      chmod 777 admin/backups
--      chmod 777 modules/MysqlDump
--      chmod 666 modules/MysqlDump/dump-verbose.txt
This really is a PITA with my clients host that doesn't even have phpmyadmin.
cyberman

Re: 1.0.4 and the backup module

Post by cyberman »

Hare wrote: This really is a PITA with my clients host that doesn't even have phpmyadmin.
You can have a phpmyadmin inside CMSms. Try this

http://dev.cmsmadesimple.org/projects/phpmyadmin/
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: 1.0.4 and the backup module

Post by Hare »

cyberman wrote:
Hare wrote: This really is a PITA with my clients host that doesn't even have phpmyadmin.
You can have a phpmyadmin inside CMSms. Try this

http://dev.cmsmadesimple.org/projects/phpmyadmin/
Thanks I'll check it out. I just tried Database backup module with the suggested change in the sourcecode and it seems to be working nicely. If only I would have known this a few days ago... sigh.

Thanks for the tip.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: 1.0.4 and the backup module

Post by Dr.CSS »

I posted a new version with a link in this post...

http://forum.cmsmadesimple.org/index.ph ... 376.0.html

It's how I move my sites...
Locked

Return to “CMSMS Core”