We have a registration process for new users that involves several steps to avoid shaming. We have our main site at www.lakoshvac.com, our development site at www.lakoshvac.com/dev. We ae in the process of adding new features on te development site for rollout on Jan. 7. One piece of this involves a step in new user registration. When we test in dev, it winds up linking to the equivalent place in the live system.
Specifically, see attached image. Note in the lower left, just above the windows bar, the link "www.lakoshvac.com/dev/user_ok.php?cd=eXow0G". This link is activated when the upper "Allow Pricing" link (after Trade Pricing) is clicked.
It winds up going to the live version at www.lakoshvac.com/user_ok.php?<etc>, which fails because the cd=eXow0G makes it look for a registered user record with at "code" in the LIVE database.
The only thing I ca think of that remotely could be effecting this is in the generated email, the link is specifically spelled out like this:
<a href='http://www.lakoshvac.com" . $locusr . "?cd=" . $r['ccode'] . "'>Allow Pricing</a><br><br>";
I am thinking that the http (should it be https?) might be the problem.
Anyone see anything that could make this happen? Also attached is source of user_ok.php
Specifically, see attached image. Note in the lower left, just above the windows bar, the linkI see your email that looks to be generated from the code, but what I am looking for?
I am thinking that the http (should it be https?) might be the problem.I am thinking that the http (should it be https?) might be the problem.I don't think this is the issue in the question, but you should be using https.
You can do the same thing just by testing if the url starts with "www.lakoshvac.com/dev" but I feel the subdomain is a cleaner option.