Jump to content

Debugging Modules


butterkitty

Recommended Posts

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 by butterkitty
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated