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) »
  • Empty links (about:blank) for unsubscribe & optOut tokens
Pages: [1]

Author Topic: Empty links (about:blank) for unsubscribe & optOut tokens  (Read 677 times)

jwalange

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Wordpress 3.8
Empty links (about:blank) for unsubscribe & optOut tokens
March 29, 2013, 12:14:04 am
We are running on CiviCRM 4.1.2 onWordpress 3.5.

I'm trying to configure CiviMail for a mailing.  It seems that our {action.unsubscribeUrl} and {action.optOutUrl} tokens are not working as designed.  The html from our Mailing Footer is below.  The {domain.address} token is working fine to display our contact address, but the other two tokens appear to link to nothing.  When clicked, both open a blank page with URL: about:blank.

Am I missing something in the set-up process?  Thanks!

...

<p>To unsubscribe from this newsletter, <a href="{action.unsubscribeUrl}">click here</a>.<br />
To never receive email from CWEF, <a href="{action.optOutUrl}">click here</a>.</p><br />
<br />
Concordia Welfare & Education Foundation
{domain.address}

jwalange

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Wordpress 3.8
Re: Empty links (about:blank) for unsubscribe & optOut tokens
March 29, 2013, 12:22:54 am
(UPDATED)

I switched over to Firefox to try this, and was able to copy the links.  Was not able to do this in Chrome.  Neither of these links worked.  I got the following from Firefox:

"The URL is not valid and cannot be loaded."

Unsubscribe:
http:///?page=CiviCRM&q=civicrm/mailing/unsubscribe&reset=1&jid=35&qid=225&h=9f2447affd94d22d

OptOut:
http:///?page=CiviCRM&q=civicrm/mailing/optout&reset=1&jid=35&qid=225&h=9f2447affd94d22d

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: Empty links (about:blank) for unsubscribe & optOut tokens
March 29, 2013, 08:44:16 am

1. For WP, i would strongly advise you to upgrade to the latest version of 4.2.x. Since the WP integration is relatively new, they've been quite a few fixes and improvements in every release

2. the links below have there forward slashes: http:/// and no host name, so something is wrong with the url construction

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

jwalange

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Wordpress 3.8
Re: Empty links (about:blank) for unsubscribe & optOut tokens
March 31, 2013, 07:42:45 pm
Okay, thanks for your response and advice, Lobo.

Are you saying that you believe the upgrade to 4.2 may fix the bad URL construction?  Or are there some additional steps that need to be made?  Am I wrong in understanding that CiviCRM sets these URLs automatically?

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: Empty links (about:blank) for unsubscribe & optOut tokens
March 31, 2013, 08:45:12 pm

i hope it does :)

yes, with the proper settings (and in the absence of bugs), civi should set those urls automatically

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Empty links (about:blank) for unsubscribe & optOut tokens

This forum was archived on 2017-11-26.