CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Subscribe and Unsubscribe tokens redirecting to homepage
Pages: [1]

Author Topic: Subscribe and Unsubscribe tokens redirecting to homepage  (Read 1369 times)

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 12:02:58 pm
We just moved our contact database to Civi (which is integrated with Wordpress profile log-ins and mailing list subscriptions) and are creating our first mailing list template. Our mailings go out through mandrill/mailchimp.

Unfortunately, the two CiviCRM tokens we need in our mailing list - unsubscribe and subscribe - aren't working. Both of them redirect users to our website home page without affecting the group composition.

We don't allow members of the public access to our groups; registered website users can sign up for mailing lists (groups) on our site.

Do you know why these tokens aren't working?
Thanks!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 12:13:00 pm

Can you post the urls that are generated for subscribe / un-subscribe

also might help to use the latest version of civi for 4.2.x. I faintly recollect something with this was fixed in a 4.2.x release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 12:54:27 pm
Thanks for the quick response! We're on 4.2.2 already - that's the first thing I checked when I saw a previous user fixed it by upgrading to 4.2.

It's telling me I can't post external links, so I'll post the links in a follow-up.

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 12:55:44 pm
Here are the links:

The subscribe URL generated is:
Code: [Select]
(our website domain)/?page=CiviCRM&q=civicrm/mailing/subscribe&reset=1&gid=63
Unsubscribe URL is:
Code: [Select]
(our website domain)/?page=CiviCRM&q=civicrm/mailing/unsubscribe&reset=1&jid=61&qid=61&h=039edf798e95ba03
The GID is 63 for that group the mailing is meant for, but these are URLs from the test mailing just to my own account.

This may be the post you were referring to but we are indeed in 4.2.2.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 06:58:01 pm

sorry, dont know. your best bet might be either to:

1. debug and figure out whats wrong

2. upgrade to 4.2.8 and see if that fixes the issue (if u do this, do it on a test server first)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 26, 2013, 10:12:51 pm

I wanted to ensure that this worked in 4.3 and ran into a few issues (which i think i filed and fixed!)

for the subscribe link, make sure group id = 63, is of type Mailing List and has public visibility

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 27, 2013, 11:25:00 am
Donald,

I made the group public (it was already a mailing list) and it still doesn't work - just displays the homepage without a warning message or anything, and without changing the group composition. I made sure it was linking to the right group. Neither subscribe nor unsubscribe are working.

Do you suggest then that we upgrade to 4.3? Do you think that may fix the problem?

Thank you!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 27, 2013, 12:34:55 pm
is it worth ruling out the www v no-www url issue

ie does your system ever sometimes provide links
http://www.(our website domain)
and other times
http://(our website domain)

not sure if it would affect this - but it seems to be a common enough 'random' problem to flag in other mystery areas
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 27, 2013, 04:08:05 pm
Quote from: kociamama on March 27, 2013, 11:25:00 am
Do you suggest then that we upgrade to 4.3? Do you think that may fix the problem?

Ideally, you would get your developer / interator / tech person to investigate and figure out whats happening and why. It happens really early in the cycle and can be traced fairly quickly

that person(s) can ping us on IRC for help getting strted

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
March 28, 2013, 04:51:35 pm
Will do, thanks.

antatar

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: WP 3.5.1
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
April 16, 2013, 11:10:30 am
Have you had any success with this? We're having the same issue.
thanks.

kociamama

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.2.2
  • CMS version: Wordpress
  • MySQL version: 4.1.2
  • PHP version: 4.3
Re: Subscribe and Unsubscribe tokens redirecting to homepage
April 18, 2013, 08:03:15 pm
Sadly, no. I still don't know what's causing it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Subscribe and Unsubscribe tokens redirecting to homepage

This forum was archived on 2017-11-26.