MyBB Community Forums

Full Version: MyBB Issue/Steam Group
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Plugin - Steam Group: http://community.mybb.com/user-72126.html


Couldn't get plugin to show up on Portal page, so i uninstalled the plugin. Plugin Creator then told me how to add it onto portal by simply changing something in the plugin file. I did, and it worked and now appears on Portal page, but i also get this error stuck at the top of my admin page:

Warning [2] Cannot modify header information - headers already sent by (output started at /inc/plugins/steamgroup.php:1) - Line: 59 - File: admin/index.php PHP 5.6.8 (Linux)

File
Line
Function[PHP]
 
errorHandler->error
/admin/index.php
59
header

I took a look at the index.php on that line and didn't see any extra spaces or errors myself, but may have overlooked something. Attached file if anyone could take a look.
php files should be saved in utf-8 encoding without Byte Order Mark. in general, we use advanced editor like notepad++ for php files.
steamgroup.php plugin file needs to be saved in utf-8 without Byte Order Mark

related guidance => http://docs.mybb.com/1.6/Help-UTF-BOM-Mark/
(2015-06-06, 10:44 AM).m. Wrote: [ -> ]php files should be saved in utf-8 encoding without Byte Order Mark. in general, we use advanced editor like notepad++ for php files.
steamgroup.php plugin file needs to be saved in utf-8 without Byte Order Mark  

related guidance => http://docs.mybb.com/1.6/Help-UTF-BOM-Mark/

Already saved in this format and always use notepad++
Still getting the same error and just checked today and i have another.

Warning [2] Cannot modify header information - headers already sent by (output started at /inc/plugins/steamgroup.php:1) - Line: 1849 - File: inc/functions.php PHP 5.6.8 (Linux)
File
Line
Function[PHP]
 
errorHandler->error
/inc/functions.php
1849
header
/admin/index.php
270
my_setcookie


Warning [2] Cannot modify header information - headers already sent by (output started at /inc/plugins/steamgroup.php:1) - Line: 1849 - File: inc/functions.php PHP 5.6.8 (Linux)
File
Line
Function[PHP]
 
errorHandler->error
/inc/functions.php
1849
header
/admin/index.php
271
my_setcookie


If i remove The Steam Group plugin, the errors Disappear.
So it's an issue with this plugin.

Well, Don't need help anymore. Wouldn't allow me to login, so i just re-installed everything fresh.
Didn't lose anything because it's a new project.