Help - Search - Members - Calendar
Full Version: My blog reverts to code
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
docdrew
I lost my blog (twice!!!). I saved some changes and when I did a rebuild and went to view my site it was gone! All i get is all the code from the index page. How can I get it back?huh.gif Please please help. It's at www.riaap.org/mt4
Thanks, Andy
lbessant
For some reason all the

CODE
<html tags>


are being escaped into

CODE
lt; html tags  gt;


Which is why the source code is being displayed rather than rendered. Do you have anything in your template that could be doing that?
docdrew
Nothing I know of, or did (at least on purpose). I wouldn't even know how to do that. If I took the code in to Word, did a find and replace of
"lt; html tags gt;" for "html" and then copy and pasted that code in, should that work?
Better yet, if you have any idea how this could happen, I'd love to fix it the right way biggrin.gif
lbessant
Using Word to edit your code would be a Very Bad Idea, as it has a tendency to mangle code in nasty ways.

Use a plain text editor (notepad will do, but you'd be better with something like Textpad, which has better facilities for working on files....

What you need to replace are all the instances of:

CODE
& lt; and & gt;
(remove the space after the & sign )

With

CODE
<   and >
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.