Error and Warning Messages
help got this message while I was trying to protect a page by ?action=attr
Warning: Unknown: open(/var/www/free.fr/c/0/pm/sessions/sess_b159e8887ac5d688396e9b66dd96a912, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/free.fr/c/0/pm/sessions) in Unknown on line 0
Create a session directory at the root of the website (used by php engine to create and maintain sessions)
I get this error also. I'm running it on a windows 2000 box. It happens every once and a while.
It works fine and then this error shows up. I have to apply folder permissions down through the
files and subfolders and it works again.
Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in D:\Inetpub\WikiRoot2\pmwiki.php on line 355@@\\ PmWiki can't process your request\\ Cannot acquire lockfile\\ We are sorry for any inconvenience.
Any ideas? Besides that it is running on windows. FYI: this is the 2.0.beta37 version. I didn't have this problem with version 1.
I get an warning message (2.0 Beta36) when i use the pagelist-markup. No matter on which page or what parameters i get this:
Warning: Wrong parameter count for array_merge() in /home/g/xxx.de/public_html/wiki/scripts/pagelist.php on line 87
Warning: Cannot add header information - headers already sent by (output started at /home/g/xxx.de/public_html/wiki/scripts/pagelist.php:87) in /home/g/xxx.de/public_html/wiki/pmwiki.php on line 700
The result is ok, but how can i get rid of that warning ?
I'm getting the following warnings:
Warning: Invalid argument supplied for foreach() in /home/www/dept-of-films/pmwiki/pmwiki.php on line 31
Warning: Cannot add header information - headers already sent by (output started at /home/www/dept-of-films/pmwiki/pmwiki.php:31) in /home/www/dept-of-films/pmwiki/pmwiki.php on line 704
Any ideas on what this means or how to fix?
First warning-- something went wrong in pmwiki.php. If you can tell us which version, we can trace the line number to the code. Alternatively, you can try upgrading to the latest version. see Installation for the current files & upgrade links. It's possible the bug was already fixed.
Also, double check your config.php file -- maybe something is wrong there which is being processed by pmwiki.php.
Second warning -- this can be ignored in this case -- the 2nd warning was created because the first warning sent output to the browser before pmwiki sent all it's header information to the browser. Had the first error not happened, the second error wouldn't have.
still have this pb after ?action=attr
also I move pmwiki at root ?
Warning: Unknown: open
0bff8e, O_RDWR) failed: No such file or directory (2) in Unknown
on line 0
Warning: Unknown: Failed to write session data (files). Please
verify that the current setting of session.save_path is correct
(/var/www/free.fr/c/0/pm/sessions) in Unknown on line 0
any idea ?
may i know what is wrong
Warning: fopen("wiki.d/.flock", "w") - Permission denied in /home/bird/wyx/wiki/index.php on line 545
Warning: Cannot add header information - headers already sent by (output started at /home/bird/wyx/wiki/index.php:545) in /home/bird/wyx/wiki/index.php on line 348 PmWiki can't process your request Cannot acquire lockfile We are sorry for any inconvenience.
This is probably a webserver permission problem. Try entering the following command from inside your pmwiki folder.
chmod -R 777 wiki.d
See also FilePermissions
Everytime I save my wiki (http://www.wanderingabout.com/randomthoughts/pmwiki.php(approve sites)) it says this:
/home/sz000093/public_html/randomthoughts/pmwiki.php on line 678
...for 3 seconds or so. Then it just saves normally. I can use the wiki but it gives me the sensation that something is going go ba some day or the other...
What the heck does this mean, and why can't I enter my wiki page? please help!!!
Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /home/***/public_html/pmwiki/pmwiki.php on line 582
Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/pmwiki/pmwiki.php:582) in /home/***/public_html/pmwiki/pmwiki.php on line 382
PmWiki can't process your request Cannot acquire lockfile
We are sorry for any inconvenience.
The wiki.d directory is not writable by the Web server. In some hosting environments, you may have no other choice but to chmod 777 (or rwx all if you're using an FTP client) that directory.
An alternative is to make the Web server the owner of the wiki.d directory, leaving the permissions 'writable by owner only' (e.g. 755 is typically the default).
Hi, I seem to be having the same problem:
Cannot acquire lockfile
I downloaded and unzipped the Wiki on my server. I set the permissions of the wiki dir to 777 and then I try to run. I see that the script creates a wiki.d directory:
drwxrwxrwx 2 httpd httpd 4096 Dec 14 02:26 wiki.d
But it seems not to be able to write to it... What could the problem be here?
(I'm using PHP Version 4.3.4 and I did get PmWiki 1.0 to run here once before.)
Okay, I fugured it out.
This problem may happen if SAFE MODE has been turned on in your PHP configuration. In such a case you might find the following message in your error log:
PHP Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is XXX is not allowed to access /home/***/public_html/wiki/wiki.d owned by uid YYY
A workaround for that problem is to create all the wiki data directories (wiki.d and uploads) by hand and chmod them to 666.
chmod 666 wiki.d
chmod 666 uploads
P.S. Keep up the good work Pm!
I just got an error like this when I ran out of space on my web host. Check the obvious first! :)te
PmWiki can't process your request
Cannot acquire lockfile
We are sorry for any inconvenience.
Return to this site's home page
I don't know. Here
Try this :
chmod 777 wiki.d -R