can't post from microsoft word

Started by Golden Boy, June 23, 2009, 01:39:40 PM

Previous topic - Next topic

Golden Boy

when i copy the words from microsoft office document that contain format (like bold, italic etc) and paste it, i can't post it.

it just hang and give this message :
Fatal error: Maximum execution time of 30 seconds exceeded in /home/xxxcom/public_html/forum/Sources/Subs-Editor.php on line 560

what's wrong with it?

sorry for my poor english by the way


This is a bug that has been fixed in our 2.0 svn, and should be fixed in 2.0 rc2 (when it is released).
It should be a bit more efficient (although the editor still can't handle infinite/uber amounts of data)

In the meantime you can do this manually

'~<br\s*/*>~i' => "\n",
'~(.+?)(<hr[^<>]*>)~si' => "$1\n\$2",
'~<hr[^<>]*>~i' => "[hr]\n",

'~<br(?:\s[^<>]*?)?>~i' => "\n",
'~<hr[^<>]*>(\n)?~i' => "[hr]\n$1",
'~(\n)?\\[hr\\]~i' => "\n[hr]",
'~^\n\\[hr\\]~i' => "[hr]",

Golden Boy

Aleksi "Lex" Kilpinen

Did the solution do the trick? :) Can we mark this solved, or is there something else you would like to have assistance on? :)

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF