Robbieg Posted July 8, 2009 Share Posted July 8, 2009 Hey all, I'm developing a module for WHMCS, and would like to know how to display error message's as the other Modules do. At the present time i use a die statement in the php code, but would like the page to continue to load, but stop doing the actions and display the error message as it does in other server modules. can anyone provide the code? 0 Quote Link to comment Share on other sites More sharing options...
aibi Posted May 12, 2010 Share Posted May 12, 2010 Hm.. I'd like to refresh this topic. In ModuleDevKit sample code it's desired to be working as returning custom string message on error or "success" if everything went correct. But in recent version of WHMC (4.2.1) it doesn't seem to be working. So how can I throw errors and interrupt module action in custom server module 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.