[pmwiki-users] Minor bug in mkdirp() when reporting error messages

Christian Ridderström christian.ridderstrom at gmail.com
Wed Aug 27 17:30:51 CDT 2008


Hi,

I believe there's a minor issue with mkdirp(), when it reports the error 
message. Try the following for instance:

 	mkdirp('/home/newdir');

which results in the following message (extract):


 	PmWiki needs to have a writable /home/new_dir/ directory before it can
 	continue. You can create the directory manually by executing the following
 	commands on your server:
 	    mkdir /home//home/new_dir
 	    chmod 777 /home//home/new_dir

Note how the path to the directory to create is written as

 		/home//home/new_dir

the command 'mkdir' probably works just fine with double slashes (//), but 
it looks bad and confuses new administrators.

regards,
Christian

-- 
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list