Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"A fatal JavaScript error has occurred. Would you like to send an error report?" on phpmyadmin

Tags:

phpmyadmin

I upgraded phpMyAdmin to latest version some days ago following a tutorial from a site (deleting and replacing all the content of phpMyAdmin folder in Xampp and replacing with latest one and placing old config.inc.php again). After upgrading, I frequently get the error message and error code.

         {
"exception": {
    "mode": "onerror",
    "message": "Uncaught ReferenceError: makeProfilingChart is not defined",
    "stack": [
        {
            "line": "1",
            "func": "?",
            "uri": "sql.php?target=",
            "scriptname": "sql.php"
        }
    ],
    "useragent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36",
    "uri": "sql.php?target="
},
"script_name": "sql.php",
"pma_version": "4.1.7",
"browser_name": "CHROME",
"browser_version": "32.0.1700.107",
"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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36",
"locale": "en",
"configuration_storage": "enabled",
"php_version": "5.5.6",
"microhistory": {
    "pages": [
        {
            "hash": "index.php?db=&table=&server=1&target=&token=9e78f35e781e58d1a3a46f930985af27"
        },
        {
            "hash": "db_structure.php?db=widget_crop&table=&server=1&target=&token=9e78f35e781e58d1a3a46f930985af27",
            "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": "sql.php?db=widget_crop&table=users&server=1&target=&token=9e78f35e781e58d1a3a46f930985af27",
            "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": "3"
}
}

I can't revert back to the old version since I already deleted it, the error cause no response to mouse click and I stuck in it.

like image 267
Yashasvi Raj Pant Avatar asked Dec 01 '22 19:12

Yashasvi Raj Pant


2 Answers

I also have an error message ("A fatal JavaScript error has occurred. Would you like to send an error report?") in Chrome browser. I try 'localhost/phpmyadmin' in Internet Explorer, it work well. So I disable PageXray extension in Chrome browser. It's work well with Chrome browser. Good luck.

like image 151
Hein Htet Avatar answered Dec 11 '22 12:12

Hein Htet


This problem is with Chrome browser when certain extensions are installed. For my case it was PageXray. Disabled the PageXray extension and phpmyadmin works fine and loads faster too.

like image 33
spideringweb Avatar answered Dec 11 '22 12:12

spideringweb