Page 1 of 1

Database Backup module install problem

Posted: Mon May 28, 2007 5:55 pm
by Anastasis
I have installed the Database Backup module (by FTPing the files and clicking on Install in the Modules list) in preparation for updating my CMSMS installation to the latest version.

However in the list of installed Extensions it shows the following:

--Add Me - module:Backup string:friendlyname--

rather than something like "Database Backup"

and if I click on the link I get the following:

string(78) "Smarty error: unable to read resource: "module_file_tpl:Backup;BackupForm.tpl""

What have I done wrong?

Re: Database Backup module install problem

Posted: Mon May 28, 2007 7:54 pm
by alby
Anastasis wrote: I have installed the Database Backup module (by FTPing the files and clicking on Install in the Modules list) in preparation for updating my CMSMS installation to the latest version.

However in the list of installed Extensions it shows the following:

--Add Me - module:Backup string:friendlyname--
A language item is missing (it's a warning message only)

Anastasis wrote: and if I click on the link I get the following:

string(78) "Smarty error: unable to read resource: "module_file_tpl:Backup;BackupForm.tpl""
It's missing a template. Try to reinstall module.
Have you look here?
Easy Database Backup Script
Archive module (SVN version!!!)

Alby

Re: Database Backup module install problem

Posted: Mon May 28, 2007 9:10 pm
by Anastasis
Thanks Alby.

You were right it was not installed properly. I uploaded the files by FTP in a flat structure not realising there were sub-folders.

I then re-installed it, but still had some errors...

1. Problems with mkdir permissions - which I resolved from seeing another post and giving the admin folder permissions of 777. I cannot see why the admin folder is involved - but this worked. Is giving the admin folder permissions of 777 OK - it doesn't create a security threat does it?

2. Then there was one line in the backup php script with a bug in it making a call to an undefined function of rowcount(). As per another post on the forums I have changed this in my copy to RecordCount().

Now it all works and all the database tables are backed up with a list of available backups to restore from. I don't know where these text files are being output to mind you as I cannot find them so perhaps I should implement one of the other suggestions you made.

Re: Database Backup module install problem

Posted: Tue May 29, 2007 7:25 am
by alby
Anastasis wrote: 1. Problems with mkdir permissions - which I resolved from seeing another post and giving the admin folder permissions of 777. I cannot see why the admin folder is involved - but this worked. Is giving the admin folder permissions of 777 OK - it doesn't create a security threat does it?
mkdir create folder. Probably backup file are a subfolder of adminĀ  ???

Anastasis wrote: 2. Then there was one line in the backup php script with a bug in it making a call to an undefined function of rowcount(). As per another post on the forums I have changed this in my copy to RecordCount().
It's a old module that worked with full ADODB. RecordCount() is relative function for ADODB Lite.

Alby