Topic: [Bug]: no headers in messages in install.php
Look at file install.php
There are many messages, which have no headers:
if (file_exists(PUN_ROOT.'config.php'))
exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="index.php">here</a> instead.');
(lines 34-35)
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
exit('You are running PHP version '.PHP_VERSION.'. PunBB requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');
(lines 39-40)
etc.
In Gecko browsers these messages are shown in ISO encode, so, if I use some symbols in UTF-8, they won't be shown correct. Fix it please:
if (file_exists(PUN_ROOT.'config.php'))
{
header('Content-Type: text/html; charset=utf-8');
exit('The file \'config.php\' already exists which would mean that PunBB is already installed. You should go <a href="index.php">here</a> instead.');
}
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<'))
{
header('Content-Type: text/html; charset=utf-8');
exit('You are running PHP version '.PHP_VERSION.'. PunBB requires at least PHP '.MIN_PHP_VERSION.' to run properly. You must upgrade your PHP installation before you can continue.');
}
P.S. It seems to me, that PunBB 1.3 can work only with english as default language...