Package: phpmyadmin
Version: 4:4.1.8-1
Followup-For: Bug #740731

I try to attach the JS error
    "exception": {
        "mode": "stack",
        "name": "TypeError",
        "message": "$elements.tooltip is not a function",
        "stack": [
            {
                "func": "PMA_tooltip",
                "args": "",
                "line": null,
                "column": "null",
                "context": [
                    "        track: true,",
                    "        show: false,",
                    "        hide: false",
                    "    };",
                    "",
                    "    $elements.tooltip($.extend(true, defaultOptions, 
additionalOptions));",
                    "}",
                    "",
                    "/**",
                    " * Return value of a cell in a table.",
                    " */"
                ],
                "filename": "codemirror/addon/runmode/runmode.js"
            },
            {
                "func": "ErrorReport.wrap_function/new_func",
                "args": "",
                "line": 3003,
                "column": "null",
                "context": [
                    "     */",
                    "    wrap_function: function (func) {",
                    "        if (!func.wrapped) {",
                    "            var new_func = function () {",
                    "                try {",
                    "                    return func.apply(this, arguments);",
                    "                } catch (x) {",
                    "                    TraceKit.report(x);",
                    "                }",
                    "            };",
                    "            new_func.wrapped = true;"
                ],
                "filename": "codemirror/lib/codemirror.js"
            },
            {
                "func": "PMA_makegrid",
                "args": "",
                "line": 1872,
                "column": "null",
                "context": [
                    "",
                    "    // create tooltip for each  with draggable class",
                    "    PMA_tooltip(",
                    "            $(t).find(\"th.draggable\"),",
                    "            'th',",
                    "            g.updateHint()",
                    "    );",
                    "",
                    "    // register events for hint tooltip (anchors inside 
draggable th)",
                    "    $(t).find('th.draggable a')",
                    "        .mouseenter(function (e) {"
                ],
                "filename": "makegrid.js"
            },
            {
                "func": "ErrorReport.wrap_function/new_func",
                "args": "",
                "line": 3003,
                "column": "null",
                "context": [
                    "     */",
                    "    wrap_function: function (func) {",
                    "        if (!func.wrapped) {",
                    "            var new_func = function () {",
                    "                try {",
                    "                    return func.apply(this, arguments);",
                    "                } catch (x) {",
                    "                    TraceKit.report(x);",
                    "                }",
                    "            };",
                    "            new_func.wrapped = true;"
                ],
                "filename": "codemirror/lib/codemirror.js"
            },
            {
                "func": "?",
                "args": "",
                "line": 147,
                "column": "null",
                "context": [
                    "     * Attach the {@link makegrid} function to a custom 
event, which will be",
                    "     * triggered manually everytime the table of results 
is reloaded",
                    "     * @memberOf    jQuery",
                    "     */",
                    "    $(\"#sqlqueryresults\").live('makegrid', function () 
{",
                    "        PMA_makegrid($('#table_results')[0]);",
                    "    });",
                    "",
                    "    /**",
                    "     * Append the \"Show/Hide query box\" message to the 
query input form",
                    "     *"
                ],
                "filename": "sql.js"
            },
            {
                "func": "ErrorReport.wrap_function/new_func",
                "args": "",
                "line": 3003,
                "column": "null",
                "context": [
                    "     */",
                    "    wrap_function: function (func) {",
                    "        if (!func.wrapped) {",
                    "            var new_func = function () {",
                    "                try {",
                    "                    return func.apply(this, arguments);",
                    "                } catch (x) {",
                    "                    TraceKit.report(x);",
                    "                }",
                    "            };",
                    "            new_func.wrapped = true;"
                ],
                "filename": "codemirror/lib/codemirror.js"
            },
            {
                "func": "jQuery.event.dispatch",
                "args": "",
                "line": 1696,
                "column": "null",
                "context": [
                    "",
                    "\t\t\t\t\tevent.data = handleObj.data;",
                    "\t\t\t\t\tevent.handleObj = handleObj;",
                    "",
                    "\t\t\t\t\tret = ( (jQuery.event.special[ 
handleObj.origType ] || {}).handle || h//...",
                    "\t\t\t\t\t\t\t.apply( matched.elem, args );",
                    "",
                    "\t\t\t\t\tif ( ret !== undefined ) {",
                    "\t\t\t\t\t\tevent.result = ret;",
                    "\t\t\t\t\t\tif ( ret === false ) {",
                    "\t\t\t\t\t\t\tevent.preventDefault();"
                ],
                "filename": "jquery/jquery-ui-timepicker-addon.js"
            },
            {
                "func": "jQuery.event.add/eventHandle",
                "args": "",
                "line": 1305,
                "column": "null",
                "context": [
                    "\t\tif ( !eventHandle ) {",
                    "\t\t\telemData.handle = eventHandle = function( e ) {",
                    "\t\t\t\t// Discard the second event of a 
jQuery.event.trigger() and",
                    "\t\t\t\t// when an event is called after a page has 
unloaded",
                    "\t\t\t\treturn typeof jQuery !== \"undefined\" && (!e || 
jQuery.event.triggered !//...",
                    "\t\t\t\t\tjQuery.event.dispatch.apply( eventHandle.elem, 
arguments ) :",
                    "\t\t\t\t\tundefined;",
                    "\t\t\t};",
                    "\t\t\t// Add elem as a property of the handle fn to 
prevent a memory leak with//...",
                    "\t\t\teventHandle.elem = elem;",
                    "\t\t}"
                ],
                "filename": "jquery/jquery-ui-timepicker-addon.js"
            },
            {
                "func": "jQuery.event.trigger",
                "args": "",
                "line": 1574,
                "column": "null",
                "context": [
                    "\t\t\tcur = eventPath[i][0];",
                    "\t\t\tevent.type = eventPath[i][1];",
                    "",
                    "\t\t\thandle = ( jQuery._data( cur, \"events\" ) || {} )[ 
event.type ] && jQuery//...",
                    "\t\t\tif ( handle ) {",
                    "\t\t\t\thandle.apply( cur, data );",
                    "\t\t\t}",
                    "\t\t\t// Note that this is a bare JS function and not a 
jQuery handler",
                    "\t\t\thandle = ontype && cur[ ontype ];",
                    "\t\t\tif ( handle && jQuery.acceptData( cur ) && 
handle.apply( cur, data ) ===//...",
                    "\t\t\t\tevent.preventDefault();"
                ],
                "filename": "jquery/jquery-ui-timepicker-addon.js"
            },
            {
                "func": ".trigger/<",
                "args": "",
                "line": 104,
                "column": "null",
                "context": [
                    "\t\treturn arguments.length == 1? this.off( selector, 
\"**\" ) : this.off( type//...",
                    "\t},",
                    "",
                    "\ttrigger: function( type, data ) {",
                    "\t\treturn this.each(function() {",
                    "\t\t\tjQuery.event.trigger( type, data, this );",
                    "\t\t});",
                    "\t},",
                    "\ttriggerHandler: function( type, data ) {",
                    "\t\tif ( this[0] ) {",
                    "\t\t\treturn jQuery.event.trigger( type, data, this[0], 
true );"
                ],
                "filename": "jquery/jquery.ba-hashchange-1.3.js"
            },
            {
                "func": "jQuery a').attr('href', data._selflink);",
                    "                }",
                    "                if (data._scripts) {",
                    "                    AJAX.scriptHandler.load(data._scripts, 
data._params.token);",
                    "                }",
                    "                if (data._selflink && data._scripts && 
data._menuHash && da//...",
                    "                    AJAX.cache.add(",
                    "                        data._selflink,",
                    "                        data._scripts,"
                ],
                "filename": "functions.js"
            },
            {
                "func": "AJAX.scriptHandler.reset",
                "args": "",
                "line": 2723,
                "column": "null",
                "context": [
                    "             * on pages and submissions of forms",
                    "             */",
                    "            $('a').die('click').live('click', 
AJAX.requestHandler);",
                    "            $('form').die('submit').live('submit', 
AJAX.requestHandler);",
                    "            AJAX.cache.update();",
                    "            callback();",
                    "        }",
                    "    }",
                    "};",
                    "",
                    "/**"
                ],
                "filename": "functions.js"
            },
            {
                "func": "AJAX.responseHandler",
                "args": "",
                "line": 2505,
                "column": "null",
                "context": [
                    "                AJAX.active = false;",
                    "                AJAX.xhr = null;",
                    "                return;",
                    "            }",
                    "",
                    "            AJAX.scriptHandler.reset(function () {",
                    "                if (data._reloadNavigation) {",
                    "                    PMA_reloadNavigation();",
                    "                }",
                    "                if (data._reloadQuerywindow) {",
                    "                    var params = data._reloadQuerywindow;"
                ],
                "filename": "functions.js"
            },
            {
                "func": "jQuery.Callbacks/fire",
                "args": "",
                "line": 21,
                "column": "null",
                "context": [
                    "\t\t\tfiring = true;",
                    "\t\t\tfiringIndex = firingStart || 0;",
                    "\t\t\tfiringStart = 0;",
                    "\t\t\tfiringLength = list.length;",
                    "\t\t\tfor ( ; list && firingIndex < firingLength; 
firingIndex++ ) {",
                    "\t\t\t\tif ( list[ firingIndex ].apply( context, args ) 
=== false && flags.stop//...",
                    "\t\t\t\t\tmemory = true; // Mark as halted",
                    "\t\t\t\t\tbreak;",
                    "\t\t\t\t}",
                    "\t\t\t}",
                    "\t\t\tfiring = false;"
                ],
                "filename": "jquery/jquery.cookie.js"
            },
            {
                "func": "jQuery.Callbacks/self.fireWith",
                "args": "",
                "line": 46,
                "column": "null",
                "context": [
                    "\t\t\t\t\tif ( firing ) {",
                    "\t\t\t\t\t\tif ( !flags.once ) {",
                    "\t\t\t\t\t\t\tstack.push( [ context, args ] );",
                    "\t\t\t\t\t\t}",
                    "\t\t\t\t\t} else if ( !( flags.once && memory ) ) {",
                    "\t\t\t\t\t\tfire( context, args );",
                    "\t\t\t\t\t}",
                    "\t\t\t\t}",
                    "\t\t\t\treturn this;",
                    "\t\t\t},",
                    "\t\t\t// Call all the callbacks with the given arguments"
                ],
                "filename": "jquery/jquery.mousewheel.js"
            },
            {
                "func": "done",
                "args": "",
                "line": 389,
                "column": "null",
                "context": [
                    "\t\t\tjqXHR.status = status;",
                    "\t\t\tjqXHR.statusText = \"\" + ( nativeStatusText || 
statusText );",
                    "",
                    "\t\t\t// Success/Error",
                    "\t\t\tif ( isSuccess ) {",
                    "\t\t\t\tdeferred.resolveWith( callbackContext, [ success, 
statusText, jqXHR ] );",
                    "\t\t\t} else {",
                    "\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, 
statusText, error ] );",
                    "\t\t\t}",
                    "",
                    "\t\t\t// Status-dependent callbacks"
                ],
                "filename": "functions.js"
            },
            {
                "func": ".send/callback",
                "args": "",
                "line": 1175,
                "column": "null",
                "context": [
                    "\t\t\t\t\t\t\t}",
                    "\t\t\t\t\t\t}",
                    "",
                    "\t\t\t\t\t\t// Call complete if needed",
                    "\t\t\t\t\t\tif ( responses ) {",
                    "\t\t\t\t\t\t\tcomplete( status, statusText, responses, 
responseHeaders );",
                    "\t\t\t\t\t\t}",
                    "\t\t\t\t\t};",
                    "",
                    "\t\t\t\t\t// if we're in sync mode or it's in cache",
                    "\t\t\t\t\t// and has been retrieved directly (IE6 & IE7)"
                ],
                "filename": "functions.js"
            }
        ],
        "useragent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) 
Gecko/20100101 Firefox/27.0",
        "uri": "server_sql.php?target="
    },
    "script_name": "server_sql.php",
    "pma_version": "4.1.8deb1",
    "browser_name": "FIREFOX",
    "browser_version": "27.0",
    "user_os": "Linux",
    "server_software": "Apache/2.2.22 (Debian)",
    "user_agent_string": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) 
Gecko/20100101 Firefox/27.0",
    "locale": "en",
    "configuration_storage": "disabled",
    "php_version": "5.4.4-14+deb7u8",
    "microhistory": {
        "pages": [
            {
                "hash": "index.php?db=&table=&server=1&target=&token=<munged>"
            },
            {
                "hash": 
"chk_rel.php?db=&table=&server=1&target=&token=<munged>",
                "params": {
                    "opendb_url": "db_structure.php",
                    "safari_browser": "0",
                    "querywindow_height": "400",
                    "querywindow_width": "600",
                    "collation_connection": "utf8mb4_general_ci",
                    "lang": "en",
                    "server": "1",
                    "text_dir": "ltr",
                    "pma_text_default_tab": "Browse",
                    "pma_text_left_default_tab": "Structure",
                    "confirm": "true"
                }
            },
            {
                "hash": 
"server_databases.php?db=&table=&server=1&target=&token=<munged>",
                "params": {
                    "opendb_url": "db_structure.php",
                    "safari_browser": "0",
                    "querywindow_height": "400",
                    "querywindow_width": "600",
                    "collation_connection": "utf8mb4_general_ci",
                    "lang": "en",
                    "server": "1",
                    "text_dir": "ltr",
                    "pma_text_default_tab": "Browse",
                    "pma_text_left_default_tab": "Structure",
                    "confirm": "true"
                }
            },
            {
                "hash": 
"server_sql.php?db=&table=&server=1&target=&token=<munged>",
                "params": {
                    "opendb_url": "db_structure.php",
                    "safari_browser": "0",
                    "querywindow_height": "400",
                    "querywindow_width": "600",
                    "collation_connection": "utf8mb4_general_ci",
                    "lang": "en",
                    "server": "1",
                    "text_dir": "ltr",
                    "pma_text_default_tab": "Browse",
                    "pma_text_left_default_tab": "Structure",
                    "confirm": "true"
                }
            }
        ],
        "current_index": "4"
    }

Reply via email to