Blank page when viewing a wiki

Blank page when viewing a wiki

by Peter Richardson -
Number of replies: 2
Happy New Year to all.

Suddenly, one of my teachers is saying a wiki he created, and has been working with is showing up blank.

Upon clicking on the link, the url appears in the address bar (http://domainname/moodle/mod/wiki/view.php?id=2602) and then the spinning wheel goes for 30 seconds (always 30 seconds, I timed it) and then stops with a blank page showing. On the bar at the bottom is the word "done".

I can edit the set up of the wiki, I can create a new wiki in this course, and wikis in other courses seem to be working fine. If I understand the log, there is no record of a view of that particular wiki even though I tried numerous times.

Any thoughts would be most welcome.
Average of ratings: -
In reply to Peter Richardson

Re: Blank page when viewing a wiki

by Herbert Keijers -
Most probably the wiki page takes to long to process (more than 30 sec.)
Can you try these suggestions:
  • If you are the maintainer of the machine go to your php.ini file and adapt
    max_execution_time = 30 to a higher value.
  • If you can't control the php settings of your webser you can try to put
    set_time_limit (xx); //Where xx are the seconds you want for execution of php scripts
    in you config.php file
Best is not to make one large wiki page but split them in smaller one's
In reply to Herbert Keijers

Re: Blank page when viewing a wiki

by Peter Richardson -
Herbert,

Thanks for responding. I had suspected a time out issue even before I posted. When I arrived at my office this am, I upped the max_execution_time to 60. Seems to have solved the problem.

I also sent a note to the teacher about large wiki pages.

Thanks again.

Peter