#3829 (ok 4.0) Enable Query Profiling Crashes Javascript Based Navigation

4.0.0
fixed
None
1
2014-08-20
2013-02-16
Skoonhoven
No

After enabling the profiling functionality for sql queries on the browse page of a table, a bug in the Javascript code disables any JavaScript based navigation and functionality.

Logging out and in is the only way to disable the profiling function, which results in a usable phpMyAdmin interface again.

Error trace in console:

Uncaught ReferenceError: makeProfilingChart is not defined
(anonymous function)
(anonymous function) get_scripts.js.php:14
bG.extend.globalEval get_scripts.js.php:14
(anonymous function) get_scripts.js.php:21
bG.extend.each get_scripts.js.php:14
bG.fn.extend.domManip get_scripts.js.php:21
bG.fn.extend.before get_scripts.js.php:21
(anonymous function) get_scripts.js.php:21
bG.extend.each get_scripts.js.php:14
bG.fn.bG.each get_scripts.js.php:14
bG.fn.extend.replaceWith get_scripts.js.php:21
(anonymous function) get_scripts.js.php:23
AJAX.scriptHandler.reset get_scripts.js.php:23
AJAX.responseHandler get_scripts.js.php:23
bZ get_scripts.js.php:14
b7.fireWith get_scripts.js.php:14
ca get_scripts.js.php:21
bZ get_scripts.js.php:21

Used client software:
Chrome 24
Windows 7 64 bits
phpMyAdmin 4.0.0 beta1

Served from :
nginx/1.1.19
Database client version: libmysql - 5.5.29
PHP extension: mysqli
Ubuntu 12.04

Discussion

  • John Hamelink

    John Hamelink - 2013-02-20

    I also have this exact same problem.

    Using git revision acfc301b5122be5b96deceba3c63c176ec89e6f4

    Served from localhost - arch linux machine with php5.4.11, mariadb 5.5.29, nginx 1.2.7, chromium 24

    Edit: I've also turned off authentication (it's for my own development) so in my case I have to restart php-fpm to solve the problem.

     
    Last edit: John Hamelink 2013-02-20
  • Atul Pratap Singh

    • assigned_to: Atul Pratap Singh
     
  • John Hamelink

    John Hamelink - 2013-02-22

    That revision fixes it for me.

     
  • Atul Pratap Singh

    • summary: Enable Query Profiling Crashes Javascript Based Navigation --> (ok 4.0) Enable Query Profiling Crashes Javascript Based Navigation
    • status: open --> open-fixed
    • priority: 5 --> 1
     
  • Atul Pratap Singh

    The bug was fixed in the repository, thanks for reporting.

     
  • Skoonhoven

    Skoonhoven - 2013-03-11

    Cool, thanks for looking at this.

     
  • Marc Delisle

    Marc Delisle - 2013-05-03
    • Status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks