| Author |
Message |
Stephan
Nuke Cadet


Joined: Jun 29, 2003
Posts: 5
|
Posted:
Sun Jun 29, 2003 3:47 am |
  |
I run a phpnuke version 6.7 but the problem alså occured under 6.5.
I have just installed BBtoNuke 2.0.5 without any installation problems.
When in admin mode there is no problem
But when i enter the Board through phpnuke i get the following message:
Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\header.php:32) in C:\FoxServ\www\includes\page_header.php on line 525
Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\header.php:32) in C:\FoxServ\www\includes\page_header.php on line 531
Warning: Cannot add header information - headers already sent by (output started at C:\FoxServ\www\header.php:32) in C:\FoxServ\www\includes\page_header.php on line 532
What can i do to fix the problem. I am currently running my site on localhost while waiting for webhotel to finish my registration
Thanks for any kind of help offered. I need it
Stephan |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Sun Jun 29, 2003 4:42 am |
  |
|
    |
 |
Stephan
Nuke Cadet


Joined: Jun 29, 2003
Posts: 5
|
Posted:
Sun Jun 29, 2003 5:16 am |
  |
Thanks. Found a solution to the problem.
Stephan |
|
|
   |
 |
Raven
General


Joined: Mar 22, 2003
Posts: 5233
Location: USA
|
Posted:
Sun Jun 29, 2003 6:55 am |
  |
Great ! If you could, please share with everyone which solution worked. Thanks! |
_________________ Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff |
|
    |
 |
Stephan
Nuke Cadet


Joined: Jun 29, 2003
Posts: 5
|
Posted:
Wed Jul 02, 2003 5:59 am |
  |
sure. This is the solution posted somewhere else, that made my day.
| Quote: |
Near the start of mainfile.php find:
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {
change to:
$phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
ob_start('ob_gzhandler');
}else if ($phpver > '4.0') {
|
|
|
|
   |
 |
zilet
Nuke Cadet


Joined: Sep 20, 2003
Posts: 1
|
Posted:
Mon Sep 29, 2003 11:15 pm |
  |
Uh I tryed this but it doesn't helps..
My forums stays blank.. The same problem goes with PMs.. Everything else works, only I can not see any topics in the forum:(
I also found some solution with php buffering but it is turned on on the server!
After reviewing header on the server this is the error I recieve:
PHP Warning: Cannot add header information - headers already sent by (output started at /VDOMAINS/etfbg/web/www/themes/etfbg_1/theme.php:82) in /VDOMAINS/etfbg/web/www/includes/sessions.php on line 222
PHP Warning: Cannot add header information - headers already sent by (output started at /VDOMAINS/etfbg/web/www/themes/etfbg_1/theme.php:82) in /VDOMAINS/etfbg/web/www/includes/sessions.php on line 223
PHP Warning: Cannot add header information - headers already sent by (output started at /VDOMAINS/etfbg/web/www/themes/etfbg_1/theme.php:82) in /VDOMAINS/etfbg/web/www/modules/Forums/viewtopic.php on line 600
FATAL: erealloc(): Unable to allocate 245760 bytes
PHP Warning: Cannot add header information - headers already sent by (output started at /VDOMAINS/etfbg/web/www/themes/etfbg_1/theme.php:82) in /VDOMAINS/etfbg/web/www/modules/Forums/viewtopic.php on line 600
FATAL: erealloc(): Unable to allocate 245760 bytes
On the line 600 in viewtopic.php i have:
setcookie($board_config['cookie_name'] . '_t', serialize($tracking_topics), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
I tried to fix the problem with above ways but I get the only half loaded page when I try to load any topic or when I try to enter Private messages?
Or I get the 500 Internal Server Error (
Any ideas?
Oh yes I am using BBtoNuke2.1 but every version from 2.05 had the same problem:(
Finaly here is the link so you can see:
http://www.etf-bg.org.yu/modules.php?name=Forums&file=viewtopic&p=2482#2482 |
|
|
   |
 |
12o3L
Nuke Cadet


Joined: Dec 09, 2003
Posts: 3
|
Posted:
Wed Dec 10, 2003 12:12 am |
  |
|
   |
 |
|
|