Last week, Thursday to be exact, the autogen php/mysql web form we have has a textarea field where we use tinyMCE to allow client to input and format their text. Suddenly on Thursday the text would not appear in the form, along with the border that surrounds the textarea data in display mode, but when we went to the edit screen where the tinyMCE field is, we could see the text. I came in today and looked at the db and see all this odd code in the db [see below]
I have overwritten the code with straight, clean text, load the page it work, but then it eventually reverts to this odd code– and at some point you refresh your browser and no longer see any text from the php form. When I look in the db again, all this code[see below]is back in the field.
I been surfing/researching and various suggestions include updating tinyMCE, which I did, but same things happens.
Does anyone have any idea what I should do, what part of the code to attack, is it the db or the tinyMCE? All help is much appreciated. [Note: app has been running successfully for about 2 years.]
> <p><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG />
> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml>
> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom>
> <w:TrackMoves /> <w:TrackFormatting /> <w:PunctuationKerning />
> <w:ValidateAgainstSchemas />
> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
> <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
> <w:DoNotPromoteQF />
FINALLY! FINALLY discovered what was wrong – there is a size limitation for the amount of data stored in the session object. And as per RFC 2109 this size limit is 4KB. That was it. I knew I was hitting some limit somewhere, finally figured it out where it was. Had to re-write some code so I could pull only these text section and not rely on the data stored in the session.