Topic: Problem with the instalation of Jobberbase 1.8
Hi,
I want to set up a job site. I`m not using a fresh installation - I downloaded one already installed on my hosting. I want to install the site on a subdomain - for example www.test.mydomain.com . (The installation I downloaded was on a subdomain too - let`s call it www.uk.mydomain.com)
I installed the site, but when I try to open a sub page or anything on the site I can`t.
I changed the info in the file config.php(in the main directory):
if ($_SERVER['SERVER_NAME'] == 'localhost')
{
define('DB_HOST', 'localhost');
define('DB_PORT', 3306);
define('DB_USER', 'test_user');
define('DB_PASS', test');
define('DB_NAME', 'testdb');
define('DB_PREFIX', '');
define('LOCATION', 'local');
define('ENVIRONMENT', 'dev');
}
// MySQL + misc settings for production environment
else
{
define('DB_HOST', 'localhost');
define('DB_PORT', 3306);
define('DB_USER', 'test_user');
define('DB_PASS', 'test');
define('DB_NAME', 'test_db');
define('LOCATION', 'online');
define('DB_PREFIX', '');
define('ENVIRONMENT', 'prod');
}
Then I notised that there is file called "uk.php" in the main directory(left from the old site). I rename it to test.php and changed the following lines:
$user="test_user";
$password="test";
$database="test_db";
mysql_connect(localhost,$user,$password);
I would be thankful, if you could help me with this. What else I have to change and in what way?
I exported the info from the old db and imported it in a new one. I can see the posts on the home page - so I suppose the connection with the db is Ok. But I cant open anything on the page.
Thank you in advance for your help!