WHMCS White Screen with provisioning module
Problem reported by Gerardo Altman - August 17, 2014 at 7:37 PM
Hi Team
We have recently downloaded and installed the WHMCS provisioning module for SmarterMail (release 14th Jan 2014).
All instructions have been followed to install and configure all options as per readme.txt and "http://help.smartertools.com" WHMCS Product/Service Module.
When the module tries to provision a domain using either the "create" button or via the auto provision after a cart purchase it fails with a blank white screen.
  1. there are no errors in the error log (apache)
  2. no errors or even output from the WHMCS modules log
  3. we have display errors turned on but nothing on screen apart from blank white screen
Also the setup guide is lacking detailed information for each field in the WHMCS > setup > products/ services > package name > module settings >
it would be good to have a mouse over or additional information on each field in the setup guide (readme.txt or help.smartertools.com).
There also appears to be no option to enable ActiveSync in the module.
any help would be greatly appreciated.
Thank you

7 Replies

Reply to Thread
Employee Replied
Employee Post
Hello Gerardo,
Taking a look at this locally, I am not seeing any type of issue that you reported.  Given that is the case, I have reached out to you directly to get a better idea as to what might be taking place.
I had the same problem the 1st time round. I deleted it module and started again from scratch following the below step by step and it worked:
I think the problem I had the 1st time round was with the 'server' config. Give it another go and let me know if you having any issues. Ill go through my config again and check what I did.
We are having the same issue as well. Blank page when attempt to accept the order in WHMCS. We've been through the setup multiple times and continue to have the error. If there is a common misconfiguration error, we'd love to hear it or help find it. 
Tim Uzzanti Replied
Employee Post
Please start a ticket on this issue with support.  We are unable to duplicate the problem and it will require further evaluation.
Tim Uzzanti
Tim Uzzanti
SmarterTools Inc.
(877) 357-6278
ticket opened
Gerardo, we have a ticket open with SM on this topic and are still going back and forth with them. Do us one favor though. In WHMCS, go to setup > general settings > other. Third to last option is display errors. Check that box to display php errors and then try to submit the order again. Let us know if you see something like this:
Fatal error: Call to undefined function smartermail_toArray() in /modules/servers/smartermail/smartermail.php on line 590
Which leads to an issue with this array, for us at least and specific for the last if statement:
//    Converts JSON Data Structure from .NET Web Service to Array
function sm_toArray($obj){
    if (is_array($obj)) {
    } elseif (is_object($obj)) {
    } else {return $obj;}
    foreach ($keys as $key) {
        if (is_array($obj)) {
        } else {
    return $return;
Did this ever get figured out? I have a similar white page problem. I enabled error display in whims, and on an existing service in WHMCS on SmarterMail I get this error when accessing the client area (smartermail.php in this module does call GetDomainInfo2 which doesn't seem to be listed as an actual available method though GetDomainInfo obviously does exist.)
Fatal error: Uncaught SoapFault exception: [Function ("GetDomainInfo2") is not a valid method for this service] 0 in /home/leaverco/public_html/includes/classes/WHMCS/Terminus.php:0 Stack trace: #0 /home/leaverco/public_html/includes/classes/WHMCS/Terminus.php(0): WHMCS_Terminus::whmcsExceptionHandler() #1 [internal function]: WHMCS_Terminus->whmcsExceptionHandler(Object(SoapFault)) #2 {main} thrown in /home/leaverco/public_html/includes/classes/WHMCS/Terminus.php on line 0

Reply to Thread