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.

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.

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

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?