Dev Site Logins takes Users to Original Site

11 years 7 months ago #210965 by mattchew61
Hi,

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?

The original site is: www.westlakechamber.com

The dev site is: www.westlakechamber.com/new-westlake/

Thanks!

Matthew

Please Log in to join the conversation.

11 years 7 months ago #210974 by krileon
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.

Please Log in to join the conversation.

11 years 7 months ago #210977 by mattchew61
Replied by mattchew61 on topic Re: Dev Site Logins takes Users to Original Site
Thanks for the fast reply, Kyle.

I checked configuration.php. $live_site was set to: 'westlakechamber.com/new-westlake', which is correct.

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:

www.westlakechamber.com/cb-user

Thanks!

Matthew

Please Log in to join the conversation.

11 years 7 months ago #210985 by krileon
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.

Please Log in to join the conversation.

11 years 7 months ago #210991 by mattchew61
Replied by mattchew61 on topic Re: Dev Site Logins takes Users to Original Site
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.
Attachments:

Please Log in to join the conversation.

11 years 7 months ago #210992 by mattchew61
Replied by mattchew61 on topic Re: Dev Site Logins takes Users to Original Site
I forgot to add:

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)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.215 seconds

Facebook Twitter LinkedIn