[pmwiki-users] Recent edits page not loading
wlindley at PipeWorks.Com
Thu Oct 2 14:16:28 CDT 2008
We're running pmwiki-2.2.0-beta67. Looking through the documentation, I'm not entirely sure where to set this. I've tried setting it in local/config.php and even inside the PostRecentChanges function in pmwiki.php, but it doesn't alleviate the problem, so I assume I'm just not doing it right. I tried editing it, but that requires the admin password which, of course, no one has given me yet. Talking with some other people, I realize that the last guy apparently got frustrated with the recent edits page and set a maximum execution time on it of 30 seconds. Obviously you'd hope that the execution time is always way less than 30 seconds, but I imagine that's not helping the situation.
Gameplay Engineer, Pipeworks® Software
wlindley at pipeworks.com
From: Patrick R. Michaud [mailto:pmichaud at pobox.com]
Sent: Thursday, October 02, 2008 11:53 AM
To: Walker Lindley
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Recent edits page not loading
On Thu, Oct 02, 2008 at 11:14:14AM -0700, Walker Lindley wrote:
> I just took over managing my company’s wiki and noticed that recent edits page
> is no longer loading. Specifically the error is:
> Fatal error: Maximum execution time of 30 seconds exceeded in I:\Wiki\
> pmwiki.php on line 863
> Although the line number it errors on varies (sometimes 870, 1467, and many
> other lines).
What version of PmWiki?
The most likely problem is that the page has grown too big to be processed.
The best thing to do is to cut down some of the older entries in the
page (just edit it like a normal page), or rename/remove it entirely
to start anew.
In newer versions of PmWiki (>=2.0.0) you can set the $RCLinesMax
variable to a number like 2000 or so to limit the number of recent edits
that are held in the page. See also
More information about the pmwiki-users