Jessn Posted February 26, 2009 Share Posted February 26, 2009 This is driving me completely insane. I have a login form that, when submitted, is supposed to redirect the client to their invoice. This is done when signing up for a new service. However when I create a test client and submit that form, it redirects me to the login page and asks me to do it again. Then I go into WHMCS and delete that test client and re-signup the same fake client again and the second time I submit the form it works. Never works the first time. Always works the second time. And I can't figure out why! Anyone? <form method="post" action="http://www.site.com/WHMCS/whmcs/dologin.php?goto=viewinvoice.php?id='.$results['invoiceid'].'"> Email Address: <input type="text" name="username" value="'.$_POST['emailaddress'].'"> Password: <input type="password" name="password" size="20" value="'.$_POST['password2'].'"> <input type="submit" value="Complete Order"> </form> 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 26, 2009 WHMCS CEO Share Posted February 26, 2009 You probably need to be submitting it to https if using an SSL Cert rather than just http Matt 0 Quote Link to comment Share on other sites More sharing options...
Jessn Posted February 26, 2009 Author Share Posted February 26, 2009 Thanks for the reply Matt! I'm not sure if I'm using an SSL cert or not...do I just need to change the http:// to https:// ? When I tried that i got this error: An error occurred during a connection to http://www.website.com:443. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) 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.