[Mahara-contributors] [Bug 547773] Re: Time out error when opening a view
I've had another look at this, but haven't found a good solution yet, so I'm going to remove it from the 1.4 milestone for now. It's pretty easy to reproduce by putting 300k or so of relatively heavy html (I used a bunch of big tables) into a textbox. It's possible to fix it in a dirty way (tried hacking some code to add a timer throw exceptions into HTMLPurifier/Strategy/MakeWellFormed.php and it works fine), but we need a clean way to fix the bug. It'd be nice if there was a way to set a timeout on an individual function call rather than just on the entire script. ** Changed in: mahara Milestone: 1.4.0 = 1.5.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/547773 Title: Time out error when opening a view Status in Mahara ePortfolio: Confirmed Bug description: The following error comes up when trying to access a users view Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mahara-site-myportfolio-ac-nz/lib/htmlpurifier/HTMLPurifier/Strateg y/MakeWellFormed.php on line 395 The view number is http://myportfolio.ac.nz/view/view.php?id=13222 This view includes text blocks that have been copied and pasted from Word without using the Paste from Word button (this is hidden unless you go to full screen mode). Unfortunately once this happens the content in the view is not able to be edited. By the way I experimented with the clean messy code button and this doesn't seem to have any effect on content pasted from Word - is this right? Not sure if this is strictly a bug but more using of Word to paste content and the htmlpurifier having difficulty purifying the Word html. This bug was imported from eduforge.org, see: https://eduforge.org/tracker/index.php?func=detailaid=3430group_id=176atid=739 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 547773] Re: Time out error when opening a view
If it turns out that this is still a problem, we may be able to run a filter over Word's HTML before handing it over to HTML Purifier: http://www.codinghorror.com/blog/2006/01/cleaning-words-nasty- html.html -- Time out error when opening a view https://bugs.launchpad.net/bugs/547773 You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Status in Mahara ePortfolio: Incomplete Bug description: The following error comes up when trying to access a users view Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mahara-site-myportfolio-ac-nz/lib/htmlpurifier/HTMLPurifier/Strateg y/MakeWellFormed.php on line 395 The view number is http://myportfolio.ac.nz/view/view.php?id=13222 This view includes text blocks that have been copied and pasted from Word without using the Paste from Word button (this is hidden unless you go to full screen mode). Unfortunately once this happens the content in the view is not able to be edited. By the way I experimented with the clean messy code button and this doesn't seem to have any effect on content pasted from Word - is this right? Not sure if this is strictly a bug but more using of Word to paste content and the htmlpurifier having difficulty purifying the Word html. This bug was imported from eduforge.org, see: https://eduforge.org/tracker/index.php?func=detailaid=3430group_id=176atid=739 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 547773] Re: Time out error when opening a view
Hi Francois Unfortunately I can't test with this view - this was someone else's view. I think the paste from Word button works better now. What happened to the full screen editor in V 1.3 - this is required for editing long text. regards Craig On Tue, Jul 13, 2010 at 4:00 PM, François Marier franc...@debian.orgwrote: This might have been fixed in HTML Purifier 4.1.0 (Mahara.org and MyPortfolio.ac.nz are now running that code). Craig, could you test that again to see if it's still a problem? ** Changed in: mahara Status: Confirmed = Incomplete -- Time out error when opening a view https://bugs.launchpad.net/bugs/547773 You received this bug notification because you are a direct subscriber of the bug. Status in Mahara ePortfolio: Incomplete Bug description: The following error comes up when trying to access a users view Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mahara-site-myportfolio-ac-nz/lib/htmlpurifier/HTMLPurifier/Strateg y/MakeWellFormed.php on line 395 The view number is http://myportfolio.ac.nz/view/view.php?id=13222 This view includes text blocks that have been copied and pasted from Word without using the Paste from Word button (this is hidden unless you go to full screen mode). Unfortunately once this happens the content in the view is not able to be edited. By the way I experimented with the clean messy code button and this doesn't seem to have any effect on content pasted from Word - is this right? Not sure if this is strictly a bug but more using of Word to paste content and the htmlpurifier having difficulty purifying the Word html. This bug was imported from eduforge.org, see: https://eduforge.org/tracker/index.php?func=detailaid=3430group_id=176atid=739 To unsubscribe from this bug, go to: https://bugs.launchpad.net/mahara/+bug/547773/+subscribe ** Bug watch added: myportfolio.ac.nz/view/ #13222 http://myportfolio.ac.nz/view/view.php?id=13222 ** Bug watch added: eduforge.org/ #3430 https://eduforge.org/support/tracker.php?aid=3430 -- Time out error when opening a view https://bugs.launchpad.net/bugs/547773 You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Status in Mahara ePortfolio: Incomplete Bug description: The following error comes up when trying to access a users view Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mahara-site-myportfolio-ac-nz/lib/htmlpurifier/HTMLPurifier/Strateg y/MakeWellFormed.php on line 395 The view number is http://myportfolio.ac.nz/view/view.php?id=13222 This view includes text blocks that have been copied and pasted from Word without using the Paste from Word button (this is hidden unless you go to full screen mode). Unfortunately once this happens the content in the view is not able to be edited. By the way I experimented with the clean messy code button and this doesn't seem to have any effect on content pasted from Word - is this right? Not sure if this is strictly a bug but more using of Word to paste content and the htmlpurifier having difficulty purifying the Word html. This bug was imported from eduforge.org, see: https://eduforge.org/tracker/index.php?func=detailaid=3430group_id=176atid=739 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp
[Mahara-contributors] [Bug 547773] Re: Time out error when opening a view
This might have been fixed in HTML Purifier 4.1.0 (Mahara.org and MyPortfolio.ac.nz are now running that code). Craig, could you test that again to see if it's still a problem? ** Changed in: mahara Status: Confirmed = Incomplete -- Time out error when opening a view https://bugs.launchpad.net/bugs/547773 You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Status in Mahara ePortfolio: Incomplete Bug description: The following error comes up when trying to access a users view Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mahara-site-myportfolio-ac-nz/lib/htmlpurifier/HTMLPurifier/Strateg y/MakeWellFormed.php on line 395 The view number is http://myportfolio.ac.nz/view/view.php?id=13222 This view includes text blocks that have been copied and pasted from Word without using the Paste from Word button (this is hidden unless you go to full screen mode). Unfortunately once this happens the content in the view is not able to be edited. By the way I experimented with the clean messy code button and this doesn't seem to have any effect on content pasted from Word - is this right? Not sure if this is strictly a bug but more using of Word to paste content and the htmlpurifier having difficulty purifying the Word html. This bug was imported from eduforge.org, see: https://eduforge.org/tracker/index.php?func=detailaid=3430group_id=176atid=739 ___ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp