anothercreativename Posted March 5, 2012 Share Posted March 5, 2012 I am using WHMCS and cPanel. When I set WHMCS up to create a new cPanel account after an order is made, the screen turns white right after the "complete order" button is clicked, on the product purchase screen of my site. If I turn off the cPanel account set up in WHMCS than the checkout process will complete and not show the white screen. Does anyone have any idea why this might be happening? I am running a VPS with WHMCS and cPanel/WHM. 0 Quote Link to comment Share on other sites More sharing options...
altomarketing Posted March 5, 2012 Share Posted March 5, 2012 enable debugging and see error on screen and in error.log files. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 5, 2012 Author Share Posted March 5, 2012 Ok, there was no error on the screen but could you tell me where the error.log file is located? 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 5, 2012 Author Share Posted March 5, 2012 Ok, I found the error log and this is what it says: [05-Mar-2012 22:24:45] PHP Warning: HTTP Error:52/Empty reply from server at http://www.site.com/billing/cart.php?a=checkout&systpl=portal[/url] in /home/site/public_html/site/wp-content/plugins/whmcs-bridge/includes/http.class.php on line 213 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 5, 2012 Share Posted March 5, 2012 Do you have folder permissions set correctly or possibly a full url not correct, not familiar with that wp module you are using. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 5, 2012 Author Share Posted March 5, 2012 The permission are just fine. After I click the complete order button, a directory for the user is created and a cpanel account is set up. The URL is also correct. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 Does the blank page occur at all on the client side, when creating an account or provisioning a site with cPanel? or its just on the admin side when manually provisioning a package? fyi I dont think that error you showed has anything to do with black pages resulting from creating cPanel accounts. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 The white page is only on the client side, during the registration process. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 Do you have folder permissions set correctly Just to double check, is templates_c writable 7/5/5 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 Just to double check, is templates_c writable 7/5/5 Yeah, it's actually set to 777. I disabled the WHMCS bridge plugin and just tried with the normal WHMCS installation but the domain check would just get stuck. I am not sure if that info helps or not... 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 bummer, have you changed anything at all with your connfig file. I say give it another shot with WHMCS-Bridge disabled > in the configuration file > $display_errors = true; and see what you get without any other added modules on. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 No, I sure haven't changed anything. I added $display_errors = true; but didn't get any errors. The cPanel module is the only module I have turned on. It's just strange because, functionally speaking, everything works great. The account is created, the cPanel account is created, and the confirmation email is sent. There is just that white screen right after the user clicks the complete order button. When the cPanel module is turned off, the order process will finish without a problem but of course the cPanel account is not set up. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 There is just that white screen right after the user clicks the complete order button. When the cPanel module is turned off, the order process will finish without a problem but of course the cPanel account is not set up. So where in the process are you "completing" the order that it starts auto provisioning. Do you have the product/service set to provision on order creation or to set up after an invoice is paid. Do you have at least one payment option setup. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 Ok, the auto provisioning is set up to: "Automatically setup the product as soon as an order is placed" so the provisioning starts as soon as the order is placed. I have two payment options set up, PayPal and bank invoice. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 Set it to setup after payment, see if the blank screen goes away and you can make it to a invoice page. Then complete the invoice on the admin side and make sure it will auto provision the new cpanel account 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 Haha I did that and I was able to see the invoice page but now the cPanel account doesn't get set up. I think I am going to delete the database, WHMCS, and start completely over. 0 Quote Link to comment Share on other sites More sharing options...
tripler Posted March 6, 2012 Share Posted March 6, 2012 Depending on how you accepted the invoice it may or may not auto provision. I think that it will work now providing someone actually pays. =) To be certain set your product price to 0.00 and do it again though the client area. 0 Quote Link to comment Share on other sites More sharing options...
anothercreativename Posted March 6, 2012 Author Share Posted March 6, 2012 (edited) Ok, I just reinstalled everything and tried again. I have the exact same problem. I tried creating an account on the front end, the client side, and I would get the white screen if I set cPanel to create the account when an order is placed. If I set cPanel to create an account when the first invoice has been paid I would still get the white screen. In the admin back end, as soon as I clicked the mark paid button I would get the white screen. The account is still created just fine but I get the white screen. If it helps, as soon as I submit the order on the client side, I get the firefox "can't establish connection to www.mydomainname.com" error page. But if I place my cursor in the address bar and hit enter, refreshing the page, than the product invoice will come up. Edited March 6, 2012 by anothercreativename 0 Quote Link to comment Share on other sites More sharing options...
musti19 Posted December 29, 2012 Share Posted December 29, 2012 same problem here, without solution. no error is showing 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted January 2, 2013 WHMCS Support Manager Share Posted January 2, 2013 Hi, If your Setup > Payments > Payment Gateways page is blank too then deleting your /modules/gateways directory and uploading a fresh copy of the same should solve this. 0 Quote Link to comment Share on other sites More sharing options...
musti19 Posted January 3, 2013 Share Posted January 3, 2013 after i successively delete addon-modules and gateways. without solution, i checked the database and found that the default language of the example client was "english" instead of "English". (is it changed after whmcs update, no idea..) but after i cleared the default language of all clients, it works now the whmcs function : show errors/sql errors, don't work! and must be optimized! 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.