butterkitty Posted February 18, 2009 Share Posted February 18, 2009 (edited) Is there any way I can get debug information from a module. There's a problem with a module I'm working on, but i can't figure out exactly what. How can I debug it. And don't tell me to post my script because I don't want you to fix it, I want to fix it. There has to be some kind of log or something. I've checked the httpd and php logs without any problem listed. Edit: Thinking about this a little more and i think i will probably have to code the logging for myself. If there is an easier way, please post it here. Edited February 18, 2009 by butterkitty 0 Quote Link to comment Share on other sites More sharing options...
Matt Wade Posted February 18, 2009 Share Posted February 18, 2009 You are correct with your Edit. You need to code the logging in a custom module. 0 Quote Link to comment Share on other sites More sharing options...
butterkitty Posted February 18, 2009 Author Share Posted February 18, 2009 I find out now that i'm having a problem with the create account function not being run when the product is bought. function nEoSC_CreateAccount($params) { die("blah"); } When i buy a product it goes through like nothing is wrong. my module name is nEoSC ... function nEoSC_ConfigOptions() { works 0 Quote Link to comment Share on other sites More sharing options...
Matt Wade Posted February 18, 2009 Share Posted February 18, 2009 Do you have WHMCS set up to automatically create accounts? Is it possible that it is listed as a pending order and you have it set to not create accounts on pending orders? 0 Quote Link to comment Share on other sites More sharing options...
butterkitty Posted February 19, 2009 Author Share Posted February 19, 2009 Apparently I had made a syntax error in the module. Fixed and the writing to a log file from the module is working perfectly. Thanks for your help. 0 Quote Link to comment Share on other sites More sharing options...
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.