[Phpmyadmin-devel] ready for 4.0.0-alpha1 ?
Alex M
alex.ukf at gmail.com
Sat Jan 12 15:18:53 CET 2013
On Sat, Jan 12, 2013 at 11:45 AM, Madhura Jayaratne <madhura.cj at gmail.com>wrote:
> $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&token=8f8f340f68e2e6358bfe27f3a06fb998
/pma_github/:1 <http://localhost/pma_github/>
3 others remain (and still a blank page):
GET http://localhost/pma_github/ /pma_github/:1<http://localhost/pma_github/>
GET
http://localhost/pma_github/phpmyadmin.css.php?server=1&token=8f8f340f68e2e6358bfe27f3a06fb998&nocache=5431191974ltr
/pma_github/:1 <http://localhost/pma_github/>
GET
http://localhost/pma_github/js/get_scripts.js.php?scripts[]=jquery/jquery-1.8.3.js&scripts[]=ajax.js&scripts[]=jquery/jquery-ui-1.9.2.custom.js&scripts[]=jquery/jquery.sprintf.js&scripts[]=jquery/jquery.cookie.js&scripts[]=jquery/jquery.mousewheel.js&scripts[]=jquery/jquery.event.drag-2.2.js&scripts[]=jquery/jquery-ui-timepicker-addon.js&scripts[]=jquery/jquery.ba-hashchange-1.3.js
/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.
--
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130112/17a9511c/attachment.html>
More information about the Developers
mailing list