ziplib
Tom Eicher <[email protected]> Wed, 14 Oct 2009 20:15:25 +0200
| Newsgroups | gmane.comp.web.wiki.phpwiki.talk |
|---|---|
| Organization | teicher.net - private site in Munich, Germany |
| Message-ID | <[email protected]> |
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.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference