Valeri44

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!

There is no such thing as coincidences, only the inevitable...

links

Re: Problem with the instalation of Jobberbase 1.8

Hi,

Are you sure the .htaccess file was copied correctly to the new server? And if yes, check to see if you have a line similar to RewriteBase /oldFolderName . In case you do and the new site is in the root folder of your server, remove that line. If the site is in a subfolder on the new server, then change that line to RewriteBase /newFolderName

Check also the permissions for the _cache and uploads folders, make sure they are 777.

Let us know if this worked

Valeri44

Re: Problem with the instalation of Jobberbase 1.8

Thank you for your post. The problem was really very stupid - I`m using FireFtp for downloading the installation and uploading it to a new folder. The program did not copy the .htaccess file because the file is not visible for it. I downloaded a fresh version and installed it - everything now is OK.

There is no such thing as coincidences, only the inevitable...