PDA

View Full Version : Quite an awkward problem with editing pasted content.


deltahawk5
04-08-2013, 08:06 AM
We've recently moved to a dedicated box and are having a very...interesting issue.

The forums work fine, just about everything, except for one thing.

We someone creates a new post, copies content from another site, pastes said content into the post and hit submits, it all works great. BUT, when someone goes to edit that post in which they pasted the content, the edit box returns nothing...it's just blank.

https://vborg.vbsupport.ru/external/2013/04/49.png

https://vborg.vbsupport.ru/external/2013/04/50.png

I've troubleshot the issue with the standard process...check files, disable hooks, etc. None of it worked, we thought it was horribly awkward.

So, we decided to test it on our internal clean install and well...the same exact issue occurred.

Following some Googling, it led me to a few thread in this forum regarding PCRE and issues that were encountered when it was update from v 8.19 to v8.20. Funny thing however, our server is on v8.30

So...does anyone have any suggestions how to fix this issue? Maybe one can point me in the right direction as to how to downgrade PCRE in an Ubuntu 12.10 environment? Possibly downgrade PHP itself? I've only found info regarding doing so in cPanel. Maybe I ought to report the issue to the PCRE development team?

Lynne
04-08-2013, 03:17 PM
What version of PHP? vB4.x is not compatible with PHP5.4 or greater.

deltahawk5
04-08-2013, 04:48 PM
5.4

Lynne
04-08-2013, 05:09 PM
You will need to talk to your host about the issue.

deltahawk5
04-09-2013, 06:20 AM
Copying this from the thread over at vB.com, maybe someone has an idea:

Ok...I ran through a test...creating a large amount of new threads, eliminating sentence by sentence from the example articles trying to figure out if there was a or a set of characters causing the issue.

So far, I've narrowed it down to the following two:

-

'

However, this issue only occurs when they're pasted, NOT when they're manually typed in.

I'm starting to wish I knew my way around PHP and vB's backend more, this sounds like an issue that should be fun to fix. Probably an issue with a regular expression or UTF-8 character set.