Time out error when text box has heavy HTML
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Won't Fix
|
Medium
|
Unassigned |
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/
y/MakeWellForme
The view number is
http://
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:/
Changed in mahara: | |
milestone: | none → 1.4alpha1 |
milestone: | 1.4alpha1 → 1.4.0 |
Changed in mahara: | |
milestone: | 1.5.0 → none |
summary: |
- Time out error when opening a view + Time out error when text box has heavy HTML |
Changed in mahara: | |
importance: | Medium → High |
milestone: | none → 1.6.0 |
Changed in mahara: | |
assignee: | nobody → Son Nguyen (ngson2000) |
status: | Confirmed → In Progress |
Changed in mahara: | |
assignee: | Son Nguyen (ngson2000) → nobody |
status: | In Progress → Confirmed |
assignee: | nobody → Son Nguyen (ngson2000) |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | 1.6.0 → 1.7.0 |
Changed in mahara: | |
milestone: | 1.7.0 → 1.8.0 |
Changed in mahara: | |
importance: | High → Medium |
milestone: | 1.8.0rc1 → 1.6.7 |
milestone: | 1.6.7 → none |
assignee: | Son Nguyen (ngson2000) → nobody |
Changed in mahara: | |
status: | In Progress → Triaged |
It's a bug, the site certainly shouldn't crash like that.
The view is quite big, it seems to have 29 blocks in it. One of them is a text box with some 300K of text in it. I'm not that surprised that HTMLPurifier is choking on that, though I'm not sure what we can do about it exactly.
The 'paste from word' button - no idea. It's just some button that wysiwyg editors have. I presume it does _something_, but I couldn't tell you what.
For now, I have deleted the really big block out of that view.