UseBB Community

UseBB support, discussion and development

Content encoding error on PHP 5.3

Moderators: Gaia.

Post Reply

Page: 1

Author Post
Member
Registered: May 2009
Posts: 12
Hi,

I´m trying to install a new UseBB 1.0.10 from scratch, but I can´t. When pointing to localhost/usebb/install/ I get an error page (something like "this page has not an allowed compression format").

I´ve read docs/index.html and followed it step by step, both automatic and manual installations. I renamed config.php-dist, I´m sure config.php is writable, and even tried deleting htaccess file too.

I have successfully installed other php-mysql scripts in this computer, so it´s something I´m doing wrong with UseBB. Tested it with IE8 and Firefox 3.5. This is my config:


WinXP SP3
Apache 2.2.13
PHP 5.3.0
MySQL 5.1.37
« Last edit by Dietrich on Sun Nov 01, 2009 5:44 pm. »
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
What error message are you getting exactly?

There have not really been any changes to the install script.
Member
Registered: May 2009
Posts: 12
My browsers are not in english (it´s not my native language as you probably noticed), so I´ll try to be as exact as I can:

For IE I get: "Internet Explorer cannot display this web page. You can try this: Verify conection problems".

For Firefox I get: "Content encoding error. The page you are trying to view cannot be displayed because it does not use an allowed compression format. Please contact the website owners to tell them about this problem."
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
Try setting
$conf['output_compression'] = 0;
in config.php and install. I have the impression PHP 5.3 has something to do with this. I still have to figure out if this will need a fix in UseBB.
Member
Registered: May 2009
Posts: 12
Thanks a lot for your help. That worked for me and I could finally install.

But now there´s something wrong with the format/style of pages;
Installation pages are shown without any format (in plain black text with no tables or colors).
Once installed, I see the style but some texts and tables are much bigger than they should be and break the page layout.
I also get this error at the top of every page :

Deprecated: Function set_magic_quotes_runtime() is deprecated in ...\sources\common.php on line 63
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
The error_reporting level will have to be changed for PHP 5.3 or more of these errors may pop up. I will check this tomorrow. Looks like this will have to be fixed in the next version.
« Last edit by Dietrich on Fri Nov 19, 2010 7:54 pm. »
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
The deprecated errors were the only culprit. You can fix it easily (and correctly), see http://www.usebb.net/community/topic-post9792.html#post9792.
Member
Registered: Nov 2009
Posts: 1
Thanks a lot to your help. I really hope this is the thing will really help me. I hope so!., I am expecting to see no more errors.
« Last edit by Dietrich on Sat Nov 07, 2009 2:54 pm. »

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software