SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Support / Undefined variable: enablegzip / problem
Posted:  28 Apr 2005 00:04
Hello I become a failure message when I open the forum.

Notice: Undefined variable: enablegzip in c:\Inetpub\wwwroot\board\index.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\board\index.php:5) in c:\Inetpub\wwwroot\board\index.php on line 18

Can you help me?

Regards
MaKle
Posted:  28 Apr 2005 08:51
You get that error because I am an idiot [mad]

The bug is in the index.php. Basically I am using this var before defining it in seo-board_options.php
I haven't found it because with my php config it does not show.

ok. Download the board again and take the new index.php file to overwrite your current one. Let me know if the forum will run ok now.

Basically I've taken this code:
Code:

if ($enablegzip == 1)
  ob_start('ob_gzhandler');
else
  ob_start();
from the top and moved it below the require commands.

Thanks for reporting this bug.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  28 Apr 2005 12:14
Yes it works thanks for fast help!

Regards
MaKle