[pmwiki-users] Recent edits page not loading
sandy at onebit.ca
Tue Oct 7 13:22:13 CDT 2008
Welcome to the group!
Just a heads-up.
Unlike many other programs, PmWiki does not require editing the core
files. All customization is done in config.php and the skin files, or
recipe files. The entire program was built with this goal in mind.
When you upgrade, you overwrite the old core program files with the new
files. You don't have to redo all the custom programming. The most
common comment from someone upgrading for the first time is, "That's all
there is to it?"
Walker Lindley wrote:
> 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.
> Walker Lindley
> Gameplay Engineer, Pipeworks® Software
> wlindley at pipeworks.com
> -----Original Message-----
> 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
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users