Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Installation support «  

Weird characters show when running setup.php

When running setup.php, weird characters show up.
A Â0E÷ï0¸÷cöº¯0µ¿M0&!M-ÞÞ´A\\\\È,ÂÀ/?aïNWl m9²Íúâ è|gû1aL4 =X½3¬V¤ ís

for example shows up. No other script on my server has this problem. I do have Turck mmcache installed and running. Also, I did a wget on the file and extracted it on my server, so I couldn't have mixed up binary and ascii transfers.
Bernard
avatar
from nearby-an-airport
Associate, 6796 posts

on Nov. 30 -1


This symptom may be related to compression. By default YACS tries to gzip delivered content. On some sites this feature may be disabled if compression is provided by another sub-system (Apache, etc.). This is usually done after setup completion.

You may ask YACS to not compress data by dropping the following lines into shared/parameters.include, which is a simple text file:

<?php
global $context;
$context['without_compression']='Y';
?>


Then relaunch setup.php again. Don't use this trick at setup time. See new comment below.
Bernard
avatar
from nearby-an-airport
Associate, 6796 posts

on Mar. 9 2004


Well, actually, the previous comment may lead some users to the wrong direction.

As an alternative, you can force YACS to not compress by changing following lines of global.php:
if(!$mayZip) {
    
header('Content-length: '.strlen($content));
    return 
$content;
}


to:
//if(!$mayZip) {
    
header('Content-length: '.strlen($content));
    return 
$content;
//}



Then delete all files with the extension .configure in directories shared and skins.

Then restart setup.php to achieve the installation.

I promise you that the next release of YACS, due this week, will compress content only on explicit request

Rate this page
Posted by Micheal on Mar. 8 2004, edited by Bernard on Mar. 8 2004, (popular)