step to reprocedure:
1 - enter root phpmyadmin url - authentication "config" - root user
2 - From left panel, choose a DB, click new to create new table
3 - In table creation form: enter 2 columns
first - named id (or whatever) type int, choose primary - confirm the modal popup, then check the AI checkbox (auto_inc)
second - named name (or whatever), type int
4 - Save - got fatal error
In that stage, we can not browse any link, table, server, DB. We have to reload page to continue using phpmyadmin
detail of js error:
<<
{
"pma_version": "4.4.2",
"browser_name": "CHROME",
"browser_version": "41.0.2272.76",
"user_os": "Mac",
"server_software": "Apache/2.4.10 (Unix) PHP/5.5.20",
"user_agent_string": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36",
"locale": "en",
"configuration_storage": "disabled",
"php_version": "5.5.20",
"exception_type": "js",
"exception": {
"mode": "stack",
"name": "TypeError",
"message": "undefined is not a function",
"stack": [
{
"line": 235,
"func": "",
"context": [
" lastException = null;",
" notifyHandlers.apply(null, [stack, null].concat(args));",
" }",
" }, (stack.incomplete ? 2000 : 0));",
"",
" throw ex; // re-throw to propagate to the top level (and cause wind//...",
" }",
"",
" report.subscribe = subscribe;",
" report.unsubscribe = unsubscribe;",
" return report;"
],
"filename": "tracekit/tracekit.js"
},
{
"func": "HTMLDocument.<anonymous>",
"line": 98,
"column": "38",
"context": [
"",
"/",
" * Unbind all event handlers before tearing down a page",
" /",
"AJAX.registerTeardown('tbl_structure.js', function () {",
" $(\"a.change_column_anchor.ajax\").die('click');",
" $(\"button.change_columns_anchor.ajax, input.change_columns_anchor.ajax\"//...",
" $(\"a.drop_column_anchor.ajax\").die('click');",
" $(\"a.add_primary_key_anchor.ajax\").die('click');",
" $(\"a.add_index_anchor.ajax\").die('click');",
" $(\"a.add_unique_anchor.ajax\").die('click');"
],
"filename": "tbl_structure.js"
},
{
"func": "HTMLDocument.new_func",
"line": 277,
"column": "33",
"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": "error_report.js"
},
{
"func": "HTMLDocument.m.event.dispatch",
"line": 3,
"column": "8436",
"context": [
"/! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/li//...",
"!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?mod//...",
"if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a//...",
"},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this)://...",
";",
"",
"function sprintf() {",
"/"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "HTMLDocument.$event.dispatch",
"line": 374,
"column": "19",
"context": [
"$event.dispatch = function( event ){",
"\tif ( $.data( this, \"suppress.\"+ event.type ) - new Date().getTime() > 0 ){",
"\t\t$.removeData( this, \"suppress.\"+ event.type );",
"\t\treturn;",
"\t}",
"\treturn $dispatch.apply( this, arguments );",
"};",
"",
"// event fix hooks for touch events...",
"var touchHooks = ",
"$event.fixHooks.touchstart = "
],
"filename": "jquery/jquery.event.drag-2.2.js"
},
{
"func": "HTMLDocument.r.handle",
"line": 3,
"column": "5146",
"context": [
"/! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/li//...",
"!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?mod//...",
"if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a//...",
"},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this)://...",
";",
"",
"function sprintf() {",
"/"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "Object.m.event.trigger",
"line": 3,
"column": "7537",
"context": [
"/! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/li//...",
"!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?mod//...",
"if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a//...",
"},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this)://...",
";",
"",
"function sprintf() {",
"/"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "m.fn.extend.triggerHandler",
"line": 3,
"column": "15485",
"context": [
"/! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/li//...",
"!function(a,b){\"object\"==typeof module&&\"object\"==typeof module.exports?mod//...",
"if(k&&j[k]&&(e||j[k].data)||void 0!==d||\"string\"!=typeof b)return k||(k=i?a//...",
"},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this)://...",
";",
"",
"function sprintf() {",
"/"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "Object.AJAX.fireTeardown",
"line": 127,
"column": "21",
"context": [
" ",
" * @return void",
" /",
" fireTeardown: function (file) {",
" var eventName = 'teardown_' + AJAX.hash(file);",
" $(document).triggerHandler(eventName);",
" if (this._debug) {",
" console.log(",
" // no need to translate",
" \"Fired event \" + eventName + \" for file \" + file",
" );"
],
"filename": "ajax.js"
},
{
"func": "Object.AJAX.scriptHandler.reset",
"line": 576,
"column": "22",
"context": [
" ",
" * @return void",
" /",
" reset: function (callback) {",
" for (var i in this._scriptsToBeFired) {",
" AJAX.fireTeardown(this._scriptsToBeFired[i]);",
" }",
" this._scriptsToBeFired = [];",
" /",
" * Re-attach a generic event handler to clicks",
" * on pages and submissions of forms"
],
"filename": "ajax.js"
},
{
"func": "Object.AJAX.responseHandler [as success]",
"line": 318,
"column": "32",
"context": [
" AJAX.active = false;",
" AJAX.xhr = null;",
" return;",
" }",
"",
" AJAX.scriptHandler.reset(function () {",
" if (data._reloadNavigation) {",
" PMA_reloadNavigation();",
" }",
" if (data._title) {",
" $('title').replaceWith(data._title);"
],
"filename": "ajax.js"
}
],
"useragent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36",
"incomplete": "false",
"partial": "true",
"uri": "tbl_structure.php?target="
},
"script_name": "tbl_structure.php",
"microhistory": {
"pages": [
{
"hash": "index.php?db=&table=&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926"
},
{
"hash": "db_structure.php?db=webqc&table=&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"collation_connection": "utf8mb4_unicode_ci",
"lang": "en",
"server": "1",
"text_dir": "ltr",
"show_databases_navigation_as_tree": "true",
"pma_text_default_tab": "Browse",
"pma_text_left_default_tab": "Structure",
"pma_text_left_default_tab2": "false",
"LimitChars": "50",
"pftext": "P",
"confirm": "true",
"LoginCookieValidity": "1440",
"logged_in": "true",
"auth_type": "config"
}
},
{
"hash": "index.php?db=&table=&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"collation_connection": "utf8mb4_unicode_ci",
"lang": "en",
"server": "1",
"text_dir": "ltr",
"show_databases_navigation_as_tree": "true",
"pma_text_default_tab": "Browse",
"pma_text_left_default_tab": "Structure",
"pma_text_left_default_tab2": "false",
"LimitChars": "50",
"pftext": "P",
"confirm": "true",
"LoginCookieValidity": "1440",
"logged_in": "true",
"auth_type": "config"
}
},
{
"hash": "tbl_create.php?db=webqc&table=&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"collation_connection": "utf8mb4_unicode_ci",
"lang": "en",
"server": "1",
"text_dir": "ltr",
"show_databases_navigation_as_tree": "true",
"pma_text_default_tab": "Browse",
"pma_text_left_default_tab": "Structure",
"pma_text_left_default_tab2": "false",
"LimitChars": "50",
"pftext": "P",
"confirm": "true",
"LoginCookieValidity": "1440",
"logged_in": "true",
"auth_type": "config"
}
},
{
"hash": "db_structure.php?db=webqc&table=&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"collation_connection": "utf8mb4_unicode_ci",
"lang": "en",
"server": "1",
"text_dir": "ltr",
"show_databases_navigation_as_tree": "true",
"pma_text_default_tab": "Browse",
"pma_text_left_default_tab": "Structure",
"pma_text_left_default_tab2": "false",
"LimitChars": "50",
"pftext": "P",
"confirm": "true",
"LoginCookieValidity": "1440",
"logged_in": "true",
"auth_type": "config"
}
},
{
"hash": "tbl_structure.php?db=webqc&table=test&server=1&target=&token=0842f19c37dc9a320fc6b7caacb88926",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"collation_connection": "utf8mb4_unicode_ci",
"lang": "en",
"server": "1",
"text_dir": "ltr",
"show_databases_navigation_as_tree": "true",
"pma_text_default_tab": "Browse",
"pma_text_left_default_tab": "Structure",
"pma_text_left_default_tab2": "false",
"LimitChars": "50",
"pftext": "P",
"confirm": "true",
"LoginCookieValidity": "1440",
"logged_in": "true",
"auth_type": "config"
}
}
],
"current_index": "6"
}
}</anonymous>
Hi,
I can not reprocedure on your test server, I noticed it's beta/development
version, differ from my local version.
It's a good news if the error has been fixed in development version.
Cuong Nguyen (Mr.)
Last edit: Marc Delisle 2015-04-16
I was not able to reproduce the issue locally. Are you able to reproduce the bug on out demo server (http://demo.phpmyadmin.net/QA_4_4/) ?