I am developing a copy of an original site in a sub-folder on the original site. Every time a user logs into the dev site, they are redirected to the original site. When the return to the dev site, they are correctly logged in--sometimes. This makes it very difficult to test the dev site. Why is this happening, it is easy to fix, will it mess up my dev site when I make it the live, production site?
You probably have $live_site specified within configuration.php. Ensure it's blank.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
I deleted it to leave it blank to test, cleared cache, and tried logging in again. Same problem happened. After logging in, I (or any user) is brought here:
Do you have a login redirect anywhere? This could be from CB Auto Actions in a redirect action or a login redirect URL specified within your CB Login module.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Found there is indeed a login redirect in the module CB Login. But anything I change it to doesn't make a difference. I included a screenshot of the original login redirect URL. I cleared cache in backend and on browser--no difference.
When logging in through CB login as administrator, it sends me to the correct page; any other user, it sends to the original live site (www.westlakechamber.com/cb-user)