omerniah

Topic: cant install jobberbase

Hello,

I have put the jobberbase in subdmomain http://job.kabullist.com and my server have the following information :

Apache version    2.2.11 (Unix)
PHP version    5.2.8
MySQL version    4.1.22-standard

and my .htaccess contains the following information:

==============================
# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php
SetEnv PHP_VER 5
RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /page-unavailable/

order deny,allow
allow from none
deny from al
===========================

which I take it from installtion guide as they mention the original file is not valid can anybody help me out,
thanks
omer

navjotjsingh

Re: cant install jobberbase

Please use the default .htaccess file:

Code:

# AddType x-mapp-php5 .php
# AddHandler x-mapp-php5 .php

RewriteEngine on
Options +FollowSymlinks

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /page-unavailable/

<files ~ "\.tpl$">
order deny,allow
allow from none
deny from all
</files>

The contents you are showing is a sign of broken .htaccess file since the code mentioned on blog comment got broken off.

Moreover, the install guide at the blog is for older version.

Latest Installation Guide for v1.8 is at http://www.jobberbase.com/wiki/index.ph … tion_Guide

omerniah

Re: cant install jobberbase

Hello,

Thanks for the replay, but even if I put the default .htaccess files it still get error like and it says that:

============================
Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
=========================

regards
Omer

omerniah

Re: cant install jobberbase

Here is my config file input:

=====================
    define('DB_HOST', 'localhost');
        define('DB_PORT', 3306);
        define('DB_USER', 'jobusr');
        define('DB_PASS', '******');
        define('DB_NAME', 'kabu_job');
        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', 'jobusr');
        define('DB_PASS', '*****');
        define('DB_NAME', 'kabu_job');
        define('LOCATION', 'online');
        define('DB_PREFIX', '');
        define('ENVIRONMENT', 'prod');

    // Global settings definitions
    define('SITE_NAME', $settings['Afghanistan Job Board']);
    define('THEME', $settings['theme']);
    define('NOTIFY_EMAIL', $settings['admin@kabullist.com']);
    define('ADMIN_EMAIL', $settings['admin@kabullist.com']);
    define('MAX_CV_SIZE', $settings['max_cv_size']);
    define('FILE_UPLOAD_DIR', $settings['file_upload_dir']);
    define('MINUTES_BETWEEN_APPLY_TO_JOBS_FROM_SAME_IP', $settings['apply_delay']);
    define('OLD_JOB_NOTIFY', $settings['old_job_notify']);
    define('ENABLE_NEW_JOBS', $settings['enable_new_jobs']);
    define('JOBS_PER_PAGE', $settings['jobs_per_page']);
    define('SIDEBAR_SHOW_WHAT', $settings['sidebar_show_what']);
    define('SIDEBAR_ONLY_CITIES_WITH_JOBS', $settings['sidebar_only_cities_with_jobs']);
    define('DATE_FORMAT', $settings['date_format']);
    define('DATE_TIME_FORMAT', $settings['date_time_format']);
    define('URL_JOB', $settings['http://job.kabullist.com']);
    define('URL_JOBS', $settings['url_jobs']);
    define('URL_CITIES', $settings['url_cities']);
    define('URL_COMPANIES', $settings['url_companies']);
    define('URL_JOBS_IN_CITY', $settings['url_jobs_in_city']);
    define('URL_JOBS_AT_COMPANY', $settings['url_jobs_at_company']);
    define('SEARCH_METHOD', $settings['search_method']);
    define('SEARCH_RESULTS_PER_PAGE', $settings['jobs_per_search']);
    define('SEARCH_AMOUNT_PAGES', '8'); //Max. pages to display (must be an even number!)
    define('ENABLE_RECAPTCHA', $settings['enable_recaptcha']);
    define('CAPTCHA_PUBLIC_KEY', $settings['captcha_public_key']);
    define('CAPTCHA_PRIVATE_KEY', $settings['captcha_private_key']);
=================================

if by chance I miss anything in the config.php file,

regards,
omer

Last edited by omerniah (2009-09-30 09:16:05)

putypuruty

Re: cant install jobberbase

Hi!

I don't know if it's an .htaccess thing. Are you sure that your files are readable - maybe you should try changing the access rights to 644 or 755 for all your files.

omerniah

Re: cant install jobberbase

Hello,

I finally make it work but the things is that it shows a white page that is all,

http://job.kabullist.com/index.php

regards,
omer

putypuruty

Re: cant install jobberbase

Hi, Omer!

You have to access it like this http://job.kabullist.com/ - you mustn't write index.php.

omerniah

Re: cant install jobberbase

Hello,

Yes I did the same thing but still I get blank page, is there anything I can do

putypuruty

Re: cant install jobberbase

First of all, turn errors on (you can see how to do this in the Install Guide). Then please post here the errors that you get.

omerniah

Re: cant install jobberbase

Hello,

I have turned on the error reporting and now I get the following error:

=======================
Notice: Undefined index: SITE_NAME in /home/wwwkabu/public_html/job/config.php on line 119

Notice: Undefined index: admin@kabullist.com in /home/wwwkabu/public_html/job/config.php on line 121

Notice: Undefined index: admin@kabullist.com in /home/wwwkabu/public_html/job/config.php on line 122

Notice: Undefined index: http://job.kabullist.com in /home/wwwkabu/public_html/job/config.php on line 133
====================================

omerniah

Re: cant install jobberbase

And also

when I click on any link it will redirect me to some weird URL like this

http://job.kabullist.comjob.kabullist.com/admin/home/

I think there is problem with .htaccess even I used the default on, but still not sure.