wiki damaged

wiki damaged

by Raymond Norton -
Number of replies: 1
I have a wiki on our server that might be damaged. We are getting the following error. All other wikis on our server are working fine.

atal error: Maximum execution time of 30 seconds exceeded in /data/moodle/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php on line 78

This is what the user said she was doing when the error occurred.
<quote>
She thinks this is what happened: Last night while working she selected the Save button and then rather than closing out of the screen completely, sequentially went back into the edit screen to continue typing changes. (As we frequently do with our Word documents--save frequently.) It seems that Moodle software does not prefer the Save button until it receives all the changes for the session.
</quote>
Average of ratings: -
In reply to Raymond Norton

Re: wiki damaged

by Mauno Korpelainen -

As the error tells you could set for example

max_execution_time = 300     ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data

in php.ini to give scripts more time to run.

The text she was trying to insert was too long and you may delete that entry from database (with phpmyadmin) to get wiki working again. Tell users that it is better to use links and attachments than copy long texts from Word to Wiki - it really may crash!