<div dir="ltr">On Sat, Feb 16, 2013 at 6:40 AM, Peter Bowers <span dir="ltr"><<a href="mailto:pbowers@pobox.com" target="_blank">pbowers@pobox.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">
<div class="im">On Fri, Feb 15, 2013 at 7:57 AM, Kyle Newton <span dir="ltr"><<a href="mailto:kdnewton@gmail.com" target="_blank">kdnewton@gmail.com</a>></span> wrote:<br>

</div><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>Something as simple as:</div>
<div>---</div><div>[[<a href="http://one.com" target="_blank">http://one.com</a>]] [[<a href="http://two.com" target="_blank">http://two.com</a>]] [[<a href="http://three.com" target="_blank">http://three.com</a>]] [[<a href="http://four.com" target="_blank">http://four.com</a>]]</div>



<div>---</div><div><br></div><div>Results in:</div><div>---</div><div><div>PmWiki can't process your request</div><div><br></div><div>?invalid page name</div><div><br></div><div>We are sorry for any inconvenience.</div>



<div>---</div></div></blockquote></div></div><br><br></div><div class="gmail_extra">Based on Petko's recent response, I think the next step in debugging is to find out what page you are being sent to.  In order to do this you will need to make a copy of pmwiki.php (I would copy it to pmwiki.php.orig) and then edit pmwiki.php.<br>


<br>***<br></div><div class="gmail_extra">Editing pmwiki.php is STRONGLY discouraged.  For good reason.  Doing so will cause all your CDs and DVDs to get scratched, all your socks to come back from the laundry without their mates, and undoubtedly cause you to forget where you parked your car the next time you go to the airport as well.  Carry on at your own risk.  (And make sure you have made the backup and that you restore the backup as soon as you get the requested information.)<br>


***<br><br></div><div class="gmail_extra">On line 653 (or slightly before or slightly after - my copy is slightly out of date) you will see a line that looks like this:<br><br></div><div class="gmail_extra">===(snip)===<br>


    Abort('$[?invalid page name]');<br>===(snip)===<br><br></div><div class="gmail_extra">Change that to look like this:<br><br></div><div class="gmail_extra">===(snip)===<br>    Abort('$[?invalid page name]'."p=$p, pagename=$pagename");<br>


===(snip)===<br><br></div><div class="gmail_extra">Then try to save a page with 4 links and let us know the value of $p and $pagename...<br><br></div><div class="gmail_extra">Then, if you value your socks, DVDs, and keys, restore your copy of pmwiki.php!<span class=""><font color="#888888"><br>


</font></span></div><span class=""><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">-Peter<br></div></font></span></div>
</blockquote></div><br></div><div class="gmail_extra" style>Hmm... the response seems to suggest "forbidden access" which is strange because editing and saving the page with 3 or fewer links (or none) works.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>?invalid page namep=403.Shtml, pagename=403.shtml<br></div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>I also just tried linking to many internal (non-existent) page [[test.test1]] [[test.test2]] etc and the page saved fine. Haven't tried linking to existing internal pages, but seems it wouldn't matter.</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>-Kyle</div></div>