[wp-trac] Re: [WordPress Trac] #5599: Sporadic timeout /wp-includes/gettext.php

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 2 14:33:37 GMT 2008


#5599: Sporadic timeout /wp-includes/gettext.php
--------------------------------------+-------------------------------------
 Reporter:  WhitewolfFox              |        Owner:  westi   
     Type:  defect                    |       Status:  assigned
 Priority:  highest omg bbq           |    Milestone:  2.6     
Component:  General                   |      Version:  2.5.1   
 Severity:  critical                  |   Resolution:          
 Keywords:  gettext unpack() timeout  |  
--------------------------------------+-------------------------------------
Comment (by codestyling):

 new error occurance:
 At german WordPress Forum [http://forum.wordpress-deutschland.org/plugins-
 und-widgets/36304-nach-update-auf-akismet-2-1-6-fehler.html#post175030] a
 user has reported, that this error occures immediately after upgrade to
 Akismet 2.1.6! After deactivation of Akismet all works well, if Akismet
 will be activated the well know error dump occures:

 {{{
 Warning: unpack() [function.unpack]: Type V: not enough input, need 4,
 have 0 in .../news_blog/wp-includes/gettext.php on line 91
 Warning: unpack() [function.unpack]: Type V: not enough input, need 4,
 have 0 in .../news_blog/wp-includes/gettext.php on line 91
 Fatal error: Maximum execution time of 30 seconds exceeded in
 .../news_blog/wp-includes/gettext.php on line 163

 }}}

 I gave the user the advice to my patch suggested above and he replaced his
 streams.php with my downloadable patched one for WP2.5.1. After using the
 patch, the error doesn't occure any longer.
 The thing is: Why forces upgrade of Akismet such a behavoir too ?
 I think, there must be a big problem inside some PHP5 versions
 implementation of substr(). Should this be for sure prevented at WP using
 unpack instead of substr() ?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5599#comment:19>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list