MyBB Community Forums
[Error Message] Cannot modify header information - headers already sent by - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [Error Message] Cannot modify header information - headers already sent by (/thread-91711.html)



Cannot modify header information - headers already sent by - remshad - 2011-04-06

i am getting an error ... (my inbox filled with this messegaes ) i have repaired and optimized database several times .. but still there is no effect ..


please i am waiting for your support .. am using mybb 1.6
Type: 2
File: inc/functions.php (Line no. 1614)
- Hide quoted text -
Message
Cannot modify header information - headers already sent by (output started at /home/*******/public_html/inc/class_error.php:213)

again
---
Type: 2
File: inc/plugins/google_seo/redirect.php (Line no. 315)
Message
urlencode() expects parameter 1 to be string, array given

Type: 20
File:  (Line no. 0)
Message
SQL Error: 145 - Table './********/mybb_sessions' is marked as crashed and should be repaired
Query: DELETE FROM mybb_sessions  WHERE ip='220.225.248.187'



RE: Cannot modify header information - headers already sent by - Yaldaram - 2011-04-06

Run this query;
REPAIR TABLE `mybb_sessions`;

This will fix the sessions table.


RE: Cannot modify header information - headers already sent by - remshad - 2011-04-06

but repaired all tables using phpmyadmin
but there was no use..at all


RE: Cannot modify header information - headers already sent by - Sajuuk - 2011-04-06

You might have to run it a few times


RE: Cannot modify header information - headers already sent by - pavemen - 2011-04-06

have you edited any php files recently? or added a plugin recently?

the headers already sent error is usually due to whitespace before the first or after the last shebang (<?php and ?>) in the PHP files.


RE: Cannot modify header information - headers already sent by - remshad - 2011-04-20

i repeatedly repaired the sql table ... in one instant its got cleared whole error ...
till i can t identified what was the actual error ....!


RE: Cannot modify header information - headers already sent by - Yaldaram - 2011-04-20

Does it still shows or its OK now ?