Topic: blank pages after install

Hi,
I just downloaded and installed the latest version. My problem is that all PHP pages come out as blank in the browser. Not even any source html.

The only exception is install.php, which seems to be working OK.

What could be the problem? Permissions? Character encodings?

I tried enabling DEBUG mode, but the index page is still blank.

The URL to the forum is http://broogle.org/AkademikerSam/SthlmNorr/index.php

I'd appreciate any pointers!

-- Svante

Below is my config.php file:

<?php

$db_type = 'mysqli';
$db_host = 'localhost';
$db_name = 'name';
$db_username = 'user';
$db_password = 'password';
$db_prefix = 'AkademikerSam_SthlmNorr_forum_';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '8db43dc8';

define('PUN', 1);

Re: blank pages after install

Make sure that config.php and lang/English/common.php exist and don't trigger parse errors (I think display_errors is disabled on your server as well, so I couldn't check that myself).

Re: blank pages after install

Are you sure you need such a long prefix? I doubt it's gonna give you any problem but you can never tell. I'd shorten it a bit.

Re: blank pages after install

Strofanto wrote:

Are you sure you need such a long prefix? I doubt it's gonna give you any problem but you can never tell. I'd shorten it a bit.

He would have had trouble with the install if it was wink

Re: blank pages after install

Smartys wrote:
Strofanto wrote:

Are you sure you need such a long prefix? I doubt it's gonna give you any problem but you can never tell. I'd shorten it a bit.

He would have had trouble with the install if it was wink

Makes sense. Thanks for the clarification smile

Re: blank pages after install

Smartys wrote:

Make sure that config.php and lang/English/common.php exist and don't trigger parse errors (I think display_errors is disabled on your server as well, so I couldn't check that myself).

Thanks for the quick feedback!

I checked for lang/English/common.php . It exists. There seems to be code that sets
  $locale = 'en_US.US-ASCII'
since the server OS is FreeBSD.

So, it seems to be the character encoding. Originally, I tried to use the config.php which was generated by install.php . Then I tried downloading it and re-uploading with BBEdit using different encodings (UTF-8, ISO-Latin-1). When I tried to redownload using Western(ASCII) encoding, I got errors telling me that there were unmappable characters.

Now, I set BBEdit to use Western(ASCII) as default encoding, rewrote config.php by hand and uploaded. And now it works!

Still a bit puzzling why the originally generated config.php didn't work...? Oh well...

Re: blank pages after install

When you saved it, if you didn't save it as a plain text file, you might have had some "special" characters at the end