Add script that will report all the errors of current-script-run. This script is intended to be used same as common.inc.php, but at the end of each script.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Include error reporitng script at the end of index.php. Corrosponding error local & temporary log file.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add standard pma code for the library files. Add comments explaining file usage.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add another parameter to existing js error reporting code.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Report errors based on user preference. All the cases taken care of.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Add appropriate msgs & js functions to handle user actions.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Fix Syntax errors.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Make "Ignore All" button work on login page.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Remove unnecessary file.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Send only(without HTML) error message string.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Send only backtrace (not displayBacktrace). Change getBacktrace to return first 'X' frames. Send stackhash too.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Fix failing existing PHPUnit tests.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Remove unnecessary code. A deliberate error & local error-reporting-server URL.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Improve Error Message.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Include error reporting script at the end of all the 'relevant' scripts.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Stop false alarms (displaying prompts-reporting form and reporting for 'false' (user warnings) errors).

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Move error reporting code to a separate function 'PMA_Error_Handler::reportError()'. Hook it in 'PMA_Footer::getErrorMessages()'.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Remove included 'common_error_reporting.php' script and its inclusion from all the scripts.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Make automatic php error report submission ('sendErrorReport'='always') aysnchronous. Stop infinite auto error reporting loop.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>
Display appropriate msg while automatically submitting php error report.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>