From: Tom E. <ro...@te...> - 2009-10-14 18:28:00
|
Greetings, as upgrading systems, and especially everything involving php on linux is always very painful (at least in my experience ;-) I always postpone that as long as possible. But now is the time :-) I have (had ;-) a phpwiki 1.3.12p3 running on SuSE Linux 10.2, and moved that installation to a new SuSE 10.1 (latest patches). After fiddling with the usual PHP stuff (register_long_arrays and stuff), I came to a point where every page request would give a > Fatal PhpWiki Error > Unsupported ZIP header type: xÚT I tracked down that message and found it in ziplib (line 452 in my version). Now the fun thing is, I just commented the > ExitWiki(sprintf("Unsupported ZIP header type: %s ", $magic)); out, and now it seems to run. My PHP skills are a bit rusty, so I was unable to find out just what we're trying to zip or unzip here... I tried the ziplib versions from the previous phpwikis I still have on disk, 1.3.11rc3 and 1.3.10, but they produced the same result. Questions: Did I do something harmful by commenting it out ? Do you have any idea what is being zipped or unzipped on every page request ? Any idea how to fix this ? Is it maybe related to the newer linux having different compression algorithms somehwere, or the newer apache2 httpd ? Cheers! Tom. |