http://www.combat-arts.co.uk/gallery/I have installed the gallery.
But when i click on the link to login i get
Page cannot be displayed. and the link in the address bar is :
http://www.combat-arts.co.uk/gallery/login.php?referer=%2Fgallery%2FMy board is installed as a module in PHPNUKE and it was installed by a script.
Everything is in my root folder as in i don't have a seperate folder for PHPBB.
it comes under the modules folder in the root directory.
I have edited the cpg_rdir.php but i still cannot login.
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
here is my phpbb.inc.php
// database configuration
define('PHPBB_DB_NAME', '************'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '*************'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '*************'); // The password to use to connect to the database
// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('http://combat-arts.co.uk','/modules/'); <----------------- i have tried everything in here
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', FALSE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql1'); // The prefix used for board cookies
Any help would be most appreciated as i am pulling what hair i have left out...
Regards
GM