[pmwiki-users] Folderized wiki.d won't allow new group creation!

Sivakatirswami katir at hindu.org
Sat Feb 3 20:42:55 CST 2007


Patrick R. Michaud wrote:
 > On Sat, Feb 03, 2007 at 12:06:24PM -1000, Sivakatirswami wrote:
 >> Ouch...
 >>
 >> 1)  I group-folderized wiki.d
 >> 2) set permissions for all folders to 777 (same as wiki.d)
 >> 3) added: $WikiDir = new PageStore('wiki.d/$Group/$FullName');
 >> to farmconfig.php
 >
 > Although what you have should work, you might try...
 >
 >    $WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');

That did not help...


 >> PmWiki needs to have a writable wiki.d/Blooper/ directory before it can
 >> continue. You can create the directory manually etc....
 >> ---------
 >>
 >> Does the folder style of organization really require us to manually
 >> create a folder for each new group we might add?

Good

 > No, normally it doesn't. However, if you're running with safe_mode 
enabled, then PmWiki can't automatically create the folders, and
 > permissions become *very* important.

How can I check? I put {$safe_mode} on a page but it  returns
nothing...

I went to php.com and  studied out safe_mode... i guess I will need to
find the config file to set this to 0...

how "unsafe" is this? We are the *only* client on this box.




 > Presumably, if you already moved all of the page files into 
appropriate subdirectories, then the wiki.d/Blooper/ folder should 
already exist, and PmWiki is complaining that it
 > cannot write into wiki.d/Blooper/ .  So the problem would seem to be 
strictly a permissions issue on wiki.d/ or
 > wiki.d/Blooper/ .

Actually no, I first hit the bug with ZAP forms which attemps to
create a new page like "TODO-ZenCart.1000" and failed
I then just entered [[Blooper/Test]] on to an existing page
and tried to create the new group-page.

 > Also, do you get any PHP error messages in the resulting output?

nothing special, just the regular msg that it needs a writable directory
in this case it does not exist yet...

I could be in safe_mode...

I studied out that bit on PMWIKI docs... I also have the option to CHOWN
anything to anything to make it work, if that is an easier route to take.

But it looks to me like PMWIKI, is already owned by the same owner as wiki.d

which in this case it the virtual domain user: "wikihinduorg"

the only files owned by "apache" are the invisible files in wiki.d 
(.flock .pageindex  etc)

 > Pm
 >

Thanks!



More information about the pmwiki-users mailing list