MyBB Community Forums

Full Version: After upgrade: unable to register
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When someone wants to register he ends up with an empty member.php file.. see here: http://www.urbanus-online.be (try to register)
Try redownloading the MyBB package & uploading a fresh copy of members.php
That unfortunately didn't work. Sad
Please deactivate the Gzip compression and try again.
Wow.. that solved the problem. :s

Why didn't it work with the gzip compression enabled?
I'm not sure, maybe a wrong server configuration. I tried to register on your forums using Opera and it only displayed several weired characters which is a sign that there's something wrong with the gzip compression.
It always had gzip compression enabled (until now).
Is there some sort of way to check if gzip works or not - and if it doesn't disable it
There is, I use ob_gzhandler.
http://no.php.net/manual/en/function.ob-gzhandler.php
example code:
@ob_start('ob_gzhandler');
echo $content;
@ob_flush();
@ob_end_clean();

Also you can set the level if available by:
ini_set('zlib.output_compression_level', *some number*);
You would need to use ini_get to see if the user has access.
actually we can also check if zlip is enabled by doing the following: phpversion('zlib') or

if (!extension_loaded('zlib')) 
{
   if (!dl('zlib.so')) 
   {
       exit;
   }
}
Pages: 1 2