PDA

View Full Version : Create function goes to blank page - Custom Module



codemaster2008
01-20-10, 12:18 PM
Hi there;

I'm struggling to create a provisioning module to our custom control panel and hopping somebody can point me to a right direction:

We wrote some code to call our api and tested it outside whmcs (before wrap it up as a module) it works like a charm.

After that, we used the same code on the module but unfortunately it didn't work.
If we go to the admin area and click on create, update or any other funtion, it will show ablank page, same happens at the checkout (shopping cart) when the module is probably calling the "create" function. The checkout goes to a blank page.

Here is the module:
Donwload here (http://www.skylightonline.com/tempfiles/smpanel.zip)

I really appreciate any help.
Thanks in advance.

codemaster2008
01-21-10, 11:25 AM
It's working now.
Can't post the solution because I'm not the one who fixed it ;-)

codemaster2008
01-22-10, 03:46 PM
Oops, i forgot to mention it was Sparky @ tshosting.com.au who helped me. The guy knows whmcs from inside out. Thanks Sparky.