2
WHMCS White Screen with provisioning module
Problem reported by Gerardo Altman - August 17, 2014 at 7:37 PM
Submitted
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
Gerardo.

7 Replies

Reply to Thread
1
Employee Replied
August 18, 2014 at 3:53 PM
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.
 
Thanks
1
Nicolas Le Merle Replied
August 25, 2014 at 5:56 AM
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.

Also see: http://forums.smartertools.com/threads/whmcs-provisioning-module-for-smartermail.40942/
 
Cheers,
Nic
0
Robbie Wright Replied
September 2, 2014 at 9:49 PM
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. 
0
Tim Uzzanti Replied
September 5, 2014 at 9:29 AM
Employee Post
Please start a ticket on this issue with support.  We are unable to duplicate the problem and it will require further evaluation.
 
Thanks,
 
Tim Uzzanti
Tim Uzzanti
CEO
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
0
Robbie Wright Replied
September 5, 2014 at 2:28 PM
ticket opened
0
Robbie Wright Replied
September 30, 2014 at 8:51 AM
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){
    $return=array();
    if (is_array($obj)) {
        $keys=array_keys($obj);
    } elseif (is_object($obj)) {
        $keys=array_keys(get_object_vars($obj));
    } else {return $obj;}
    foreach ($keys as $key) {
        $value=$obj->$key;
        if (is_array($obj)) {
            $return[$key]=smartermail_toArray($obj[$key]);
        } else {
            $return[$key]=smartermail_toArray($obj->$key);
        }
    }
    return $return;
}
?>
0
W. Troy Leaver Replied
June 22, 2015 at 9:53 AM
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