Jump to content

White screen after "complete order" button is clicked?


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by anothercreativename
Link to comment
Share on other sites

  • 9 months later...

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated