Skip to Content Skip to Menu

$live_site= variable

  • drdehart
  • drdehart
  • OFFLINE
  • Posts: 253
  • Thanks: 2
  • Karma: 1
13 years 1 month ago #177543 by drdehart
$live_site= variable was created by drdehart
We're trying to work through an issue with anything-digital regarding sh404sef and they are advising that we set the $live_site=''; variable. Here is their advise:

Also please go to your joomla root directory open the configuration.php file and set your $live_site=''; variable.

It should be something like: $live_site=' www.your-website.com ';


But I think we have it un-set because of some issue with CB. Is that right?

Please Log in or Create an account to join the conversation.

  • drdehart
  • drdehart
  • OFFLINE
  • Posts: 253
  • Thanks: 2
  • Karma: 1
13 years 1 month ago #177572 by drdehart
Replied by drdehart on topic Re: $live_site= variable
OK - we did some testing and set the live site variable to $live_site=' www.your-website.com '; and now the CB login module will not switch to https upon front-end login. We are using the CB login module setting "use https for posting login, then same" for switching to https when people are logged into the site.

I think there may be other CB conflicts that we have not yet found when this variable is set.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
13 years 1 month ago - 13 years 1 month ago #177659 by krileon
Replied by krileon on topic Re: $live_site= variable
Never set $live_site unless URL guessing is failing in Joomla (nearly all cases it does not). The $live_site forces the Joomla API to output that exact URL. This means if an extension uses the API and you're on an HTTPS page, but you specified HTTP then it will use HTTP as it's what you specified. CB will not ignore the API and force a scheme (we use JURI::base() for J1.5 and greater).


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.
Last edit: 13 years 1 month ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum