Le 2013-01-12 09:18, Alex M a écrit :
On Sat, Jan 12, 2013 at 11:45 AM, Madhura Jayaratne madhura.cj@gmail.comwrote:
$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)) );
Madhura, indeed, this removes the following errors on chrome:
GET http://localhost/pma_github/js/get_image.js.php?theme=pmahomme /pma_github/:1 http://localhost/pma_github/ GET http://localhost/pma_github/js/messages.php?lang=en&db=&server=0&... /pma_github/:1 http://localhost/pma_github/
3 others remain (and still a blank page): GET http://localhost/pma_github/ /pma_github/:1http://localhost/pma_github/ GET http://localhost/pma_github/phpmyadmin.css.php?server=1&token=8f8f340f68... /pma_github/:1 http://localhost/pma_github/ GET http://localhost/pma_github/js/get_scripts.js.php?scripts%5B%5D=jquery/jquer... /pma_github/:1 http://localhost/pma_github/
Firefox still shows
SyntaxError: missing ) after argument list
SyntaxError: unterminated string literal
ReferenceError: $ is not defined
ReferenceError: PMA_commonParams is not defined
ReferenceError: AJAX is not defined
I will look and see if I find similar solutions.
Marc, I am running on a 64-bit Ubuntu 12.04.01 with Google Chrome 24.0.1312.52.
Ok, I have installed a VM with the same Ubuntu as yours. Which operation are you doing to produce these errors in Firefox's Tools>Web developer>Error console ?