Welcome to Geeklog, Anonymous Thursday, July 17 2025 @ 03:48 pm EDT
Geeklog Forums
Forum-Post edit error
Status: offline
Forum User
Junior
Registered: 07/14/10
Posts: 19

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 :
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.
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 6774Warning: 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.
19
25
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Yes, the problem is in your edited lib-common.php. Read the error message carefully and compare with Cannot modify header information - headers already sent by ...
Just to check: You are not trying to use the lib-common.php from 1.6.1 with 1.7.0? Since that wouldn't work anyway ...
bye, Dirk
Just to check: You are not trying to use the lib-common.php from 1.6.1 with 1.7.0? Since that wouldn't work anyway ...
bye, Dirk
23
32
Quote
Status: offline
Forum User
Junior
Registered: 12/19/07
Posts: 28
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:
(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, but i can't understand. what i need to edit in 58 line of file gf_format.php...
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, but i can't understand. what i need to edit in 58 line of file gf_format.php...

22
27
Quote
Yes, i have trouble like this too, can anyone help??? 1.70, 2.73
25
22
Quote
Status: offline
Forum User
Junior
Registered: 12/19/07
Posts: 28
Still waiting...
34
27
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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):
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
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');
Then try whatever you did last time again. You should now get a message with the actual error that occured.
bye, Dirk
25
21
Quote
Help pls
20
24
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by: Yo
Help pls
Please try what I suggested in the post above yours so we get to see the actual problem.
bye, Dirk
26
23
Quote
Status: offline
Forum User
Junior
Registered: 10/24/07
Posts: 33
It appears the COM_refresh function is competing with forum/include/gf_format.php in several places.
23
23
Quote
Status: offline
Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
I insered two slashes. after that I have:
array(1) {
["url"]=>
string(40) "createtopic.php?method=edit&id=30&page=1"
}
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 2857array(1) {
["url"]=>
string(40) "createtopic.php?method=edit&id=30&page=1"
}
23
22
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
38
20
Quote
All times are EDT. The time is now 03:48 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content