MyBB Community Forums

Full Version: Cannot modify header information
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Warning [2] Cannot modify header information - headers already sent by (output started at /public_html/forum.php:2) - Line: 1697 - File: inc/functions.php PHP 5.2.17 (Linux)

I was editing settings.php in /inc and now get this error. Please help.
You can delete it, and it will regenerate auto. That should fix the problem.
(2012-04-22, 09:19 PM)JovanJ. Wrote: [ -> ]You can delete it, and it will regenerate auto. That should fix the problem.

How to delete?
Go to your cpanel in file manager, in files find settings.php
(2012-04-22, 09:21 PM)JovanJ. Wrote: [ -> ]Go to your cpanel in file manager, in files find settings.php

I did this and it didn't fix the problem. Please help.
Run file verification tool from tools & maintenance section of admin panel to check for changed / corrupt files.
I did that. Btw here's some more error info:
[PHP] errorHandler->error
/inc/functions.php 1697 header
/inc/class_session.php 365 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 55 session->init
/forum.php 19 require_once
Delete /inc/functions.php and upload new one fresh from MyBB site.
Tried this and still get the error.
(2012-04-22, 09:33 PM)koolaidpwn Wrote: [ -> ]I did that.

And which files were listed as corrupt? Replace all of them with clean MyBB files.