Serverinformationen:
APACHE: 2.0.54
PHP: 5.0.5
MYSQL: 4.1.7
WORDPRESS: 1.5.2
de_DE: 1.4.mo
Ich würde gerne mein Wordpress in deutscher Sprache übersetzt haben... doch das geht nicht ;)
wp-config.php:
gettext.php:
Code
function readint() {
if ($this->BYTEORDER == 0) {
// low endian
// return array_shift(unpack('V', $this->STREAM->read(4)));
$tmp = unpack('V', $this->STREAM->read(4));
return array_shift($tmp);
} else {
// big endian
// return array_shift(unpack('N', $this->STREAM->read(4)));
$tmp = unpack('N', $this->STREAM->read(4));
return array_shift($tmp);
}
}
Alles anzeigen
Nachdem ich wie oben zu sehen die datei "gettext.php" editiert habe, erscheint jetzt nurnoch folgendes im Browser:
Code
Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in C:\Programme\Apache Group\Apache2\htdocs\wordpress\wp-includes\gettext.php on line 86
Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in C:\Programme\Apache Group\Apache2\htdocs\wordpress\wp-includes\gettext.php on line 86
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Programme\Apache Group\Apache2\htdocs\wordpress\wp-includes\gettext.php on line 155
? ;)