I realised that all text will be purified when rendering blocks in a view(page). This will cause this problem if a page contains lots of artefacts. My solution is a text will be cleaned right after adding into a artefact. - Many text fields in artefacts have limitation of 64k characters. This should not cause max execution time exceeding. - There is only HTML file block may cause the problem as HTML file can be big (>300k). In this case the system should raises an error message to ask the user simplify the HTML file before add it into the page.
Any discussion? -- 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 text box has heavy HTML 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=detail&aid=3430&group_id=176&atid=739 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/547773/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

