When I logged into my umbraco backend, suddenly all of my templates in the templates tree were gone...!
What should I look for in order to fix the error and get my templates back??
The website is still running and everything seems to be working, but on the backend, I can no longer see the templates - It says "Templates" in the tree in the "settings" section, but it does not contain any of my templates any longer...
Are the templates stored on the server in the umbraco folder, or are they somehow fetched from the database?
Hope that you con point me in the right direction!
While I can't be sure what happened: the template live in both the database and on disk.
Try making a backup of the /masterpages folder and then one by one re-create the templates in Umbraco, give them the exact same name that they had before (the filename without the .master extension). This should give you the current contents of the template file as it lives on disk.
As always, have a look in your umbracoLog table and the windows event viewer to find any recent problems that might have caused this problem somehow.
Apparently the error was caused by an upgrade to the latest umbraco version. In the 'master' column in the 'cmsTemlate' some values were changed from '0' to 'null'. I changed it back and now it works again...
My templates disappeared!!!
Hi,
When I logged into my umbraco backend, suddenly all of my templates in the templates tree were gone...!
What should I look for in order to fix the error and get my templates back??
The website is still running and everything seems to be working, but on the backend, I can no longer see the templates - It says "Templates" in the tree in the "settings" section, but it does not contain any of my templates any longer...
Are the templates stored on the server in the umbraco folder, or are they somehow fetched from the database?
Hope that you con point me in the right direction!
While I can't be sure what happened: the template live in both the database and on disk.
Try making a backup of the /masterpages folder and then one by one re-create the templates in Umbraco, give them the exact same name that they had before (the filename without the .master extension). This should give you the current contents of the template file as it lives on disk.
As always, have a look in your umbracoLog table and the windows event viewer to find any recent problems that might have caused this problem somehow.
Ps. Have a look at these Google results for possible causes.
I've had this happen to me on a few occasions, in all cases it was a corrupt template name that caused the issue.
Apparently the error was caused by an upgrade to the latest umbraco version. In the 'master' column in the 'cmsTemlate' some values were changed from '0' to 'null'. I changed it back and now it works again...
Thanks for the help!
Interesting.. This just happened to me.
I had just added a new template and then my main master page and all it's child pages went bye bye.
I opened the database and went to the cmsTemplate table.
For the master that everything hung off i set the master column to NULL.
Now - they are all back.
so.. dont freak, open the database and take alook at the rows .
is working on a reply...