[pmwiki-users] My wiki, she is kaput

David Spitzley dspitzle at wash.k12.mi.us
Tue Jan 15 13:16:12 CST 2008

>>> "David Spitzley" <dspitzle at wash.k12.mi.us> 1/15/2008 1:42 PM >>>
If I insert the print statement anywhere within that loop (aside from within if statements that evaluate as false), it prints the alert and halts as expected.  If I insert the print statement after the loop, the page hangs.  My first thought was that the hang might be a failure to terminate the foreach loop, so here's the print_r() dump of $InterMapFiles:

Array ( [0] => D:\wwwsites\davidaspitzleyorg\www\Test/scripts/intermap.txt [1] => D:\wwwsites\davidaspitzleyorg\www\Test/local/farmmap.txt [2] => $SiteGroup.InterMap [3] => local/localmap.txt )

Here's some further information:  by making the print statement conditional, I have determined that the loop is able to iterate through [0] and [1], but never makes it to [2], so the non-existence of farmmap.txt may be at fault.


More information about the pmwiki-users mailing list