On Wed, Jan 9, 2013 at 9:06 PM, Michal Čihař <michal@cihar.com> wrote:
Hi

Dne Wed, 9 Jan 2013 20:46:54 +0530
Madhura Jayaratne <madhura.cj@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