cpx3 Posted May 10 Share Posted May 10 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 More sharing options...
wbmnfktr Posted May 11 Share Posted May 11 Are those textarea fields direct children of templates or are they nested in repeaters or RepeaterMatrix types? 1 Link to comment Share on other sites More sharing options...
cpx3 Posted May 12 Author Share Posted May 12 They are normal textareas, put directly on the template. Link to comment Share on other sites More sharing options...
ngrmm Posted May 13 Share Posted May 13 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 More sharing options...
bernhard Posted May 13 Share Posted May 13 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. 2 Link to comment Share on other sites More sharing options...
cpx3 Posted May 14 Author Share Posted May 14 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... 1 Link to comment Share on other sites More sharing options...
wbmnfktr Posted May 17 Share Posted May 17 @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 More sharing options...
cpx3 Posted May 18 Author Share Posted May 18 Thanks for that! I will love to do that but only next week 🙂 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now