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?
Database Backup module install problem
Re: Database Backup module install problem
A language item is missing (it's a warning message only)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--
It's missing a template. Try to reinstall module.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""
Have you look here?
Easy Database Backup Script
Archive module (SVN version!!!)
Alby
Last edited by alby on Mon May 28, 2007 7:56 pm, edited 1 time in total.
Re: Database Backup module install problem
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.
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
mkdir create folder. Probably backup file are a subfolder of adminAnastasis 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?

It's a old module that worked with full ADODB. RecordCount() is relative function for ADODB Lite.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().
Alby