Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Double Opt In Problem

Double Opt In Problem 1 week 4 days ago #77615

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
Hello,

I have a problem with the double Opt In.

When I change the URL of the Opt In Link the SuiteCRM don't recognize that the customer clicked the link and is confirmed.

I also changed the config.php and changed the site-url parameter to my url but this also don't do anything.

When I try it with the link which is set from beginning it works. But i want to redirect to another page.

Can anybody help me please.

I'm happy for every single hint

greetings
The administrator has disabled public write access.

Double Opt In Problem 1 week 4 days ago #77633

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9158
  • Thank you received: 1381
  • Karma: 334
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?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Double Opt In Problem 1 week 4 days ago #77635

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
so the link looks like this when it is working:


xx.xx.xxx.xxx/index.php?entryPoint=ConfirmOptIn&from=

so the x are for the suitecrm IP

and I want to change it in e.g.:

www.mywebsite.com/index.php?entryPoint=ConfirmOptIn&from=

i know that the index is diffrent to the index of the xx.xx.xxx.xxx. but how can I the recognize the opt in??
The administrator has disabled public write access.

Double Opt In Problem 1 week 3 days ago #77674

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9158
  • Thank you received: 1381
  • Karma: 334
Please let me know these 3 things

1. Those "xx" are numbers? Is it your numeric ip address?

Did you check these two different settings in config.php?

site_url
host_name

2. Are they using ip address or name?

3. Can you access your SuiteCRM normally from both

xx.xx.xxx.xxx
and
www.mywebsite.com ?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Double Opt In Problem 1 week 3 days ago #77675

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
for my suitecrm i´m using the ip adress of my cloud server

and i can only reach the crm from the ip not from the url

or is that in generall not possible to do it like that??

its not possible to have more urls for only one crm system??

or do you know where I can change the text of the landig page after clicking the crm ip opt in link so i can redirect to my page?
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77710

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9158
  • Thank you received: 1381
  • Karma: 334
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.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77728

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
thank you that helped me a little bit.

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++;
}
}

if ($confirmedOptInEmailsSent > 0) {
$msg .= sprintf($app_strings, "test"/*$confirmedOptInEmailsSent*/);
}

if ($warnings > 0) {
$msg .= sprintf($app_strings, $warnings);
}

if ($errors > 0) {
$msg .= sprintf($app_strings, $errors);
}


return $msg;
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77738

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9158
  • Thank you received: 1381
  • Karma: 334
Which of these are using?
http://www.mydomain.org

or
https://www.mydomain.org

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77741

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
i`m using:

https://

for my domain
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77743

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 9158
  • Thank you received: 1381
  • Karma: 334
Did you configure security certificates for that?

And check BOTH your logs when that redirect happens to the login screen. You need to fix that first...

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Double Opt In Problem 1 week 2 days ago #77748

  • MK93
  • MK93's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
The logs show nothing :/

so everything fine.

but is it possible to capture data from another page to the crm localhost?
The administrator has disabled public write access.
Time to create page: 0.061 seconds
Powered by Kunena Forum