4

I am using civi 4.7.29 on Wordpress 4.9.4

I noticed that civimail reports is not tracking the email opens after multiple sends. It is just showing "0". In the screen shot, you can see where it is showing click-throughs but not opens. enter image description here

The checkboxes for tracking opens and click-through are set.
enter image description here

In the email source, I found this URL https://mysite.org/wp-content/plugins/civicrm/civicrm/extern/open.php?q=66

That URL takes me to 404 Error Page.

The permission are:

open.php 755

civicrm/civicrm/extern/ 777

civicrm/civicrm/ 755

civicrm/ 755

Does anything look wrong here? Thank you.

  • Looks like cms is blocking you. Check wp permissions for mailing – Marko Feb 27 '18 at 9:52
  • Where do you check wp permissions for mailing? – fdarn Feb 27 '18 at 16:46
  • I have no clue try somewhere like Administer > Users and Permissions > Permissions > Access Control – Marko Feb 27 '18 at 23:39
  • I am not seeing any permissions that appear to be related to this in there. Did you have to check permissions for your install? – fdarn Feb 28 '18 at 4:35
  • I don't have a wp installation so I am unable to check. Basically what I think is happening with your installation is that CMS in your case wp is blocking access to that open.php, try looking at your htaccess and find the rule which is preventing the php file from being read. – Marko Feb 28 '18 at 9:22
3
+50

I've experienced something similar on a few sites and it turns out the file/directory permissions are not set right. I'm not sure what causes it, but I have found that I need to recursively reset permissions after updating CiviCRM, or the tracking doesn't work, click through links don't work, you can't upload images from CiviMail, etc.

From just outside the civicrm directory, I do this and it seems to solve it:

find civicrm -type d -exec chmod 755 {} ";"

find civicrm -type f -exec chmod 644 {} ";"

The first one changes permissions on directories and the second on files. You want to avoid having anything set to 777 for sure.

  • 1
    I am thrilled. Changing those permissions not only solved the tracking issue instantly, but also fixed some other annoying little issues i had been noticing. Thank you very much. – fdarn Feb 28 '18 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.