I recently upgraded my MT install from MT 4.1 to MT 4.25, doing it the way I always have, that is, by un-tarring the contents of MT-x.tgz (in this case, x = 4.25) into my htdocs directory and initiating the db upgrade after logging in at mt.cgi.
So far, so good, then I go to publish an entry. I get several errors, notably:
1. missing HTML Head template module
2. missing rsd template
3. missing Banner Header template module
4. missing Entry Summary template module
5. missing archive_index template
6. missing Sidebar template module
7. missing Banner Footer template module
Unfortunately I forgot to back up my MT database before upgrading (although I had backed up my htdocs directory) so I can't downgrade.
I can see that all these "missing" modules are in htdocs/default_templates, so why am I missing them all of a sudden?
I have to admit, I haven't really messed around with my blog templates since MT3 so I don't know if these are new missing things or what, but needless to say, after having upgraded about 10 times without a hitch over the years (I've been a MT user since 2001) and this came as a real surprise.
Can I make my MT installation aware of those templates?
Reported on Movable Type 4.2
When you rebuild your site, does it throw errors saying it can't find the template modules?
That's exactly what it does. It tells me:
and so on as the complaining tags are removed.
When I go to edit the template, it lists 4 included templates with links to create them:
I'm having a similar problem - but different:
Everything rebuilds fine with sidebar and footer in Entry template... so, I screwed up Main Index somewhere... right?
So, I delete Main_Index - recreate it as blank - rebuild it... then I create second test blog - copy paste Main_Index template - same story... different day.
Any suggestions?
Hello Guys,
The problem you are facing is that your movable type blogs are based on a specific movable type templating architecture (specific module names) and that the new version is based on different module names...
What I would call the easiest solution to this is to go to:
Design -> Templates
And from the right side bar, under 'Actions' to click on:
'Refresh Blog Templates'
This is going to regenerate all your templates to the current version architecture!
ATTENTION!
In case on your older templates you've had specific coding that you've added (custom coding, in house made widgets etc) running 'Refresh Blog Templates' will erase these.
So, you may like to first have a look at your current templates, create a local copy on your disk and then run 'Refresh Blog Templates'.
If you've had some custom coding, you can then start porting it to the new templates...
Also, if you are afraid not to ruin something and you need professional consultancy on this, I am available to do this job for you.
Cheers,
Mihai
Thank you Mihai!
Thanks Mihai.That worked for me. Note, I had to do the refresh templates from the system page. If I clicked on refresh blog templates I'd get this white box on my screen.
Wow. That completly reset all my templates back to the original. That really sucked.