Topic: Install Problems - White Screen

Hi, Just installed PunBB and now all I get is a white screen (http://www.24fans.com/forums/)

I've tried all the usual basic things that I thought it could be, like a corrupt file when I uploaded the files, so i reuploaded every file, still nothing. I've checked phpmyadmin, the tables etc. have been created in the database.

Any ideas what else it could be?

Re: Install Problems - White Screen

http://www.24fans.com/forums/config.php
Looks like something is wrong in your config.php wink

Re: Install Problems - White Screen

Aha!, Thanks alot, somewhere along the line my config.php file got squashed onto one line.

4 (edited by Tathar 2007-03-02 16:22)

Re: Install Problems - White Screen

I also have a prob with "white screen". Now that's what i have as an error in browser:

#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini
#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini

I had to add this string to the head of all scripts *.php, because i need to have pgsql.so extension loaded. DB is installed under PostgreSQL 7.3.2. This string works perfectly with single scripts.

#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini

My config.php is definetly correct. In general, I do connect with same authorization parameters from config.php by pg_connect().

$dbms = 'pgsql';
$table_prefix = 'phpbb_';

All tables in DB do have corresponding prefixes.
P.S. Should i load pgsql.so extension dynamically?

5 (edited by Tathar 2007-03-14 11:08)

Re: Install Problems - White Screen

It's allright, the problem fixed.
Although, the string still appears in browser.

#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini

Are there any amount of scripts not for execution but for reading also?

My question is: how to include personal PHP extension into punbb environment? Is there any kind of such interface?
Is it enough to require_once personal PHP extension in include/dblayer/pgsql.php and some others? The view of configurational problems (this string between <div> layers) isn't very impressive big_smile

Re: Install Problems - White Screen

Tathar: That sounds like a host issue, there's no place where PunBB would output that string
As to your question, I'm afraid I don't understand: could you try phrasing it a little differently?

7 (edited by Tathar 2007-03-19 07:30)

Re: Install Problems - White Screen

Smartys wrote:

That sounds like a host issue, there's no place where PunBB would output that string

That's definetly a host issue, i'm fully agree. I repeat that i had to add this string to all *.php files, which use SQL quieries, - because i need PostgreSQL(pgsql.so) enabled. So every scripts which uses SQL starts from:

#!/usr/local/temp/php/bin/php -c/http/to/tourclub.rsu.ru/etc/php.ini

<?php
...

May be this string can be include in $PATH of my environment of FreeBSD in some way?
Is this output optional and depends on php.ini, like some kind of E_NOTICE output?

Moreover, ?There is a bug? with select query (admin_ranks.php), when updating an existing rank, in version 1.2.14 which i've downloaded from http://punbb.org! It's easy to fix, I don't have any possibility to view all topics with bugs...

P.S. Such strings don't appear at all when i use single scripts.... and then i pass parameters from *.html forms using POST method also.

8 (edited by Tathar 2007-03-25 19:03)

Re: Install Problems - White Screen

I've fixed my configurational problems.
Anyway, thanks a lot for support.

So, it's obvious now, that configuration string MUST NOT be included into:

? In all in include/*.php
? In all in lang/*.php
? In all in include/dblayer/*.php

If so, no configuration trash will present.