WordPress.org

Support

Support » Installation » unpack warnings using .mo files

unpack warnings using .mo files

  • I have done a fresh install of wordpress, works fine. Have then followed instructions to use german language mo file.

    I get the following errors in php log and their is no response sent to the browser other than a 200 http header.

    Removing the .mo file fixes the problem. The .mo file is fine as I have done an install on the dev environment using the exact same file (verified using diff) and it works fine.

    This occurs on a debian machine and on a redhat advanced server machine with the exact same symptoms. Versions of other things are:

    php – 5.1.4
    apache – 2.0.58
    mysql – 4.1.20-standard

    Errors:

    PHP Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in /home/sites/wordpress-de/wordpress/wp-includes/gettext.php on line 85

    Help please

Viewing 6 replies - 1 through 6 (of 6 total)
  • Still struggling with this; please, can anyone shed some light on it – have seen plenty of google instances of this so I know I’m not alone.

    Thanks in advance

    This Problem is very great and its very complicated!?? A Language Problem? And Everyone saya: WordPress big and big international? 🙁

    I’ve the same Problem on my System:

    php – 5.2.2
    apache – Apache/2.2.4 (Win32)
    mysql – 5.0.37
    Warning Message: Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in C:\…\wp-includes\gettext.php on line 85

    Is there no Programmer, who can solve this Problem?
    hmmm…

    HELP. I spend hours fixing it and failed.

    Anyone??? Please help us!!!…

    I have the same warning…

    Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in gettext.php on line 91

    Same problem here after upgrading to WP 2.5.1. Some users report that turning magic_quotes_runtime off maybe help but i can´t confirm that. My hoster deactivated magic_quotes by default. They´re using a 64 Bit CPU with a 32 Bit Suse Linux operating system. Many users of the german WordPress support forum are reporting the same error after upgrading to the latest version.

    An user of the german WP forum had found out that this might be a bug with PHP 5.1.1. For more details see here or here (german). Maybe his fix is the solution?!

    I have tested a performant patch that solves this issue. There is a bug inside PHP implementation. Sometimes, rarely the substr() function returns wrong results even if input values are ok. Can be found here:
    http://trac.wordpress.org/ticket/5599#comment:14
    or currently as german acticle here:
    unpack errors at gettext.php
    the english translation follows soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘unpack warnings using .mo files’ is closed to new replies.