|
From: Michael R. <mi...@da...> - 2010-01-29 16:59:16
|
On Fri, 29 Jan 2010 17:07:02 +0100
Hanns Mattes <ha...@ha...> wrote:
>
> Any hints?
>
Could I have you test this patch?
--- install.php (revision 52)
+++ install.php (working copy)
@@ -558,10 +558,10 @@
}
$page .= "<tr><td>Checking if install folder is writeable</td>";
try {
- $pid = posix_getpid();
- if (@file_put_contents("$root/test$pid", "") === FALSE)
+ $pid = hash("md5", date("r", time()));
+ if (@file_put_contents("$root/$pid", "") === FALSE)
throw new Exception();
- if (unlink("$root/test$pid") === FALSE)
+ if (unlink("$root/$pid") === FALSE)
throw new Exception();
$page .= '<td><span style="font-size: 1.2em; font-weight: bold;
background: green">OK</span></td></tr>';
1) save attached file somewhere
2) cd [web client top folder]/install
3) patch -p0 < somewhere/fix_posix_getpid_on_windows.patch
4) run install again
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Q: Know what the difference between your latest project
and putting wings on an elephant is?
A: Who knows? The elephant *might* fly, heh, heh...
|