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) »
  • Track Click-Throughs option doesn't work with embedded links
Pages: [1]

Author Topic: Track Click-Throughs option doesn't work with embedded links  (Read 1886 times)

Toucan

  • I’m new here
  • *
  • Posts: 18
  • Karma: 1
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Track Click-Throughs option doesn't work with embedded links
April 16, 2011, 05:59:07 pm
When the Track Click-Throughs option is checked, embedded URLs do not work properly.

With it selected, this is the path that appears:

mydomain.org/sites/all/modules/civicrm/extern/url.php?u=41&qid=12100

and results in Page not found

I am using CRM version 3.3.6

I would appreciate any suggestions to get this working properly. Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Track Click-Throughs option doesn't work with embedded links
April 16, 2011, 06:29:38 pm
That's the expected format for a tracked link. If it's giving Page Not found, then something isn't configured properly in your path settings. I'd check this value in civicrm.settings.php first

 define( 'CIVICRM_UF_BASEURL'  , 'http://<your drupal site root url/' );
Protect your investment in CiviCRM by  becoming a Member!

Toucan

  • I’m new here
  • *
  • Posts: 18
  • Karma: 1
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Track Click-Throughs option doesn't work with embedded links
April 16, 2011, 07:53:19 pm
Hi Dave,

This setting is correct.

I went to the Docs on Resource+URLs, where it says to check if icons are missing or the expandable panes are missing on the Advanced Search page, but they are intact.

And the CRM URL is mydomain/sites/all/modules/civicrm and I verified that the file path matches that setting.
« Last Edit: April 16, 2011, 08:04:46 pm by Toucan »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Track Click-Throughs option doesn't work with embedded links
April 17, 2011, 12:03:08 pm
If your base url is correct, and the file url.php exists in that path - then I don't know why you're getting that error. The URL pattern matches the ones I see for click tracking. Apache logs might should some light.
Protect your investment in CiviCRM by  becoming a Member!

Toucan

  • I’m new here
  • *
  • Posts: 18
  • Karma: 1
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Track Click-Throughs option doesn't work with embedded links
April 18, 2011, 02:54:36 pm
I looked at the error logs and am getting some errors. I am not sure what these mean exactly:

[Mon Apr 18 17:00:01 2011] [error] [client 69.94.102.40] SoftException in Application.cpp:601: Directory "/home/<myaccount>/public_html/sites/all/modules" is writeable by group

[Mon Apr 18 16:57:58 2011] [error] [client 76.199.64.11] Directory index forbidden by Options directive: /home/<myaccount>/public_html/sites/all/modules/civicrm/i/, referer: http://www.mydomain.org/civicrm/admin

[Mon Apr 18 16:56:43 2011] [error] [client 76.199.64.11] Directory index forbidden by Options directive: /home/<myaccount>/public_html/civicrm/, referer: http://www.mydomain.org/civicrm/?reset=1

[Mon Apr 18 16:56:04 2011] [error] [client 76.199.64.11] Directory index forbidden by Options directive: /home/<myaccount>/public_html/civicrm/

[Mon Apr 18 16:55:55 2011] [error] [client 76.199.64.11] Directory index forbidden by Options directive: /home/<myaccount>/public_html/civicrm/, referer: http://www.mydomain.org/

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Track Click-Throughs option doesn't work with embedded links
April 18, 2011, 04:13:52 pm
Maybe apache config / permissions issue. You might want to google the error: Directory index forbidden by Options directive (or chat w/ your hosting provider).
Protect your investment in CiviCRM by  becoming a Member!

Toucan

  • I’m new here
  • *
  • Posts: 18
  • Karma: 1
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Track Click-Throughs option doesn't work with embedded links
April 20, 2011, 01:02:01 pm
Hi Dave,

I found the problem to be a backup copy of CivicRM at the root, and that is the path the apache error was showing. I realized the path should be pointing to the sites/ folder.

Thanks for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Track Click-Throughs option doesn't work with embedded links

This forum was archived on 2017-11-26.