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) »
  • Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work
Pages: [1]

Author Topic: Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work  (Read 1172 times)

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work
June 24, 2008, 07:29:45 am
Hi,
   One of our users reported the following issue yesterday and I am wondering if anyone has any clues about what might be wrong.

"The CiviMail component of CiviCRM has a major problem, encountered only now (and subsequent to the recent upgrade). Links in mass emails will not work, instead taking the browser to a web page with the message:
“Warning: Cannot modify header information - headers already sent by (output started at /usr/local/lib/civicrm/2.0.4/settings_location.php:5) in /usr/local/lib/civicrm/2.0.4/CRM/Utils/System.php on line 293”"

Thanks,
Cynthia

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work
June 24, 2008, 08:44:02 am
   The problem was that the settings_location.php file had an extra line break after the closing 'php>' tag that would render like an echo statement adding a blank line to whatever called it. Deleting that line break resolved the issue.

Cynthia

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work
June 25, 2008, 02:19:15 am
To side-step such issues in the future, a good practice is to actually omit the closing ?> PHP tag; it’s not needed, and if it’s not present, you can be sure nothing is emitted to the output ‘after’ it.
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.

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work
June 25, 2008, 05:56:48 am
Thank you Piotr. Will do  :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Since upgrading from 2.0.2 to 2.0.4, links in mass emails do not work

This forum was archived on 2017-11-26.