SourceForge logo
SourceForge logo
Menu

phpwiki-talk

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.
From: Reini U. <ru...@x-...> - 2009年10月14日 21:01:43
2009年10月14日 Tom Eicher <ro...@te...>:
> 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/
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /