[Phpmyadmin-devel] ready for 4.0.0-alpha1 ?

Marc Delisle marc at infomarc.info
Tue Jan 15 14:20:55 CET 2013


Madhura Jayaratne a écrit :
> On Wed, Jan 9, 2013 at 9:06 PM, Michal Čihař <michal at cihar.com> wrote:
> 
>> Hi
>>
>> Dne Wed, 9 Jan 2013 20:46:54 +0530
>> Madhura Jayaratne <madhura.cj at gmail.com> napsal(a):
>>
>>> I tried bisecting and the first bad commit is 44c12545fc863. Still I have
>>> no clue what's causing this.
>> Maybe js/get_scripts.js.php is generating error?
>>
>> --
>>         Michal Čihař | http://cihar.com | http://blog.cihar.com
> 
> 
> I am somewhat confused with the what I noticed. The problem seems to be
> related to the size of the JavaScript loaded.
> For example, if I divide the JavaScript files loaded in the initial call to
> js/get_scripts.js between two calls with the following code (around Line 74
> of libraries/Script.class.php), the problem goes away.
> 
>         $mid = floor(count($params) / 2);
>         $static_scripts = sprintf(
>             "<script type='text/javascript'
> src='js/get_scripts.js.php?%s'></script>",
>             implode("&", array_slice($params, 0, $mid))
>         );
>         $static_scripts .= sprintf(
>             "<script type='text/javascript'
> src='js/get_scripts.js.php?%s'></script>",
>             implode("&", array_slice($params, $mid))
>         );
> 
> Are you aware of any configuration that might be causing this? I am unable
> to find such a thing.

Madhura,
did you try disabling all browser extensions?

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list