[Pmwiki-users] help! saving page = *poof* page gone

Patrick R. Michaud pmichaud
Thu Aug 5 08:40:43 CDT 2004


On Tue, Aug 03, 2004 at 11:55:29PM -0400, Kass Lloyd wrote:
> 
> What should probably be done is to rename the old data file then try
> to write the new one, then do a sanity check to see if the new file is
> ok. If it is then the renamed old file could be deleted. This is a
> very logical and simple solution to a hard disk getting full.

PmWiki already does a version of this--rather than rename the old
data file, PmWiki first attempts to create the new file under a different
name.  If PmWiki is able to correctly create the new file, *then*
it removes the old file and renames the new one into the correct name.

Pm



More information about the pmwiki-users mailing list