Posted on: 07/14/10 11:12am
By: Alvin_tya
Hello
I need a little help with forum post edit problem.
I have Geeklog ver. 1.7.0 and Forum ver. 2.7.3. When I try to edit any post for moderate it, I have error :
Text Formatted Code
Warning: Cannot modify header information - headers already sent by (output started at /home/rabka/public_html/portalik/forum/include/gf_format.php:60) in /home/rabka/public_html/portalik/lib-common.php on line 6774
Warning: Cannot modify header information - headers already sent by (output started at /home/rabka/public_html/portalik/forum/include/gf_format.php:60) in /home/rabka/public_html/portalik/lib-common.php on line 6775
An error has occurred:
(This text is only displayed to users in the group 'Root')
2 - Cannot modify header information - headers already sent by (output started at /home/rabka/public_html/portalik/forum/include/gf_format.php:60) @ /home/rabka/public_html/portalik/lib-common.php line 2838
array(1) {
["url"]=>
string(39) "createtopic.php?method=edit&id=2&page=1"
}
I was try to change "lib-common.php" from ver. 1.6.1 SR1, and after forum work properly. But other functions have errors...
Can someone help me with this problem ?
Thank You.
Re: Forum-Post edit error
Posted on: 07/14/10 11:44am
By: Dirk
Re: Forum-Post edit error
Posted on: 07/22/10 06:23pm
By: ArchyAA
Have trouble 100% like this.
Clear 1.7.0 (no 1.6.1 lib-common) with
utf-8, forum 2.7.3
Whan i try to edit post, i have:
Text Formatted Code
An error has occurred:
(This text is only displayed to users in the group 'Root')
2 - Cannot modify header information - headers already sent by (output started at /home/a/webserver/html/forum/include/gf_format.php:58) @ /home/a/webserver/html/lib-common.php line 2838
array(1) {
["url"]=>
string(39) "createtopic.php?method=edit&id=1&page=1"
}
Can U help me? I read
post from your link[*1] , but i can't understand. what i need to edit in 58 line of file gf_format.php...
Re: Forum-Post edit error
Posted on: 07/23/10 12:46pm
By: Anonymous (Yo)
Yes, i have trouble like this too, can anyone help??? 1.70, 2.73
Re: Forum-Post edit error
Posted on: 07/23/10 04:43pm
By: ArchyAA
Still waiting...
Re: Forum-Post edit error
Posted on: 07/24/10 05:46pm
By: Dirk
Ah, I see the problem. Apologies, I forgot that the forum - unlike other plugins - does send out things like the site header early. So here it's actually Geeklog's error handling obscuring the error ...
Open lib-common.php and find these two lines (6774 + 6775, as in the error Alvin_tya posted above):
Text Formatted Code
header('HTTP/1.1 500 Internal Server Error');
header('Status: 500 Internal Server Error');
Comment them out, i.e. put two slashes // in front of each line.
Then try whatever you did last time again. You should now get a message with the actual error that occured.
bye, Dirk
Re: Forum-Post edit error
Posted on: 07/25/10 07:09am
By: Anonymous (Yo)
Help pls
Re: Forum-Post edit error
Posted on: 07/25/10 07:34am
By: Dirk
Please try what I suggested in the post above yours so we get to see the actual problem.
bye, Dirk
Re: Forum-Post edit error
Posted on: 07/25/10 08:14pm
By: scarecrow
It appears the COM_refresh function is competing with forum/include/gf_format.php in several places.
Re: Forum-Post edit error
Posted on: 09/03/10 03:11am
By: Pushkar
I insered two slashes. after that I have:
Text Formatted Code
2 - Cannot modify header information - headers already sent by (output started at /home/public_html/forum/include/gf_format.php:58) @ /home/public_html/lib-common.php line 2857
array(1) {
["url"]=>
string(40) "createtopic.php?method=edit&id=30&page=1"
}
Re: Forum-Post edit error
Posted on: 09/03/10 05:32am
By: Dirk