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) »
  • CiviMail tracking redirect missing domain url in link
Pages: [1]

Author Topic: CiviMail tracking redirect missing domain url in link  (Read 3136 times)

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
CiviMail tracking redirect missing domain url in link
October 10, 2007, 12:37:10 pm
Hi all! I've been setting up Civimail with uas.coop's smtp mailserver, and I finally have it all running (thanks Shane!) except for what looks to be something missing in the civimail setup regarding the "tracking click throughs."

When "tracking click throughs" is selected in the send mailing setup, the link in the email is written out as:

http://sites/all/modules/civicrm/extern/url.php?u=10&qid=9

it's missing the site domain url in there - www.examplesite.org. Where in the configuration of CiviMail can I make sure the domain is generated in email links?

I've looked a bit in the forums here and online in support - I can't find this. Apologies if it's a simple question (I suspect it is..) I imagine it's in a config file, or in the CiviCRM Administrator screen - but can't seem to find it.  :-[

BTW, We're running CiviCRM 1.8.11248 and Drual 5.1 (I know, update!)

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: CiviMail tracking redirect missing domain url in link
October 11, 2007, 04:31:50 am
Check the CIVICRM_UF_BASEURL setting in your civicrm.settings.php file.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: CiviMail tracking redirect missing domain url in link
October 11, 2007, 10:19:48 am
Hi Pitor, thank you for your help.

I do seem to have it set correctly in civicrm.settings.php - line 169:

define( 'CIVICRM_UF_BASEURL'      , 'http://www.pdxpeace.org/' );

So it's not that. If you have other troubleshooting suggestions for this, I'd love to hear them..

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: CiviMail tracking redirect missing domain url in link
October 11, 2007, 02:11:22 pm

can u ensure that resourceURL is also valid and complete (i.e. http://...) at:

q=civicrm/admin/setting/url?reset=1

i.e.: http://demo.civicrm.org/drupal/civicrm/admin/setting/url?reset=1

thanx

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

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: CiviMail tracking redirect missing domain url in link
October 11, 2007, 03:56:42 pm
Thanks Lobo,

Maybe I should explain, just so I don't leave out any information. I'm setting up test emails using the test TXT and HTML copy available here - http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=8348 - this is the help page linked from CiviMail Send Mailing, Step 3 - where you upload the 2 files representing the txt and html in your newsletter. I've changed these files so that I've replaced the 'www.example.org' with specific links to the website I'm working on - http://www.pdxpeace.org for testing.

When the live email is sent to my test group, everything but the opt-out and unsubscribe links are missing the base url - so if I referred to a valid link http://www.pdxpeace.org/oct27 in the original HTML, it gets rewritten something like this

http://sites/all/modules/civicrm/extern/url.php?u=10&qid=9

Thanks much Lobo for reading this and offering up yr. wisdom.

(I've been working for months it seems like to get CiviCRM/CiviMail working, and I'm kind of excited because it seems like this is the very last stumbling block before it really is actually ... working!)

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: CiviMail tracking redirect missing domain url in link
October 11, 2007, 06:44:19 pm

I suspect this is a bug in 1.8. Can you upgrade to 1.9 and see if that issue is fixed. We definitely recommend folks use 1.9 if they are planning on using CiviMail (it should be compatible with shane's work on UAS)

You could also compose a mailing on the demo server (http://demo.civicrm.org/drupal/) and we can test it out there (it is running 1.9). I can reenable the smtp settings for a brief period to let this mailing go thru etc

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

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: CiviMail tracking redirect missing domain url in link
October 12, 2007, 10:21:10 am
Hi Lobo,

I did load a test email into demo.civicrm.org/drupal - it's called 'civimail-test-10.12A', and it's scheduled to go today at 3pm, if you would like to push that through(it's sending to a group called civimail-test-10.12 that is comprised of me). Judging from the preview it created in CiviMail, it had the right information in it (including base url), so it looks like it is working in 1.9, on the demo site.

I'll continue snooping in my install of 1.8 to see if I can locate the cause of this issue for me, and I'll post back here if/when I find anything. In the meantime I'm going to start using CiviMail for our newsletters, but without enabling the click-tracking - which is where this problem comes up. Seems like this issue is isolated to me and whatever peculiarities I have introduced in my install - or other people would be having this issue, as click-tracking is enabled by default, and I haven't seen any complaints on this board.

CiviCRM 1.9 looks very slick - I'm glad the WSYWIG editor is in there, and other civimail improvements. I will upgrade soon, but I may wait until it's out of the demo, so I don't have to do that 2x.

Thank you for your help.



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: CiviMail tracking redirect missing domain url in link
October 12, 2007, 03:40:26 pm

Its the weekend here (NZ) and i'm off to the beach :) so i wont be around for the next few hours to enable/disable this. Seems like 1.9 has resolved this issue, so we'll leave it as is. 1.9 should hit final before end of month.

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

yopyop

  • I’m new here
  • *
  • Posts: 16
  • Karma: 2
    • PDX Peace
Re: CiviMail tracking redirect missing domain url in link
October 18, 2007, 09:32:05 am
I think I found the cause of the initial problem I was having - I hadn't set the CiviCRM resource URL on this page:

Administer CiviCRM > Global Settings > Resource URLs

Once I had the proper URL setting in there, it seems to work.

Sorry about this, hope it might help someone else if they run into this. I think the description on this page led me to believe that I didn't need to put the base URL in..

thanks

barry

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail tracking redirect missing domain url in link

This forum was archived on 2017-11-26.