Jump to content

[RESOLVED] affiliatessignup does not work in 5.2.2


Recommended Posts

After upgrade to WHMCS 5.2.2, it is not possible for new customers to sign up and activate affiliate account.


When a customer first log in to client area, and then go to affiliates.php and click on the button to sign up, they are automatically kicked out and must log in again, and the affiliate account is not activated.


So this code in affiliatessignup.tpl does not work:


<input type="button" value="{$LANG.affiliatesactivate}" onclick="window.location='affiliates.php?activate=true'" />

Link to comment
Share on other sites


The activate button should be a form post to be accepted successfully. So try replacing the button code you posted above with the following:


<form method="post" action="affiliates.php">
<input type="hidden" name="activate" value="true" />
<p align="center"><input type="submit" value="{$LANG.affiliatesactivate}" class="btn btn-success" /></p>



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.

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