On Mon, 28 Mar 2005 19:57:28 -0800, Jan Steinman <Jan(a)bytesmiths.com> wrote:
I was trying to set up a number of MediaWiki 1.4
sites. I'd written a
bash script that duplicates the folder hierarchy and creates hard links
to the files. I then remove LocalSettings.php, and run /wiki/config.
This worked for several websites, then refused to work on one. I kept
getting the message:
* Script URI path: /wiki
Fatal error: Cannot redeclare class namespace in
/Users/xxx/Sites/yyy/wiki/includes/Namespace.php on line 52
Now the "yyy" directory, in the directory of user "xxx", was
symlinked
into /Library/WebServer, which is the standard place on MacOS X. I went
up and down that symlinked path, looking for permission problems, and
found none.
But the problem wasn't in the symliked path! The home directory of user
"xxx" had somehow gotten perms of "-rwxr-x--x" -- there was no read
permission for others, which included the user "www" that Apache runs
under! User "xxx" and I had the same group, so I was able to go into
the directory with no problem.
I thought it a rather strange error message for a permission problem
several levels up!
This may address a class of similar errors reported by several users.
See bug #1107 (
http://bugzilla.wikipedia.org/show_bug.cgi?id=1107).
Could you post your solution at that bug? Or, with your permission, I
will copy your original message there.
-- Rich Holton
en.wikipedia:User:Rholton