MyBB Community Forums

Full Version: [SOLVED] Cannot modify header information
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I moved myBB from a shared hosting to a VPS but now i get some errors, can someone help with a fix please?

Warning [2] Cannot modify header information - headers already sent by (output started at /home/serbiari/public_html/forum/inc/plugins/welcomeguest.php:1) - Line: 1559 - File: inc/functions.php PHP 5.2.9 (Linux)

[PHP] errorHandler->error
/inc/functions.php 1559 header
/inc/class_session.php 348 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 56 session->init
/index.php 18 require_once

Warning [2] Cannot modify header information - headers already sent by (output started at /home/serbiari/public_html/forum/inc/plugins/welcomeguest.php:1) - Line: 1559 - File: inc/functions.php PHP 5.2.9 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1559 header
/inc/class_session.php 365 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 56 session->init
/index.php 18 require_once

Warning [2] Cannot modify header information - headers already sent by (output started at /home/serbiari/public_html/forum/inc/plugins/welcomeguest.php:1) - Line: 1559 - File: inc/functions.php PHP 5.2.9 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1559 header
/inc/class_session.php 106 my_setcookie
/global.php 56 session->init
/index.php 18 require_once

at line 1559: header($cookie, false);


thank you.
Im guessing something wrong with the welcome guest plugin. Disable it and see if it helps Smile
i deactivated the plugin

but now i get: Cannot modify header information - headers already sent by (output started at /home/serbiari/public_html/forum/inc/plugins/myshoutbox.php:1) - Line: 1559 - File: inc/functions.php PHP 5.2.9 (Linux)

at line 1559 in inc/functions.php is this: header($cookie, false);
Make sure you've set the cookie information right and try chmoding functions.php to 777 temporarily to see if that helps.
PROBLEM SOLVED.