[pmwiki-users] Perplexing Page Exist problem...

Ralph Zeller ralph at zellercpa.com
Wed Aug 23 17:17:41 CDT 2006


No, the problem is that the code tries to determine if a file called
"wiki.d/Data-PrgModules.{$Name}" exists, without first determining the
value of $Name.  I don't know the solution, but it has nothing to do
with dwelling underground.

On 08/23/06 02am, J. Meijer wrote:
> You must have been living in a cave. PageExists relies on PHP's file_exists(), which in turn relies on a cache of the state of the underlying file system. 
> 
> jm
> 
...
> 
> On 8/22/06, The Editor <editor at fast.st> wrote:
> 
...
>     Why might the PageExists() function be failing?  Is it an indexing
>     problem or does this function actually go out and check for the
>     existence of a page?  I am using PageIndexUpdate("$datapage"); at the
>     end of both switches, so the page should be reindexed, but perhaps the
>     two switches are happening too fast--and there's not time to get it
>     indexed. Is there some way to work around this?
> 
...




More information about the pmwiki-users mailing list