[pmwiki-users] DataQuery and DataPlates
design5 at softflow.co.uk
Mon Feb 18 19:28:50 CST 2008
Monday, February 18, 2008, 2:17:33 PM, Hans wrote:
>> My guess is that you won't get that far, because I suspect DataQuery is
>> not getting called at all for this write request.
> You are right. There seems to be an issue with Fox:
> If I use an edit form, which uses fox.php to save the page,
> Fox will save the page to the db record, if it exists as a db record,
> but if it is a new page, Fox will save it to wiki.d.
After many tests and attempts to understand the code surrounding page
writes and page stores I wonder if there is an issue with Fox, or with
the WritePage function and how it handles writing new pages to what
page store, or with DataQuery and how it handles new page creations.
If i understand this righty, when saving a new page WritePage will not
find an existing page, and will call to write the page to $WikiDir,
which points chiefly to file location wiki.d/ or some subdirectory, if
So how does DataQuery get new pages written as new records into the db
pagestore? It seems something is fooling WritePage to think that the
page exists in the adodb store, even though it does not, and so
call the DQ write function. Can someone shed some light on this
More information about the pmwiki-users