Page 1 of 1

After crash I can't find templates anymore

Posted: Wed Apr 08, 2009 1:47 am
by Druuna2008
Hi!
I had a crash and unfortunatley the MySQL is totallly corrupted. However I still have all the other files. So here is my problem: I do not know how to get the the templates and the stylesheets into the theme manager. I just have the standard templates that come with the installation files.
The templates and stylesheets are from an xml template that I imported when setting up the website and that I customized.
So can anybody tell me, how can I import or retrieve them again? And where does DMS made simple store them?

thanks for your help .... and sorry if all this sounds quite dumb

Re: After crash I can't find templates anymore

Posted: Wed Apr 08, 2009 2:26 am
by jmcgin51
CMSMS stores the templates in the database.  If the database is corrupted and unsalvageable, then hopefully you have either a recent database backup, or you exported your customized templates as XML files at some point, so that you can simply re-import them.

Re: After crash I can't find templates anymore

Posted: Wed Apr 08, 2009 7:48 am
by Druuna2008
Well, thanks for your answer, unfortunately it was the backup that had a crashed DB after my server crashed .... anyway, I did it by hand all again.  ::)
but now I will store them as XML-files. Will never forget your advice

Re: After crash I can't find templates anymore

Posted: Wed Apr 08, 2009 1:36 pm
by Pierre M.
Druuna2008 wrote: but now I will store them as XML-files. Will never forget your advice
Don't you find SQL backups more practical ?

Pierre M.

Re: After crash I can't find templates anymore

Posted: Thu Apr 09, 2009 11:09 pm
by jmcgin51
I think he was saying that he'll export the customized themes as XML files so that if he runs into this situation again, he can just import the XML.