Re: ziplib

Reini Urban <[email protected]> Wed, 14 Oct 2009 23:01:32 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2009/10/14 Tom Eicher <[email protected]>:
> 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 ?

No.

> Do you have any idea what is being zipped or unzipped on every
> page request ?

It's the gzipped pre-prepared page object, which is stored in the
database. Obviously with a unsupported gzip format.

> Any idea how to fix this ?

PhpWikiAdministration
purge-cache
-- 
Reini Urban
http://phpwiki.org/           http://murbreak.at/

------------------------------------------------------------------------------
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