Blesta Addons Posted September 25, 2016 Report Posted September 25, 2016 Hello , in v3 , the trace error show a complete trace , as v4 , it only show the error message ... i have set System.debug to true in blesta.php conf, but no trace error is shown ,is there any option that i need to activate to see the full trace message ? Quote
Michael Posted September 25, 2016 Report Posted September 25, 2016 On 9/25/2016 at 12:06 PM, naja7host said: Hello , in v3 , the trace error show a complete trace , as v4 , it only show the error message ... i have set System.debug to true in blesta.php conf, but no trace error is shown ,is there any option that i need to activate to see the full trace message ? Expand blesta.php: Configure::errorReporting(-1); // Override minPHP's debugging setting. true to enable debugging, false to disable it Configure::set("System.debug", true); Quote
Blesta Addons Posted September 25, 2016 Author Report Posted September 25, 2016 On 9/25/2016 at 12:18 PM, Licensecart said: blesta.php: Configure::errorReporting(-1); // Override minPHP's debugging setting. true to enable debugging, false to disable it Configure::set("System.debug", true); Expand already done, but not the full trace error shown as v3 . Quote
Michael Posted September 25, 2016 Report Posted September 25, 2016 Ah sugar I'm missing something then, I know they turned off the stack rack become a "white hacker" claimed it was insecure. Quote
Blesta Addons Posted September 25, 2016 Author Report Posted September 25, 2016 On 9/25/2016 at 12:22 PM, Licensecart said: Ah sugar I'm missing something then, I know they turned off the stack rack become a "white hacker" claimed it was insecure. Expand We have already talked about this subject , and i have requested to allow only admins to view the errors . in admin side there is no problem to show the complete trace errors . it is very helpful for developers . also i'm asking why not to use kint or tracy as built in error debugger , they are superb class for debugging , using kint a time and is totally crazy package Quote
Michael Posted September 25, 2016 Report Posted September 25, 2016 On 9/25/2016 at 3:40 PM, naja7host said: We have already talked about this subject , and i have requested to allow only admins to view the errors . in admin side there is no problem to show the complete trace errors . it is very helpful for developers . also i'm asking why not to use kint or tracy as built in error debugger , they are superb class for debugging , using kint a time and is totally crazy package Expand I agree with the admin only feature request you did before but maybe we can go a step further maybe in the configs the guys could allow us to enable it and also who can see so Admin or Public, so if you can't log in you can switch to public Quote
Blesta Addons Posted September 25, 2016 Author Report Posted September 25, 2016 i have write a plugin for debugging , the plugin is designed to use tracy or kint debugging tool (more in next version) . a sample screenshoot when error is detected i will publish it to github when i get time . Michael, Paul and Abdy 3 Quote
Blesta Addons Posted September 25, 2016 Author Report Posted September 25, 2016 What wonderful this Tracy Class ... i can't be patient, i will release the plugin tonight to share it with other devs . really it's a must have plugin for blesta developers now . Quote
Blesta Addons Posted September 25, 2016 Author Report Posted September 25, 2016 The Real debugger for blesta has born Michael 1 Quote
Tyson Posted September 26, 2016 Report Posted September 26, 2016 minphp v1.0 no longer supports debug mode, which is why you receive no stack trace. Michael 1 Quote
Michael Posted September 26, 2016 Report Posted September 26, 2016 On 9/26/2016 at 4:45 PM, Tyson said: minphp v1.0 no longer supports debug mode, which is why you receive no stack trace. Expand Awww why not? Quote
Tyson Posted September 26, 2016 Report Posted September 26, 2016 You'd have to ask @Cody that. Michael 1 Quote
Michael Posted September 26, 2016 Report Posted September 26, 2016 On 9/26/2016 at 4:52 PM, Tyson said: You'd have to ask @Cody that. Expand hehe can I drag him away from the other place? Quote
Paul Posted September 26, 2016 Report Posted September 26, 2016 I was a little surprised to find that this was missing from minPHP as well. Great solution @naja7host We will have to implement something natively sooner or later, will take a look at Tracy. Looking forward to the Github link when it's up, nice work. Blesta Addons and Michael 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.