创建表时出现PhpMyAdmin MySql致命javascript错误
这是我在尝试向数据库添加新表后报告的错误。尝试了多个联盟和数据库。我直接从phpmyadmin插入来做一些初始测试 不确定“对象不是函数”指的是什么,web并没有太大帮助创建表时出现PhpMyAdmin MySql致命javascript错误,phpmyadmin,Phpmyadmin,这是我在尝试向数据库添加新表后报告的错误。尝试了多个联盟和数据库。我直接从phpmyadmin插入来做一些初始测试 不确定“对象不是函数”指的是什么,web并没有太大帮助 { "pma_version": "4.4.12", "browser_name": "CHROME", "browser_version": "44.0.2403.125", "user_os": "Win", "server_software": "Apache/2.4.12 (Win32) OpenSSL/1.0.1m
{
"pma_version": "4.4.12",
"browser_name": "CHROME",
"browser_version": "44.0.2403.125",
"user_os": "Win",
"server_software": "Apache/2.4.12 (Win32) OpenSSL/1.0.1m PHP/5.6.11",
"user_agent_string": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36",
"locale": "en",
"configuration_storage": "enabled",
"php_version": "5.6.11",
"exception_type": "js",
"exception": {
"mode": "stack",
"name": "TypeError",
"message": "object is not a function",
"stack": [
{
"func": "Object.PMA_checkReservedWordColumns.$.ajax.success",
"line": 2222,
"column": "44",
"context": [
" type: 'POST',",
" url: \"tbl_structure.php\",",
" data: $form.serialize() + '&reserved_word_check=1',",
" success: function (data) {",
" if (typeof data.success != 'undefined' && data.success === true) {",
" is_confirmed = confirm(data.message);",
" }",
" },",
" async:false",
" });",
" return is_confirmed;"
],
"filename": "functions.js"
},
{
"func": "j",
"line": 2,
"column": "27244",
"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.k.fireWith [as resolveWith]",
"line": 2,
"column": "28057",
"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": "x",
"line": 4,
"column": "21843",
"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() {",
"/*",
" * Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io)"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "b",
"line": 4,
"column": "25897",
"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() {",
"/*",
" * Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io)"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "Object.send",
"line": 4,
"column": "26001",
"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() {",
"/*",
" * Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io)"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "Function.m.extend.ajax",
"line": 4,
"column": "21302",
"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() {",
"/*",
" * Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io)"
],
"filename": "jquery/jquery-1.11.1.min.js"
},
{
"func": "PMA_checkReservedWordColumns",
"line": 2216,
"column": "7",
"context": [
" * @returns true|false",
" */",
"",
"function PMA_checkReservedWordColumns($form) {",
" var is_confirmed = true;",
" $.ajax({",
" type: 'POST',",
" url: \"tbl_structure.php\",",
" data: $form.serialize() + '&reserved_word_check=1',",
" success: function (data) {",
" if (typeof data.success != 'undefined' && data.success === true) {"
],
"filename": "functions.js"
},
{
"func": "new_func",
"line": 279,
"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": "HTMLFormElement.<anonymous>",
"line": 2646,
"column": "17",
"context": [
" * is actually an array of DOM elements)",
" */",
"",
" if (checkTableEditForm($form[0], $form.find('input[name=orig_num_fi//...",
" PMA_prepareForAjaxRequest($form);",
" if (PMA_checkReservedWordColumns($form)) {",
" PMA_ajaxShowMessage(PMA_messages.strProcessingRequest);",
" //User wants to submit the form",
" $.post($form.attr('action'), $form.serialize() + \"&do_save_//...",
" if (typeof data !== 'undefined' && data.success === true) {",
" $('#properties_message')"
],
"filename": "functions.js"
}
],
"useragent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36",
"uri": "tbl_create.php?target="
},
"script_name": "tbl_create.php",
"microhistory": {
"pages": [
{
"hash": "tbl_addfield.php?db=nexter&table=test&server=1&target=&token=5a28badfae6602574cc0a6bc0fb21448",
"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=nexter&table=&server=1&target=&token=5a28badfae6602574cc0a6bc0fb21448",
"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=nexter_primary&table=&server=1&target=&token=5a28badfae6602574cc0a6bc0fb21448",
"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=nexter_primary&table=primary&server=1&target=&token=5a28badfae6602574cc0a6bc0fb21448",
"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": "4"
}
{
“pma_版本”:“4.4.12”,
“浏览器名称”:“CHROME”,
“浏览器版本”:“44.0.2403.125”,
“用户操作系统”:“赢”,
“服务器软件”:“Apache/2.4.12(Win32)OpenSSL/1.0.1m PHP/5.6.11”,
“用户代理字符串”:“Mozilla/5.0(Windows NT 6.1;WOW64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/44.0.2403.125 Safari/537.36”,
“locale”:“en”,
“配置存储”:“已启用”,
“php_版本”:“5.6.11”,
“异常类型”:“js”,
“例外情况”:{
“模式”:“堆栈”,
“名称”:“类型错误”,
“消息”:“对象不是函数”,
“堆栈”:[
{
“func”:“Object.PMA\u checkReservedWordColumns.$.ajax.success”,
“行”:2222,
“列”:“44”,
“背景”:[
“类型:'邮政',”,
“url:\“tbl\u structure.php\”,“,
“数据:$form.serialize()+'&保留字检查=1',”,
“成功:函数(数据){”,
“如果(type of data.success!='undefined'&&data.success===true){”,
“is_confirm=确认(data.message);”,
" }",
" },",
“async:false”,
" });",
“返回已确认;”
],
“文件名”:“functions.js”
},
{
“func”:“j”,
"线":2,,
“列”:“27244”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",
"",
“函数sprintf(){”
],
“文件名”:“jquery/jquery-1.11.1.min.js”
},
{
“func”:“Object.k.fireWith[as resolveWith]”,
"线":2,,
“列”:“28057”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",
"",
“函数sprintf(){”
],
“文件名”:“jquery/jquery-1.11.1.min.js”
},
{
“func”:“x”,
"行":4,,
“列”:“21843”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",
"",
“函数sprintf(){”,
"/*",
“*版权所有(c)2013凯文·范·佐内维尔德(http://kvz.io)"
],
“文件名”:“jquery/jquery-1.11.1.min.js”
},
{
“func”:“b”,
"行":4,,
“列”:“25897”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",
"",
“函数sprintf(){”,
"/*",
“*版权所有(c)2013凯文·范·佐内维尔德(http://kvz.io)"
],
“文件名”:“jquery/jquery-1.11.1.min.js”
},
{
“func”:“Object.send”,
"行":4,,
“列”:“26001”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",
"",
“函数sprintf(){”,
"/*",
“*版权所有(c)2013凯文·范·佐内维尔德(http://kvz.io)"
],
“文件名”:“jquery/jquery-1.11.1.min.js”
},
{
“func”:“Function.m.extend.ajax”,
"行":4,,
“列”:“21302”,
“背景”:[
“/*!jQuery V1.11 1(c)2005, 2014 jQuery基金会,公司jQuery .org/LI/……”
“!函数(a,b){\'object\'==模块类型&&\'object\'==模块类型。导出?mod/…”,
“如果(k&&j[k]&(e|j[k].data)| void 0!==d||| \“string\”!=typeof b)返回k |(k=i?a/…”,
“},cur:function(){var a=Zb.propHooks[this.prop];返回a&&a.get?a.get(this):/…”,
";",