<div dir="ltr">Hi Petko,<div><br></div><div>> If I understand correctly, the error appeared with PmWiki version 2.2.52?<br></div><div><div><br></div><div>That's the version my wiki was left in over the last couple years. The problem of my sites not loading emerged at some point in the last year. To try and fix the problem, in the last 2 weeks I've tried updating the installation to the latest 2.2.75, but the same error msg appears.</div><div><br></div><div>> Do you have some custom settings for $MakePageNamePatterns or other $*Patterns? Or a recipe which could use or modify those? If yes, they may need to be updated.<br></div><div><br></div><div>Yes, but these settings have always been fine in the past. Here's what I have for one of the sites. Does any of this seem off? Or should I be looking elsewhere?</div><div><br></div><div><div># PAGE URLS - ALLOW LOWERCASE</div><div># permits lowercase first letters - default version of MakePageNamePatterns capitalizes all first letters</div><div># also fills spaces with dashes</div><div># to return to default, just comment this and $GroupPattern & $NamePattern & AsSpacedFunction out</div><div>$MakePageNamePatterns = array(</div><div><span class="" style="white-space:pre">      </span> "/'/" => ''<span class="" style="white-space:pre">                                             </span># strip single-quotes (same)</div><div><span class="" style="white-space:pre">       </span>,"/[^[:alnum:]_-\\s]+/" => ''<span class="" style="white-space:pre">                                </span># remove non-alnums</div><div><span class="" style="white-space:pre">        </span>,"/\\s+/" => '-'<span class="" style="white-space:pre">                                             </span># replace spaces with dashes<br></div><div>);</div><div>$GroupPattern = '[\\w]*(?:-\\w+)*';</div><div>$NamePattern = '[\\w]*(?:-\\w+)*';</div></div><div><br></div><div>Thanks,</div><div>adam</div><div><br></div><div>Message: 5<br>Date: Mon, 25 May 2015 12:44:42 +0200<br>From: Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>><br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Subject: Re: [pmwiki-users] Websites not working - something to do<br>        with ResolvePageName()?<br>Message-ID: <<a href="mailto:c47713dc6c180e43f17ff920d9921e92@5ko.fr">c47713dc6c180e43f17ff920d9921e92@5ko.fr</a>><br>Content-Type: text/plain; charset=US-ASCII; format=flowed<br><br>If I understand correctly, the error appeared with PmWiki version<br>2.2.52?<br><br>Do you have some custom settings for $MakePageNamePatterns or other<br>$*Patterns? Or a recipe which could use or modify those? If yes, they<br>may need to be updated.<br><br>Petko<br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>. . .</div><div><br></div><div><a href="mailto:a@plus1plus1plus.org" target="_blank">a@plus1plus1plus.org</a></div><div>661-373-8679</div></div></div></div>
<br><div class="gmail_quote">On Mon, May 25, 2015 at 1:11 AM, Adam Overton <span dir="ltr"><<a href="mailto:a@plus1plus1plus.org" target="_blank">a@plus1plus1plus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><p dir="ltr">> Hi again,<br>
> Just to add to the trail of evidence, my host reports the following errors littered throughout my error log:<br>
><br>
> [24-May-2015 16:13:40 America/Los_Angeles] PHP Warning:  preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: invalid range in character class at offset 14 in /home/aoverton/public_html/wiki/pmwiki.php on line 470<br>
><br>
> The host says they've changed nothing PHP-wise, tho they've done so before, upgrading without notifying me, so I wonder what they might have done to my account that could have caused all 3 sites to come down.<br>
><br>
> Thx again for the help,<br>
> adam<br>
><br>
> On Sun, May 24, 2015 at 9:30 PM, Adam Overton <<a href="mailto:plusnoneplus@gmail.com" target="_blank">plusnoneplus@gmail.com</a>> wrote:<br>
>><br>
>> Hi there,<br>
>> I've been away from PmWiki for some time, and so my chops are a bit rusty.<br>
>> I just came back to 3 websites, all of which aren't currently functioning - they all display the same error msg:<br>
>><br>
>> PmWiki can't process your request<br>
>> ?invalid page name<br>
>> We are sorry for any inconvenience.<br>
>><br>
>> I've gone line by line thru my config.php to see where the error begins, and it seems to throw the error when it gets to the Fox recipe, but only b/c of it's call to:<br>
>><br>
>> $pagename = ResolvePageName($pagename);<br>
>><br>
>> In fact, if I call the same function outside of the Fox recipe, it returns the same PmWiki error, so it doesn't seem Fox-related.<br>
>><br>
>> I'm not sure what's wrong. Here's what I've done so far to try and fix things, but to no avail:<br>
>> - I updated PmWiki from v. 2.2.52 to the most recent 2.2.75.<br>
>> - I've updated fox.php to the most recent version<br>
>> - I've double-checked my .htaccess - everything seems alright.<br>
>> - I've checked on my file permissions - 'wiki.d' & 'uploads' were set to 755, and so I changed them to 777 to see if that might help, but no change.<br>
>> - I haven't changed any code on the 3 sites in years<br>
>> - It appears that my host is running PHP Version 5.3.29, which they may have changed/upgraded recently.<br>
>><br>
>> Any thoughts or suggestions?<br>
>> Thanks,<br>
>> Adam<br>
><br>
><br>
</p>
</div></div></blockquote></div><br></div>