Note that there are two different settings in config.php
site_url
host_name
But I don’t understand your issue anyway. So SuiteCRM gives you a link that works, you change it, it stops working… so why exactly do you change it, and what do you change in it?
I am not sure I understand what you’re saying, but…
If you access your server with the IP address, but not with Domain name, then you probably just need to configure your Domain with your Registrar. So it is not a SuiteCRM issue, you just need to “tell the Internet” that when people go looking for www.yourdomain.com it should map to 123.123.123.123 or whatever.
but now i can´t open my page anymore because it paoints the whole time to the CRM login.
is it possible to edit the Opt In file that it redirect to my page?
Because when I change the if cause where the opt in text get returned nothign happens
I edit it in the file
foreach ($uids as $uid) {
$emailMan = new EmailMan();
if (!$emailMan->addOptInEmailToEmailQueue($module, $uid)) {
$errors++;
} elseif ($emailMan->getLastOptInWarn()) {
$warnings++;
} else {
$confirmedOptInEmailsSent++;
}
}
We had similar problems and they came from the switch between https and http. Please check the URL to your site you have in emails sent out that they for sure use https: all over the line. Our problem came from forced SSL that we had on our server, so basically we did not recognize that we had http: in site_url that was used for all generated links. When somebody clicked these links in our emails the session were broken when the entry into the Suite CRM was forced to use https: but the link used http:.
If you are sure you have site url starting with https then you should check email templates that you really do not have changed anything that bypasses the site_url parameter. If you only have an IP adress access without domain name then it should work as well with https: if your server has a valid SSL certificate. Some servers are configured to have port number for SSL at the end of the URL, normally “:8080” at the end of the IP address.