Jump to content

Form Error On Bulk Domain Checker & Transfer Pages


D9Hosting

Recommended Posts

I've just noticed that after upgrading to 3.8.1 the bulk domain checker and transfer forms are not working.

 

The button action is:

 

<form method="post" action="//cart.php?a=add&domain=register">

 

So the script isn't picking up the system URL. Here's what is in the template file:

 

<form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}cart.php?a=add&domain=register">

 

I know I can hard code in the URL but just wondered if there was a "proper" fix or if anyone else had the issue?

Link to comment
Share on other sites

I've tried removing the / from:

 

{if $systemsslurl}{$systemsslurl}/{/if}cart.php

 

And that brings up the domain name, but not the WHMCS DIR so for the time being I've just hard coded the action URL until a proper fix appears.

 

Sorry, but which file is this edit made to?

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
Hi D9Hosting, sorry when you say, hard coded it to fix this problem,, what exactly did you do?

Thanks

 

All you need to do is open up the template files for the domain checker, bulk domain transfer, and bulk domain transfer pages, and find the following line:

 

<form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}cart.php?a=add&domain=register">

 

And change to:

 

<form method="post" action="http://www.yoursite.com/whmcs/cart.php?a=add&domain=register">

 

(Replace http://www.yoursite.com/whmcs/ with your own WHMCS location!)

Link to comment
Share on other sites

Hi guys,

 

Matt emailed me a fixed php file and advised me to change the code from

 

<form method="post" action="{if $systemsslurl}{$systemsslurl}/{/if}cart.php?a=add&domain=register">

 

to

 

<form method="post" action="{$systemsslurl}cart.php?a=add&domain=register">

 

In all 3 files.

 

Those who are having this issue, email support@whmcs.com and request the patched/updated clientareafunctions.php file :)

 

Cheers,

 

Dale E

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