version=pmwiki-2.0.beta55 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 author=Pm host=24.1.26.255 name=PmWiki.ErrorMessages rev=29 targets=PmWiki.Installation,PmWiki.FilePermissions,PmWiki.PmWiki text=(:title Error and Warning Messages:)%0a>>faq%3c%3c%0aQ:help got this message while I was trying to protect a page by ?action=attr%0a%0aPassword required%0a%0aPassword: %0a%0aWarning: 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%0a%0aWarning: 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%0a%0aA: Create a session directory at the root of the website (used by php engine to create and maintain sessions)%0a----%0aI get this error also. I'm running it on a windows 2000 box. It happens every once and a while.%0a%0aIt works fine and then this error shows up. I have to apply folder permissions down through the%0a%0afiles and subfolders and it works again.%0a%0a%0a[=Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in D:\Inetpub\WikiRoot2\pmwiki.php on line 355@@\\%0aPmWiki can't process your request\\%0aCannot acquire lockfile\\%0aWe are sorry for any inconvenience.=]%0a%0aAny ideas? Besides that it is running on windows. FYI: this is the 2.0.beta37 version. I didn't have this%0aproblem with version 1.%0a%0a%0a%0a----%0aQ: 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:%0a %0aWarning: Wrong parameter count for array_merge() in /home/g/xxx.de/public_html/wiki/scripts/pagelist.php on line 87%0a%0aWarning: 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%0a%0a'''The result is ok, but how can i get rid of that warning ? '''%0a%0a----%0a%0aQ: I'm getting the following warnings:%0aWarning: Invalid argument supplied for foreach() in /home/www/dept-of-films/pmwiki/pmwiki.php on line 31%0a%0aWarning: 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%0a%0aAny ideas on what this means or how to fix?%0a%0aA:%0aFirst 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 [[PmWiki/Installation]] for the current files & upgrade links. It's possible the bug was already fixed.%0a%0aAlso, double check your config.php file -- maybe something is wrong there which is being processed by pmwiki.php.%0a%0aSecond 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.%0a%0a----%0aQ: still have this pb after ?action=attr %0a%0a'''also I move pmwiki at root ?'''%0a%0a[[%3c%3c]]'''Warning: Unknown: open'''[[%3c%3c]]('''/var/www/free.fr/c/0/pm/sessions/sess_0597f2bc9aa5cac005a89f00e4'''[[%3c%3c]]'''0bff8e, O_RDWR) failed: No such file or directory (2) in Unknown '''[[%3c%3c]]'''on line 0'''%0a%0a[[%3c%3c]]'''Warning: Unknown: Failed to write session data (files). Please '''[[%3c%3c]]'''verify that the current setting of session.save_path is correct ''''''[[%3c%3c]](/var/www/free.fr/c/0/pm/sessions) in Unknown on line 0'''%0a%0a'''any idea ?'''%0a----%0a%0aQ:may i know what is wrong%0a Warning: fopen("wiki.d/.flock", "w") - Permission denied in /home/bird/wyx/wiki/index.php on line 545%0a%0a->[@%0aWarning: Cannot add header information - headers already sent by%0a(output started at /home/bird/wyx/wiki/index.php:545) in%0a/home/bird/wyx/wiki/index.php on line 348%0a%0aPmWiki can't process your request%0aCannot acquire lockfile%0a%0aWe are sorry for any inconvenience.%0a@]%0a%0aA: This is probably a webserver permission problem. Try entering the following command from inside your pmwiki folder.%0a chmod -R 777 wiki.d%0aSee also FilePermissions%0a----%0aQ: Everytime I save my wiki (http://www.wanderingabout.com/randomthoughts/pmwiki.php) it says this:%0a%0a /home/sz000093/public_html/randomthoughts/pmwiki.php on line 678%0a%0a->[=Warning: touch(): Utime failed: Permission denied in /home/sz000093/public_html/randomthoughts/pmwiki.php on line 678=]%0a%0a->[=Warning: touch(): Utime failed: Permission denied in /home/sz000093/public_html/randomthoughts/pmwiki.php on line 678=]%0a%0a->[=Warning: Cannot modify header information - headers already sent by (output started at /home/sz000093/public_html/randomthoughts/pmwiki.php:678) in /home/sz000093/public_html/randomthoughts/pmwiki.php on line 369=]%0a%0a->[=Warning: Cannot modify header information - headers already sent by (output started at /home/sz000093/public_html/randomthoughts/pmwiki.php:678) in /home/sz000093/public_html/randomthoughts/pmwiki.php on line 370=]%0a%0a...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...%0a%0aQ: What the heck does this mean, and why can't I enter my wiki page? please help!!!%0a%0aWarning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /home/***/public_html/pmwiki/pmwiki.php on line 582%0a%0aWarning: 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%0a%0aPmWiki can't process your request%0aCannot acquire lockfile%0a%0aWe are sorry for any inconvenience.%0a%0ahttp://www.pmichaud.com/ref/PmWiki/Lockfile%0a%0aA: 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. %0a%0aAn 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).%0a%0aQ: Hi, I seem to be having the same problem:%0a%0a'''Cannot acquire lockfile'''%0a%0aI 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: %0a%0adrwxrwxrwx 2 httpd httpd 4096 Dec 14 02:26 wiki.d%0a%0aBut it seems not to be able to write to it... What could the problem be here?%0a%0a(I'm using PHP Version 4.3.4 and I did get PmWiki 1.0 to run here once before.)%0a%0aA: Okay, I fugured it out.%0a%0aThis 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:%0a%0aPHP 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%0a%0aA workaround for that problem is to create all the wiki data directories (wiki.d and uploads) by hand and chmod them to 666.%0a%0a@@mkdir wiki.d@@%0a%0a@@mkdir uploads@@%0a%0a@@chmod 666 wiki.d@@%0a%0a@@chmod 666 uploads@@%0a%0a--''postrational''%0a%0aP.S. Keep up the good work Pm!%0a%0a%25blue%25I just got an error like this when I ran out of space on my web host. Check the obvious first! :)te%0a%0aQ: PmWiki can't process your request%0a%0aCannot acquire lockfile%0a%0aWe are sorry for any inconvenience.%0a%0aReturn to this site's home page%0a%0ahttp://www.pmichaud.com/ref/PmWiki/Lockfile%0a%0aA: I don't know. Here %0aTry this : @@chmod 777 wiki.d -R@@%0a%0a time=1125540065 title=Error and Warning Messages