Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 12:13 pm EST
Geeklog Forums
Forum-Post edit error
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'm learning...
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.
I'm learning...
15
18
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
17
22
Quote
Status: offline
ArchyAA
Forum User
Junior
Registered: 12/19/07
Posts: 28
Location:Kiev, Ukraine
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...
16
19
Quote
Yo
Anonymous
Yes, i have trouble like this too, can anyone help??? 1.70, 2.73
18
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
15
18
Quote
Yo
Anonymous
Help pls
11
17
Quote
Status: offline
Pushkar
Forum User
Regular Poster
Registered: 04/14/09
Posts: 99
Location:Ukraine, Kyiv
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"
}
17
17
Quote
All times are EST. The time is now 12:13 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