jimithesaint
Member
Posted 4 years ago #
Hi all,
Im currently trying to change default language to swedish, using wordpress 15.3.1. I compiled a sv_SE.mo file (UTF-8)using poEdit 1.3.2 for linux-GTK and uploaded it to wp-includes/languages/sv_SE.mo. I changed define ('WPLANG', 'sv_SE') in wp-config.php and reloaded my blog and now Im getting Fatal error: Only variables can be passed by reference in /home/blog/wp-includes/gettext.php on line 66.
Using: php 5.1beta3, apache 2.0.48, mysql 4.1, wordpress 1.5.1.3, using default theme.
anyone here got a clue?
jimithesaint
Member
Posted 4 years ago #
PHP5 issue...
I degraded my PHP install from 5.1 to 4.4 and everything works fine. Anyone tried PHP5.x and localization of wordpress?
I have same problem, error is in this function array_shift
search function readint()
//return array_shift(unpack('V', $this->STREAM->read(4)));
//REPLACE THIS BY FOLLOW
$tmp = unpack('V', $this->STREAM->read(4));
return array_shift($tmp);
and on in other functions array_shift
vkrivokuca
Member
Posted 4 years ago #
vkrivokuca
Member
Posted 4 years ago #
Don't know what came to me, respondes with some solution to wrong thread. Sorry for garbage.