< ´ZysŰ6 ˙ß? ĺö?ľDR?-Ń-2>"ĆťNŞZJŇN "! Żđ°ě=žűž đ
)ZÎŃuS ŕ xÇď= >ńŕ{ä?Ĺ ??fv °Ŕ l& OÂÎh4
wLíĹôčü>ë_Ž-˙~Ď?> ŃüíĺíÍ Ń:şţžĽë×ËkňŰŤĺë[
\Č2ŚAÂSŕJ=]?˝Ń? ŃÜ4,]ßívÝ]ż Ć }y§? 7 Éó_;ŠBŰuRG ŮB$č
$" 6ćx<-Ôb-Ł ŞŰéoo <ŕ÷nęGŢń=
You get the idea.
hand-appending ?action=edit to the URL does as
expected -- takes me to the edit page for HomePage that page contains a PHP Warning:
* lib/config.php:276: Notice[8]: Undefined variable:
SCRIPT_NAME
'Preview' works fine
'Save' returns me to the page of noise, URL
http://127.0.0.1/phpwiki/index.php?pagename=HomePage
* hand-inserting the URL of TheNewPage I inserted at
during the edit of HomePage also produces garbage
Logged In: YES
user_id=387656
I have the same problem, apparently it is a result of
phpwiki sending gzipped content without the appropriate
content-type header. Unfortunatly I don't know PHP so have
no idea what to do about this. Any thoughts?
Logged In: YES
user_id=15312
This could be solved by letting the function compress_output
() in lib/stdlib.php send the correct Content-Encoding header:
php >= 4.1.0) */
&& version_compare(phpversion(), '4.2.3', ">=")
){
header("Content-Encoding: gzip");
ob_start('ob_gzhandler');
$this->_is_compressing_output = true;
}
}
Notice: If there are any PHP warnings (which there is for
newer versions of PHP for the standard phpwiki 1.3.4
distribution), you will only get a blank page since these
messages are written before the compressed page (and thus
before the header of the compressed data).
Logged In: NO
I moved a phpwiki site to a machine running a newer version
of php 4.3.3 and encountered the sampe problem.
I'm not sure why php is attempting to compress the output,
but something is wrong. You can get your site working again
by changing
define('COMPRESS_OUTPUT', true);
to
define('COMPRESS_OUTPUT', false);
in the index.php
Logged In: YES
user_id=439036
change
define('COMPRESS_OUTPUT', true);
to
define('COMPRESS_OUTPUT', false);
in your index.php file and this will disable this feature.
Logged In: NO
>Date: 2003-08-09 14:18
>Sender: kimhornung
>Logged In: YES
>user_id=15312
>
>This could be solved by letting the function compress_output
>() in lib/stdlib.php send the correct Content-Encoding header:
>
> function compress_output() {
> if ( function_exists('ob_gzhandler')
> && function_exists('version_compare')
> / (only in php >= 4.1.0) /
> && version_compare(phpversion(), '4.2.3',">=")
> ){
>>> header("Content-Encoding: gzip");
> ob_start('ob_gzhandler');
> $this->_is_compressing_output = true;
> }
> }
Thank you!!!! FYI, this is in request.php on line 131... See that
line there "header("Content-Encoding: gzip");" ? That's what fixed
this for me. - Steve Cooley
Diff:
Closing very old bugs.