Ich hatte das Problem auch bei meinem testblog bei pytal, dort rennt ein 64bit server und php 5, mit folgender änderung (vgl. auch postlink weiter oben) in der gettext.php in
wp-includes
war das Problem beseitigt:
PHP-Code:
// Caching can be turned off
$this->enable_cache = $enable_cache;
// $MAGIC1 = (int)0x950412de; //bug in PHP 5
$MAGIC1 = (int) - 1794895138;
// $MAGIC2 = (int)0xde120495; //bug
$MAGIC2 = (int) - 569244523;
$MAGIC3 = (int) 2500072158; // ÄNDERUNG 64 BIT
$this->STREAM = $Reader;
$magic = $this->readint();
if ($magic == $MAGIC1 || $magic == $MAGIC3) { // ÄNDERUNG 64 BIT
$this->BYTEORDER = 0;
} elseif ($magic == $MAGIC2) {
$this->BYTEORDER = 1;
} else {
$this->error = 1; // not MO file
return false;
}