We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

I need more debugging!

Development and Programming

Arrae Developer's avatar
Arrae Developer
27 posts
14 years ago
Arrae Developer's avatar Arrae Developer

I’ve been wrestling with ExpressionEngine the whole week with a custom module I’m having to build for a client. The biggest frustration I’ve had is that EE seems to override my default environment in so many places, that I can’t get all my errors output (this project is already frustrating enough given that I have to interface with FileMaker).

Can someone tell me how to turn off or extend error reporting in EE? I’ve already enabled every preference and config I can find, and the warning messages will be output, but for everything else I just get a 324 error when I should be getting messages from PHP… For the record I can test and produce the same intentional error outside of EE and get all my error messages, so It’s just some kind of ini override somewhere I imagine..

       
ahmad saad's avatar
ahmad saad
364 posts
14 years ago
ahmad saad's avatar ahmad saad

I think if you change the

debug=0 to debug=1 in your

index.php and /system/index.php files

you get what you want

       
Arrae Developer's avatar
Arrae Developer
27 posts
14 years ago
Arrae Developer's avatar Arrae Developer

I tried the debug=1 in both the index as well as the control panel, but thanks!

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
14 years ago
Shane Eckert's avatar Shane Eckert

Hello Clay,

I am sorry to hear you are running into this snag with debugging.

You mentioned that you have enabled every preference and config. Does that include debugging in the Control Panel?

To turn debugging on please go to your Control Panel and navigate to Admin->System Administration-> Output and Debugging. Please set the last two settings, which are “Display Output Profiler?” and “Display Template Debugging?”, to yes.

Aside from the config file changes and the one I just mentioned, I am not sure there is any more you can do.

Let me know if you have already tried the method I mentioned above and if that is not enough, I can ask a Dev if there is anything else you can do.

Cheers,

       
Arrae Developer's avatar
Arrae Developer
27 posts
14 years ago
Arrae Developer's avatar Arrae Developer

Hey Shane,

I did enable the output and debugging in the admin, I’ve formed a hack solution of sorts using var_export() and error_log() but I would love some developer feedback to see what core EE devs use to do stack traces and output errors when doing heavy dev. I’m newer to EE and CodeIgnitor, but I’ve done a lot in the past with Kohana and Zend so debugging is no stranger to me.. as long as I can see messages 😉

Thanks!

       
Shane Eckert's avatar
Shane Eckert
7,174 posts
about 14 years ago
Shane Eckert's avatar Shane Eckert

Hi Clay,

Sounds good. I will move this over to the Development and Programming forum.

Cheers,

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.