phpmyadmin / error-reporting-server

phpMyAdmin server side component for the error reporting system
MIT License
19 stars 28 forks source link

Error when auto-reporting error #185

Closed OlafvdSpek closed 3 years ago

OlafvdSpek commented 4 years ago

https://demo.phpmyadmin.net/master-config/index.php?route=/table/relation&db=sakila&table=inventory&goto=index.php%3Froute%3D%2Ftable%2Fstructure&back=index.php%3Froute%3D%2Ftable%2Fstructure

Report was created but couldn't be send. Please report manually.

pma

OlafvdSpek commented 4 years ago

If this happens and auto-reporting is enabled, you can no longer see the actual error..

williamdes commented 4 years ago
{
  "pma_version": "5.0.0-rc1",
  "browser_name": "CHROME",
  "browser_version": "78.0.3904.108",
  "user_os": "Linux",
  "server_software": "nginx/1.17.6",
  "user_agent_string": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36",
  "locale": "fr",
  "configuration_storage": "enabled",
  "php_version": "7.3.11-0ubuntu0.19.10.1",
  "exception_type": "php",
  "errors": [
    {
      "lineNum": 203,
      "file": "./libraries/classes/Controllers/Table/RelationController.php",
      "type": "Notice",
      "msg": "Undefined index: foreign_keys_data",
      "stackTrace": [
        {
          "file": "./tbl_relation.php",
          "line": 90,
          "function": "indexAction",
          "class": "PhpMyAdmin\\Controllers\\Table\\RelationController",
          "type": "->"
        }
      ],
      "stackhash": "0852e12290fe15e3a0fa4460da75cccb"
    }
  ]
}
{
    "success": false,
    "message": "There was a problem with your submission."
}

https://github.com/phpmyadmin/error-reporting-server/blob/490d3642c0e0c85a514016b3f470fe79738578f1/src/Controller/IncidentsController.php#L57

victorphoenix3 commented 4 years ago

@williamdes could you please explain the issue in detail?

williamdes commented 4 years ago

@victorphoenix3 this issue is on our back-end https://github.com/phpmyadmin/error-reporting-server

williamdes commented 3 years ago

On my workstation it now works fine. Will confirm that when the server deploys my code.

williamdes commented 3 years ago
{
    "success": true,
    "message": "Thank you for your submission",
    "incident_id": [
        16489989
    ]
}