[Phpmyadmin-devel] ready for 4.0.0-alpha1 ?

Madhura Jayaratne madhura.cj at gmail.com
Sat Jan 12 10:45:15 CET 2013


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.

@Alex,
Can you also verify this results?

-- 
Thanks and Regards,

Madhura Jayaratne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130112/69ef6f4a/attachment.html>


More information about the Developers mailing list