Jump to content

Textareas delete content after saving


cpx3
 Share

Recommended Posts

I have an incredible annoying problem. Textareas (seemingly those with TinyMCE) seem to delete the content randomly after saving. That means that I see on the page that a text I wrote two weeks ago is suddenly blank after having saved the page and that the respective textarea is empty, too. My client is pretty angry but I have no idea what is going wrong. Any ideas?

Link to comment
Share on other sites

make sure, that the client or someone else does not overwrite the page with an empty one. You never know what clients do! Maybe he has a browser tab open (page with empty fields) from long time ago before you wrote the text and just clicked save.

If this happens regularly, you could try to use version control for debug

Link to comment
Share on other sites

A quick backup strategy could be to setup https://processwire.com/modules/cronjob-database-backup/ to backup the database every hour (if it's not a huge site). Then at least the maximum risk should go down to the work of 1 hour. There have been several similar reports these days, but as @wbmnfktr mentioned I think they have been related to RepeaterMatrix only?! Not sure what the status of that is @adrian ? Luckily I have not encountered anything like that so far.

It does not sound like that would be the case, but just to be sure... Do you have very, very much fields on that page? Then you might be hitting your server's max_input_vars limit.

  • Like 2
Link to comment
Share on other sites

First, thanks to everybody for the support! 

We are talking about normal pages, maximum ten fields on them, no repeaters, just texteareas with TinyMCE. As I am one of the clients I know what I am doing: Just saving the page to realise that all the content, I wrote a month ago, is suddenly gone. So it is not directly after saving but appears suddenly... 

  • Like 1
Link to comment
Share on other sites

@cpx3can you provide me a list of all modules you use and and outline of the template in which that occures, maybe even an export of the template and fields, with the exact versions of ProcessWire and the modules you use. So I can create a similar environment and play around with it?

Would reduce the guessing here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...