Fork me on GitHub

Rapport de message :*
 

Re: TINYEDITOR 1beta : Enfin la solution qui fonctionne

Titre du sujet : Re: TINYEDITOR 1beta : Enfin la solution qui fonctionne
par frankblack sur 01/01/2007 15:23:10

Citation :
D'ailleurs, il y a une erreur lors du chargement de la page.


Did you enable gzip-compression within tinyeditor? Some versions (not all) of IE have severe problems with the gzip-compressed code.

First try out the final version of tinyeditor, because new compressor code was added. If still does not help, edit include/initcode.php and change this:

// START: Use Gzip output compression?
    
if ((extension_loaded('zlib')) && ($moduleConfig['tinyedmgrgzip'] == 1)) {
        
//if (eregi("msie",$_SERVER['HTTP_USER_AGENT'])) {
            //$tinyededitor_load = "tiny_mce.js";
        //} else {
        
$tinyededitor_load "tiny_mce_gzip.js";
        
//}
    
} else {
        
$tinyededitor_load "tiny_mce.js";
    }
    
// END: Use Gzip output compression?


to this:

// START: Use Gzip output compression?
    
if ((extension_loaded('zlib')) && ($moduleConfig['tinyedmgrgzip'] == 1)) {
        if (
eregi("msie",$_SERVER['HTTP_USER_AGENT'])) {
            
$tinyededitor_load "tiny_mce.js";
        } else {
        
$tinyededitor_load "tiny_mce_gzip.js";
        }
    } else {
        
$tinyededitor_load "tiny_mce.js";
    }
    
// END: Use Gzip output compression?


and this:

if ((extension_loaded('zlib')) && ($moduleConfig['tinyedmgrgzip'] == 1)) {


to this:

if ((extension_loaded('zlib')) && ($moduleConfig['tinyedmgrgzip'] == 1) && !eregi("msie",$_SERVER['HTTP_USER_AGENT'])) {

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

55 Personne(s) en ligne (42 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 55 | Plus ...