content showing as html

Permalink
Hi,

I have a strange problem, my site has suddenly started showing new edits as raw html. I can restore an older version and its fine but any new edits show html only

I am on the latest version and have no addons at all, i use the default template.

the site is edited by a couple of people who dont seem to have done anything strange, i have added a new page and it adds with raw html whether i add content or html.

has anyone else had such a problem or does anyone know where to point me to fix this

thanks
Simon

 
adajad replied on at Permalink Reply
adajad
Can you supply a link to the page?

What block are you using that outputs the html?

Has your hosting service made some updates in their system?
rasher replied on at Permalink Reply
you can see pages athttp://www.deepdalewoods.co.uk/index.php?cID=387... on that site you can see other pages that are ok.

it is in the main block and i have tried types of content and html

its my brothers site, i host it and nothing has changed on the server in over a week, they have been editing this daily as its new and it only started yesterday.

there are no errors in the php error log, i cant see what it is as when i revert to a previous version it is ok so if it was caused by server or concrete itself i would expect it to be still broken.

cheers
Simon
adajad replied on at Permalink Reply
adajad
What character set do use use in both db and site?

In your db pay special attention to the btcontentlocal table and the content column. For your site you can check if you have defined a charset in 'config/site.php'. If you haven't defined anything c5 assumes utf8 for both db and site.

I don't know how this could have changed over night, but still worth checking.

Do you override any core files (like controllers, helpers...)?
rasher replied on at Permalink Reply
Found it, i looked in the btContentLocal table and saw that all of the < chars were being encoded, checked through and for some reason someone thought it a good idea to set filter.default = "special_chars" in htaccess

thanks a lot for your help and pointing me in the right direction, it would have taken an age to find that otherwise.

cheers
Simon
adajad replied on at Permalink Reply
adajad
I'm glad it worked out for you!