Page 1 of 1

Cannot modify header information - headers already

Posted: 17/12/2015 6:17 pm
by thatsawan
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5279: Cannot modify header information - headers already sent by (output started at [ROOT]/ext/111/m_cross_site_topic_post/controller/test_server.php:312)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5279: Cannot modify header information - headers already sent by (output started at [ROOT]/ext/111/m_cross_site_topic_post/controller/test_server.php:312)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5279: Cannot modify header information - headers already sent by (output started at [ROOT]/ext/111/m_cross_site_topic_post/controller/test_server.php:312)

Code: Select all

                $message_parser->parse($post_data['enable_bbcode'], ($this->config['allow_post_links']) ? $post_data['enable_urls'] : false, $post_data['enable_smilies'], $img_status, $flash_status, $quote_status, $this->config['allow_post_links']);
 

Re: Cannot modify header information - headers already

Posted: 17/12/2015 6:59 pm
by thatsawan
ปัญหามาจาก

Code: Select all

    $message_parser = new \parse_message();

        $plupload = $this->phpbb_container->get('plupload');
        $mimetype_guesser = $this->phpbb_container->get('mimetype.guesser');
        $message_parser->set_plupload($plupload);
        $message_parser->set_mimetype_guesser($mimetype_guesser);