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 (Moderator: Dave Greenberg) »
  • Error message: Warning: Cannot modify header information....
Pages: [1]

Author Topic: Error message: Warning: Cannot modify header information....  (Read 1409 times)

paaljoachim

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Wordpress 3.3.2
  • MySQL version: 5.5.9
  • PHP version: 5.3.6
Error message: Warning: Cannot modify header information....
May 29, 2012, 06:50:11 am
Hi

CiviCRM is having a conflict with another plugin it seems. We are using Wordpress 3.3.

baldron . org / civicrm-test/

Since I can not post a regular external link to show you the error I had to adjust the above link. Remove the spaces and go to the link. I have also added the full error message below:

Warning: Cannot modify header information - headers already sent by (output started at /home/flowfond/public_html/wpmaster/wp-content/plugins/sitepress-multilingual-cms/inc/language-switcher.php:698) in /home/flowfond/public_html/wpmaster/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php on line 310

How do we fix this?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error message: Warning: Cannot modify header information....
May 29, 2012, 11:53:42 am
Interesting. What is the page http://baldron.org/civicrm-test/ supposed to be?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

paaljoachim

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Wordpress 3.3.2
  • MySQL version: 5.5.9
  • PHP version: 5.3.6
Re: Error message: Warning: Cannot modify header information....
May 30, 2012, 02:31:36 am
I created a test event.

Shortcode: civicrm component="event" id="2" mode="test" action="register"

But as I hardly know what I am doing I have no idea if I did this correct.

A similar error showed up after activating CiviCRM before inserting the database info and finishing the install. As the install finished with the database info in place the specific error during install went away. The error caused the menu icons in the post and pages to disappear, and be replaced with an error line that I did not write down.





« Last Edit: May 30, 2012, 06:19:21 am by paaljoachim »

paaljoachim

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Wordpress 3.3.2
  • MySQL version: 5.5.9
  • PHP version: 5.3.6
Re: Error message: Warning: Cannot modify header information....
June 18, 2012, 07:39:17 am
Even after installing a newer version of the WPML plugin I am still getting the error message on this page: http://baldron.org/civicrm-test/

I have also e-mailed WPML folks and hopefully this issue will be fixed very soon.

paaljoachim

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.1.2
  • CMS version: Wordpress 3.3.2
  • MySQL version: 5.5.9
  • PHP version: 5.3.6
Re: Error message: Warning: Cannot modify header information....
June 20, 2012, 06:41:44 am
I reinstalled and found the error.

Someplace in CiviCRM's Wordpress backend (do not remember how I got to it) there is a check box for multiple languages which gives a warning that clicking this will change the database. Since this is for a Norwegian site I clicked it, and the languages error was created.

Reinstalling I came across this box again, and this time I decided not to click it.
And the install now works.

What is the dangerous languages check box? How would I make the frontend Norwegian?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Error message: Warning: Cannot modify header information....

This forum was archived on 2017-11-26.