[pmwiki-users] Recent edits page not loading

Walker Lindley wlindley at PipeWorks.Com
Thu Oct 2 16:27:13 CDT 2008


Oh and also thanks, setting $RCLinesMax did work after editing another page. So thank you very much to everyone for their help!


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 1:33 PM
To: Walker Lindley
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] Recent edits page not loading

If you're referring to PmWiki's admin password, then you can change
the admin password that is in config.php, and then you'll have
permission to edit the page.

Most PHP installations have a default timeout set to 30 seconds,
so it may not be entirely the last guy's fault.

Setting $RCLinesMax only has an effect after editing a page
(any page) -- it doesn't instantly cut down the existing page 
as soon as it's set in config.php, but says "next time a page
is edited, don't let RecentChanges get larger than this
number of lines."

Pm

On Thu, Oct 02, 2008 at 12:16:28PM -0700, 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 
> http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#RCLinesMax
> 
> Pm


More information about the pmwiki-users mailing list