#4183 A fatal JavaScript error has occurred

4.1.0
fixed
nobody
None
5
2015-02-22
2013-12-14
dennis1993
No

Helley guys,

if I delete an Index in structes overview, I see an error:
"A fatal JavaScript error has occurred. Would you like to send an error report?"
If I click on "Show report details" I can see the following report:
{
"exception": {
"mode": "onerror",
"message": "TypeError: url is undefined",
"stack":
{
"line": 154,
"func": "refreshMain",
"context": [
" * @return void",
" */",
" refreshMain: function (url, callback) {",
" if (! url) {",
" url = $('#selflink a').attr('href');",
" url = url.substring(0, url.indexOf('?'));",
" }",
" url += PMA_commonParams.getUrlQuery();",
" $('', {href: url})",
" .appendTo('body')",
" .click()"


,
"filename": "common.js"
}
],
"useragent": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0",
"uri": "tbl_structure.php?target="
},
"script_name": "tbl_structure.php",
"pma_version": "4.1.0",
"browser_name": "FIREFOX",
"browser_version": "26.0",
"user_os": "Win",
"server_software": "Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.6",
"user_agent_string": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0",
"locale": "de",
"configuration_storage": "enabled",
"php_version": "5.5.6",
"microhistory": {
"pages":
{
"hash": "db_structure.php?db=wcf&table=&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "sql.php?db=wcf&table=wbb1_board_last_post&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "tbl_structure.php?db=wcf&table=wbb1_board_last_post&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "sql.php?db=wcf&table=wcf1_user&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "tbl_structure.php?db=wcf&table=wcf1_user&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
},
{
"hash": "tbl_relation.php?db=wcf&table=wcf1_user&server=1&target=&token=e8ad63251b99a360bee8408e4c61737a",
"params": {
"opendb_url": "db_structure.php",
"safari_browser": "0",
"querywindow_height": "400",
"querywindow_width": "600",
"collation_connection": "utf8mb4_general_ci",
"lang": "de",
"server": "1",
"text_dir": "ltr",
"pma_text_default_tab": "Anzeigen",
"pma_text_left_default_tab": "Struktur",
"confirm": "true"
}
}


,
"current_index": "6"
}
}

Now: If I click in the modal window on "Fehlerbericht senden", the next error is occurred.

The message is: "Danke für die Übermittlung dieses Berichts. Die Übertragung ist fehlgeschlagen. Wenn Sie einen Fehler entdecken, senden Sie bitte einen manuellen Fehlerbericht.
Bitte aktualisieren Sie die Seite."

I hope you can understand it.

Thanks!

Discussion

  • dennis1993

    dennis1993 - 2013-12-20

    In 4.1.1 I can't reproduce it. Maybe it is fixed?!

    Thanks! :)

     
  • Marc Delisle

    Marc Delisle - 2013-12-20
    • status: open --> fixed