{"action":"closed","issue":{"url":"https://api.github.com/repos/thomascube/roundcube-trac-import/issues/50","repository_url":"https://api.github.com/repos/thomascube/roundcube-trac-import","labels_url":"https://api.github.com/repos/thomascube/roundcube-trac-import/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/thomascube/roundcube-trac-import/issues/50/comments","events_url":"https://api.github.com/repos/thomascube/roundcube-trac-import/issues/50/events","html_url":"https://github.com/thomascube/roundcube-trac-import/issues/50","id":135549993,"number":50,"title":"Cannot modify header information - headers already sent in rcube_shared.inc","user":{"login":"thomascube","id":1577511,"avatar_url":"https://avatars.githubusercontent.com/u/1577511?v=3","gravatar_id":"","url":"https://api.github.com/users/thomascube","html_url":"https://github.com/thomascube","followers_url":"https://api.github.com/users/thomascube/followers","following_url":"https://api.github.com/users/thomascube/following{/other_user}","gists_url":"https://api.github.com/users/thomascube/gists{/gist_id}","starred_url":"https://api.github.com/users/thomascube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomascube/subscriptions","organizations_url":"https://api.github.com/users/thomascube/orgs","repos_url":"https://api.github.com/users/thomascube/repos","events_url":"https://api.github.com/users/thomascube/events{/privacy}","received_events_url":"https://api.github.com/users/thomascube/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thomascube/roundcube-trac-import/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/thomascube/roundcube-trac-import/labels/C:%20Client%20Scripts","name":"C: Client Scripts","color":"0000aa"},{"url":"https://api.github.com/repos/thomascube/roundcube-trac-import/labels/P:%205","name":"P: 5","color":"aa8888"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T21:30:07Z","updated_at":"2016-02-22T21:30:09Z","closed_at":"2016-02-22T21:30:09Z","body":"**Reported by JohnDoh on 21 May 2007 11:48 UTC**\n\nI am using r582 and when sending an email either plain or html the following appears in the error log\n\n```\nPHP Warning:  Cannot modify header information - headers already sent in /path/to/roundcubemail/program/include/rcube_shared.inc on line 154\n```\n\ni have tracked this down to... \n\n```\n    // include meta tag with charset\n    if (!empty($this->charset))\n      {\n      header('Content-Type: text/html; charset='.$this->charset);\n      $__page_header = '<meta http-equiv=\"content-type\" content=\"text/html; charset='.$this->charset.'\" />'.\"\\n\";\n      }\n```\n\nbut that is about as far as i have got. i remember there used to be a dropdown to select the charset on the compose screen which i dont see any more. could that have caused the problem?\n\n\n\nMigrated-From: http://trac.roundcube.net/ticket/1484385"}}