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

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 3 01:27:41 GMT 2009


#5599: Sporadic timeout /wp-includes/gettext.php
----------------------------------------------------+-----------------------
 Reporter:  WhitewolfFox                            |        Owner:  westi   
     Type:  defect (bug)                            |       Status:  reopened
 Priority:  highest omg bbq                         |    Milestone:  2.7.1   
Component:  General                                 |      Version:  2.5.1   
 Severity:  blocker                                 |   Resolution:          
 Keywords:  gettext unpack() timeout crash install  |  
----------------------------------------------------+-----------------------
Changes (by codestyling):

  * status:  closed => reopened
  * severity:  critical => blocker
 * cc: whitewolf_fox at gmx.de (removed)
 * cc: info at code-styling.de (added)
  * milestone:  2.6.1 => 2.7.1
  * keywords:  gettext unpack() timeout => gettext unpack() timeout crash
               install
  * resolution:  fixed =>

Comment:

 This bug is back but on an other reason.
 I tested the PHP5 XAMPP Installation (PHP 5.1.4 and higher) and set the
 ''php.ini'' value

 {{{
 ; Magic quotes for runtime-generated data, e.g. data from SQL, from
 exec(), etc.
 magic_quotes_runtime = On
 }}}

 to "On" instead of normally "Off". After restart of Server, i got
 immediatly the descibed bug too, again 30 seconds limit reached and crash
 at line 91.
 After inspectation of whole WP 2.7 code i found only import / mailer and
 pclzip do respect this by override the value.
 After testing the additional code line

 {{{
 set_magic_quotes_runtime(0);
 }}}

 at ''wp-config.php'' the issue was gone. I suggest to include this as
 first global instruction at ''settings.php'' to avoid this crash at the
 future. (At PHP6 this value has been trashed and can't generate any more
 trouble)

 Furthermore, if the german 'de_DE' WPLANG setting (or any other language
 file i tested like he_IL or it_IT) has been set empty, it steps over but
 the install won't work nervertheless, because the database requested
 values at ''capabilities.php'' gots damaged too:

 {{{
 PHP Fatal error: Cannot use string offset as an array in
 C:\xampp\root\wordpress\wp-includes\capabilities.php on line 116,
 referrer: \wordpress\wp-login.php
 }}}
 The database role data has been damaged and produces this "'''white page
 during install problem'''"! All this can be solved by adding one line of
 code switching this value "off".

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


More information about the wp-trac mailing list