[Pmwiki-users] fopen(wiki.d/.flock): failed
Pham Cong Dinh
pcdinh2004
Sat Sep 18 22:33:27 CDT 2004
Hi,
Sorry if my explaination made you confused. Here is my instalation
procedures:
1. I downloaded pmwiki 2.0del5, unzip it into a folder.
2. I uploaded that folder into my Linux host, excecuting chmod 2777 (not
valid, my FileZilla Client said), excecuting chmod 777 (it works ) and
run pmwiki.php. PMwiki said:
*Warning*: fopen(): SAFE MODE Restriction in effect. The script whose
uid is 32047 is not allowed to access
/home/pcdinh/public_html/php/pmwiki2/wiki.d owned by uid 99 in
*/home/pcdinh/public_html/php/pmwiki2/pmwiki.php* on line *244*
*Warning*: fopen(wiki.d/.flock): failed to open stream: No such file or
directory in */home/pcdinh/public_html/php/pmwiki2/pmwiki.php* on line
*244*
PmWiki can't process your request
Cannot acquire lockfile
We are sorry for any inconvenience.
3. I tried to install pmwiki 2.0del5 in my Windows XP box. I found that
it has created a foldr named wiki.d with a file .flock in it.
4. I tried to upload this newly created folder to my Linux host,
excecuting chmod 777 and refresh pmwiki.php page. I have got the same
error message.
5. I decided to delete the wiki.d which I just uploaded. I created a new
folder named wiki.d manually on the server through a FTP client,
excecuting chmod 777.
6. I tried to refresh the pmwiki.php once more and it works.
7. I used FTP client to move into *wiki.d* folder and found a .flock
file in it. After that, I created a .htaccess in my Windows box and
uploaded it to that folder.
8. I tried to edit some pages on my wiki. It would be okay now.
Best regards,
Dinh
Patrick R. Michaud wrote:
>On Sun, Sep 19, 2004 at 01:42:49AM +0700, Pham Cong Dinh wrote:
>
>
>>... I also
>>just found the way to install it on my Linux host. I deleted wiki.d
>>folder on the server which pmwiki created. Instead, I created a new
>>wiki.d folder manually (not uploaded), executing chmod 777 and retried.
>>So, It works.
>>
>>
>
>I'm a little confused by the above, so I'd like some clarification
>so I can fix the install procedure in later versions. Normally
>the wiki.d file isn't uploaded, but is created the first time that
>PmWiki is run (after the permissions on the directory containing
>pmwiki.php are set to 777). Are you saying that PHP safe mode was
>complaining about the wiki.d directory that PmWiki created, or did
>you somehow "upload" a wiki.d directory from somewhere else when
>you first ran PmWiki on this host?
>
>Pm
>
>
>
>
More information about the pmwiki-users
mailing list