|
From: Tom E. <ro...@te...> - 2007-03-04 00:54:18
|
Hello,
I just reinstalled my system using (openSuSE 10.2) (with latest online
updates). My "old" Phpwiki phpwiki-1.3.11rc3 didn't run for strange
reasons ("Object of class RawXml could not be converted to string")
so I tried to go forward with a phpwiki-1.3.12p3.
The new system has
Server version: Apache/2.2.3
PHP 5.2.0 with Suhosin-Patch 0.9.6.1 (cli) (built: Nov 27 2006 22:39:24)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
But somehow it doesn't work too cool:
The start page gets displayed alright, but whatever I do then, I just
get the start page read-only again. No link works.
That with both USE_PATH_INFO true and false. (And AcceptPathInfo On)
I suspect that phpwiki is not given the environment info by the
apache or php, because
1) I had to set SERVER_NAME etc manually for it to work and
2) I get with every request:
"lib/Request.php:71: Notice: Undefined index: REMOTE_ADDR"
(and also "lib/Request.php:73: Warning: gethostbyaddr(): Address
is not a valid IPv4 or IPv6 address") and
3) the access log looks like
- - [04/Mar/2007:01:41:15 0100] " " 200 28455 "" ""
- - [04/Mar/2007:01:46:14 0100] " " 200 28455 "" ""
- - [04/Mar/2007:01:46:37 0100] " " 200 28455 "" ""
- - [04/Mar/2007:01:46:47 0100] " " 200 28455 "" ""
- - [04/Mar/2007:01:46:56 0100] " " 200 28455 "" ""
whereas the apache has me logged in:
192.168.10.5 - teicher [04/Mar/2007:01:46:47 +0100] "GET
/index.php?pagename=Steuer HTTP/1.1" 200 28455
"https://teichernet.kicks-ass.org/index.php?pagename=HomePage%2F2007-03-05&action=edit"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20061107
SUSE/1.0.99-18 SeaMonkey/1.1b"
192.168.10.5 - teicher [04/Mar/2007:01:46:48 +0100] "GET
/themes/default/phpwiki.css HTTP/1.1" 304 -
"https://teichernet.kicks-ass.org/index.php?pagename=Steuer"
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1) Gecko/20061107
SUSE/1.0.99-18 SeaMonkey/1.1b"
(The above pathes after fiddling a bit the config.ini parameters,
but it's was the same "out of the box"...)
I tried to allow php globals etc and all such php settings that seemed
related, but never saw a change in behaviour.
Also strange: First thing, I did have to comment out index.php
line 55 "If any page is empty,...", I don't think I had to
do that in the old version...
What I'm trying to do is to get the wiki running behind my
Apaches BasicAuth on a SSL port.
Any hints, ideas, specific requests for more info are greatly
appreciated!
Tonight, luck wasn't with the diligent ;-/
Thanks in advance, Cheers,
Tom.
|