Commit Graph

20 Commits

Author SHA1 Message Date
Michal Čihař
999a58609f Error is always instance of Error class
We rely on this in other places in ErrorHandler as well, there is no
reason for this place to be different.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 08:52:03 +01:00
Michal Čihař
1a4c5e4e8f Remove commented out code
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 08:51:16 +01:00
Michal Čihař
f8edf0376b This really should not happen
The configuration defaults are applied globally. In case this
does happen again, it should be properly investigated.

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-22 08:48:38 +01:00
Michal Čihař
ab6e961c34 Show user errors even if normal errors are suppressed
I'm not sure we're hitting this case somewhere, but it makes sense to
get this fixed.

Issue #13021

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 10:07:41 +01:00
Michal Čihař
a9ddb39aac Show phpMyAdmin errors even with error_reporting set to 0
Fixes #13021

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-02-20 10:04:38 +01:00
Michal Čihař
3ba11212a3 Merge branch 'QA_4_6-security' into master-security 2016-09-02 14:41:33 +02:00
Michal Čihař
bfd6a76819 Merge branch 'QA_4_6' 2016-09-02 14:39:45 +02:00
Michal Čihař
d01c078b7d Merge branch 'QA_4_6' into QA_4_6-security 2016-09-02 14:36:28 +02:00
Michal Čihař
733a5d5821 Avoid rendering BB code when showing PHP/MySQL errors
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-02 14:36:23 +02:00
Michal Čihař
eb3e3b73c3 Simplified handling of connection errors
There is no need to retrigger errors, just let the handler know to
handle them without backtrace.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-02 14:35:36 +02:00
Michal Čihař
7b3231352d Use links when talking about phpmyadmin.net
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-03 11:26:26 +02:00
Michal Čihař
6f464be7a0 Merge pull request #12319 from ibennetch/checkstyle
Fix some CodeSniffer warnings and errors
2016-06-14 09:41:32 +02:00
Isaac Bennetch
317ad3208c Fix comment typos
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-06-12 23:15:48 -04:00
Isaac Bennetch
e6db8e18ee Fix some CodeSniffer warnings and errors
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
2016-06-12 23:12:23 -04:00
Michal Čihař
66f774787f Do not fail on errors stored in session
If there is user error stored in session, it would be treated as session
startup error, what is wrong.

Fixes #12229

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 17:15:23 +02:00
Michal Čihař
d88faaf42b Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 15:25:22 +02:00
Michal Čihař
951f1fed5f Add method to slice errors from the handler
This can be useful to pop n-last errors.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-18 13:32:52 +02:00
Michal Čihař
56c1ca0803 Add missing use
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-17 11:51:19 +01:00
Marc Delisle
ae2106f6bf Merge branch 'QA_4_5' 2015-11-19 11:27:23 -05:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00