jobberBase dev blog

jobberBase is the open-source job board software
that helps you set up a jobsite in minutes!

Go ahead and Download jobberBase »

jobberBase Installation Guide

  1. Download the latest version from jobberBase.com and decompress it.
  2. Make sure you have PHP 5+ (with mysqli extension enabled) and MySQL 4.1+ installed on your server. Also, Apache module mod_rewrite has to be enabled and overriding default settings with .htaccess need to be allowed.
  3. Can you see the .htaccess file in your downloaded files? Make sure it’s there.
  4. Create a new database and import __db/jobberbase.sql into it.
  5. Following directories need write permissions:
    • /uploads (uploaded resumes are temporary stored here)
    • /_templates/_cache (smarty cache)
  6. Open config.php and update the following constants so they suit your environment:
    • DB_HOST
    • DB_USER
    • DB_PASS
    • DB_NAME
    • JOBBER_URL
    • _APP_MAIN_DIR
    • NOTIFY_EMAIL
    • ADMIN_EMAIL
    • SITE_NAME
  7. If you can’t see the .htaccess file or actually don’t have it, rename htaccess.txt into .htaccess.
  8. If your host doesn’t offer the mysqli PHP extension (find out from phpinfo()), you can use a mysql wrapper instead.
    Open config.php and just replace require_once '_includes/class.Db.php' with require_once '_includes/class.Db.MySql.php' (thanks to Emil Sirbu for this).
  9. That’s it, open up a browser and type in the URL (e.g. http://localhost/jobberbase/)!

Does this work for you?
Do you have a special environment that needed extra tweaking? Would you like to share?

Category: Knowledge Base

Tagged:

129 Responses

  1. Eugene Nekoz says:

    I have found a little bug in config.php.
    I use Windows as my dev webserver. In Windows this:
    define(‘_APP_MAIN_DIR’,rtrim(dirname($_SERVER['SCRIPT_NAME']),’/'));
    will return (on the root of virtual host) value ‘\’ and your system won’t work.
    So this code must be like:
    if (preg_match(“/win/i”, $_ENV['OS'])) {
    define(‘_APP_MAIN_DIR’,rtrim(dirname($_SERVER['SCRIPT_NAME']),’\\’));
    } else {
    define(‘_APP_MAIN_DIR’,rtrim(dirname($_SERVER['SCRIPT_NAME']),’/'));
    }

    Or if somebody install this scripts on root of VHost you can write:
    define(‘_APP_MAIN_DIR’,”);

    BR

  2. Filip says:

    Thanks, Eugene! :)

  3. Cabe says:

    Error 500
    localhost
    02/21/08 19:58:43
    Apache/2.0.55 (Win32) mod_ssl/2.0.55 OpenSSL/0.9.8a PHP/5.0.5 mod_autoindex_color

    i don’t know what it means.

    this in in my browser if i try to start. i installed it as shown in the guide on xampp 1.5.0

  4. setiaji says:

    Yes @ Eugene.
    I still cannot make admin work. (ver 1.3 and 1.4)
    Do I have to change the config.php from the admin folder or also with config.php ini root?
    Yes i install this jobber in sub-folder of my VH.
    http://www.noelabs.com/jobber

    What about the stas? Where is the EXT_PARAM setting ?

    @Filip
    I think your version 1.4 update stil need a lot of work.
    Like not every aspect is covered in translations.ini (e.g. the very top menu, contact form)
    And also the CSS is somehow acting strange. The jobber display is not as expected. Im gonna check the CSS lines 1 by 1.
    What is the function of the API? Do you want to monitor the jobber instalation?

    Thanks

  5. Filip says:

    @setiaji,
    By the “very top menu” do you mean the job categories tabs? You manage those from the admin panel.
    The API allows others to insert a javascript badge on their site and show latest jobs from your site. You can see it in action on “my site”:http://www.filipcte.ro/, right column, first box (“ultimele anunturi de pe jobber”).

  6. Mike says:

    This error msg come up after doing everything in install guide;

    Parse error: syntax error, unexpected ‘{‘ in /home/gabe/domains/have1.com/public_html/dev/werkboard.com/config.php on line 104

    Tried the obious with the unexpected ‘{‘, but didn’t make a difference

  7. Filip says:

    Mike,
    This means that PHP 5 is not active on your server.
    You should have read all the previous comments, as the problem has already been covered. Also on the forums.

  8. Stanley says:

    Fatal error: Call to a member function query() on a non-object in /home/stanleys/public_html/job/_includes/class.Job.php on line 851

    Help

  9. Mike says:

    Hi, I don’t suppose they have an earlier version that works with php 4.4.8 and sql 4.1.22? I can’t migrate right now. Or at least point me in another direction for another possible solution. thanks

  10. Filip says:

    Stanley, there seems to be a problem with the database connection. If not and if you’ve emptied the jobs table, also empty job_applications table ;) .

    Mike, PHP 4 is not supported. You should *really* change your hosting provider… PHP 4 is *so* 2004!

  11. Stanley says:

    there seems to be a problem with the database connection. If not and if you’ve emptied the jobs table, also empty job_applications table ;) .

    “how to empty job_applications table?”

  12. Filip says:

    phpmyadmin or other database administration tool, of course.

  13. Peter says:

    I installed jobbercase and there was no rquest for admin info. When I tried to log on to Admin panel, it asks for username and password; how do I get that? Any help will be appreciated.

  14. Peter says:

    I found the answer. It’s default=username: admin. password: admin.

  15. Robert says:

    I have the same problem as Stanley, error:
    Fatal error: Call to a member function query() on a non-object in /home/.thumper/telemichus/shivantech.com/jobber/_includes/class.Job.php on line 851

    Server spec:
    PHP5.2.x
    No mysqli installed (already replaced the require_once line in config)

    Any ideea what it could be wrong ?

    Thanks.

  16. [...] kas sniedz augstākminētās prasības, tad ielūkojies JobberBase oficiālajā saitā, un apskati instalācijas un uzstādīšanas [...]

  17. [...] kas sniedz augstākminētās prasības, tad ielūkojies JobberBase oficiālajā saitā, un apskati instalācijas un uzstādīšanas [...]

  18. Turrant says:

    I cant log in to the admin section. The script is uploaded correctly and i had to change my .htaccess to get the links to work:

    #RewriteEngine on
    #Options +FollowSymlinks

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

    #ErrorDocument 404 /page-unavailable/

    # Alternative .htaccess
    # only use if original doesn’t seem to work for you
    RewriteEngine On
    RewriteBase /jobs/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !index.php
    #RewriteRule !\.(js|ico|gif|jpg|png|css|flv|swf)$ index.php
    #RewriteRule (.*) /index.php/$1 [L]
    RewriteRule !\.(js|css)$ /index.php/$1 [L]
    ErrorDocument 404 /page-unavailable/

    But i still cant log into the admin section. It says the page is unavailable

    Thx

  19. Filip says:

    Well, first of all, you can’t have ‘jobs’ as a real folder. Rename it to something else. Or else, you need to go into index.php, find “case ‘jobs’” and change that to something else – then all the references to /jobs/ in the templates… makes any sense? :D

  20. Turrant says:

    lol well iv’e changed rewrite base to “RewriteBase /”. But it still says the admin page is unavailble when i try to log in. Hmm it could be a host problem.

    I’ve also changed the .htaccess in admin to the same code as above with RewriteBase set to /

    I installed the script correctly so it must be a server problem or maybe the .htaccess code is wrong. My host is 000webhost and my website is:

    http://footinthedoor.890m.com

  21. Nathan says:

    I’m trying to test to see if the job board is working for our organisation. The front end works flawlessly, but once you try to go further, ther are problems.

    First of all, I can’t see the jobs. It’s linking to a file that doesn’t exist (404 error). I get the same thing when I’m trying to post a job. And I can’t seem to log into the Admin area, even with the login ID above.

    What have I missed?

    Oh, and is there a way of removing the “Post a Job” button from the front page, and only limit it to the admin area? Or is that not possible?

    Thanks in advance.

    Nathan

  22. Nathan says:

    Right, I’ve found my problem, but (in true idiot form) where do I find the Apache settings? I’m using Zymic as a testing ground. I’ve got PHP5, PHPMyAdmin2 and MySQL active, but no idea where to find the Apache settings.

  23. Amine says:

    Hello

    I would like to report a bug in windows. For I don’t know why, when I extract the downloaded archive jobberbase14.zip with winzip utility I obtain a file named _cache under app/_templates but this should be a FOLDER not a FILE.

    Yours,
    Amine

  24. Filip says:

    Weird… I wonder if others stumpled upon this, too.

  25. Rafael says:

    Yes filip, i had the same problem with _cache’s folder

  26. albert says:

    Hallow developers,

    Me and my friend tried this software. But in the very beginning it makes problem. How can I install ?
    and your guide here (http://www.jobberbase.com/blog/10-23-2007/jobberbase-installation-guide/) is not working.

    Which folders I have to extract on server? Mac_OSX or Jobberbase_0… ?

    when I open that jobberbase folder in browser it displays the Index of files.

    How Can I install Jobberbase?

    So we Need Installation GUI? Any one Can Help for this Problem?

  27. uttara77 says:

    @ Filip

    Somewhere you had replied :

    “Please create a new script, with the following code, the run it:

    Maybe PHP 5 is not active.”

    Can you tell me how to create and run this script?

  28. uttara77 says:

    Well, got it done.
    Thx anyways

  29. mcruwan says:

    Hi

    Hope some one can help me in this

    its the same error as the first post in here.

    Fatal error: Class ‘mysqli’ not found in C:\Inetpub\vhosts\hendryluckynumbers.com\subdomains\jobber\httpdocs\_includes\class.Db.php on line 16

    my server supports Mysqli also, see in here

    http://jobber.hendryluckynumbers.com/mysqli.php

    and the error is in here – http://jobber.hendryluckynumbers.com/

    hope you can help me.
    thanks

  30. Nathan says:

    Hi, it’s me again

    I’ve changed my host now, and the board is working flawlessly.

    However, is there an admin / board management area? Please say there is, I don’t want to have the default jobs still online there, or even any jobs other than ours.

    Thanks,

    Nathan

  31. Filip says:

    /admin/
    default user: admin
    default pwd: admin

  32. mcruwan says:

    Hi Flip

    can you help me in my post earlier
    i really need it.

    Thank you.

  33. jutt says:

    can anyone help please.

    Fatal error: Call to undefined function mysql_connect() in /home/jobs4lon/public_html/_includes/class.Db.MySql.php on line 34

  34. senthil says:

    Hi,

    I installed jobberbase.. the home page is coming. But, when i click any other links, i am getting page not displayed messge. Its not directing to index.php correctly.. only the home page is received at index.php..

    the .htaccess is given as instructed in the manual..

    do i need to tweak any other http settings?

  35. Eud says:

    Parse error: syntax error, unexpected ‘{‘ in /home/XXX/XXX/html/config.php on line 106

    php5 Problem?

  36. Filip says:

    yes… you don’t have php5.

  37. Eud says:

    Hi, i’m again …

    Now the System run =) But now the next … ” We’re sorry, but the page you were looking for could not be found. ” … this comes on all Sites. Adminlogin doesent work too.

    htaccess Problem i think?

    My Htaccess:
    # AddType x-mapp-php5 .php
    # AddHandler x-mapp-php5 .php

    RewriteEngine on

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

    ErrorDocument 404 /page-unavailable/

    order deny,allow
    allow from none
    deny from all

    I hope you understand my bad english ;)

    Greetings

  38. CBS says:

    I already solved some problems by reading all the comments here, but deleting all entries in the tables “jobs” and “job_applications” did not work out in case of the fatal error message: “Call to a member function query() on a non-object in /homepages/10/d19972143/htdocs/jobberbase/_includes/class.Job.php on line 976″. MySQL 5.0 is running on the system. Looking forward for advice, tanks!

  39. CBS says:

    PS: I’m now also running PHP Version 5.2.6 via htaccess “hack” AddType x-mapp-php5 .php, but the error appears anyhow. :-(

  40. CBS says:

    Also solved, the db name was wrong, but there is just the next problem. :-S

  41. ICPM says:

    I’m installing this on a non production site to test it out. I have edited config and receive this error: Parse error: parse error, unexpected ‘{‘ in /home/content/s/f/u/sfutterer/html/Jobs/config.php on line 106

    I am using require_once ‘_includes/class.Db.MySql.php’; as I don not believe mySqli is installed on this server.

    Host is godaddy and phpinfo can be seen here: http://www.projectmanagementknowledgecenter.com/phpinfo.php

    Other details are:
    # Server version: 5.0.45-log
    # MySQL client version: 5.0.27
    # Protocol version: 10

    How do I overcome the aforementioned error?

  42. ICPM says:

    i just updated the SQL language to 5. – we’ll see if that helps…

  43. Filip says:

    you don’t have php5 (if you would have read all previous comments, you would have seen that others had the same problem).

  44. senthil says:

    Hi,

    I had the problem of .htaccess problem. The following is what i did and got jobberbase working..

    1. Edit httpd.conf file. check for any directives for document root. for me, it was like AllowOverride None. In such cases, the .htaccess would not be processed.

    2. Change to Allowoverride All . But, it still will not work. Restart apache to bring changes in to effect.

    Now access jobber base and it will work very well..

    Hope this helps

  45. Dan says:

    Notice: Undefined index: REQUEST_URI in C:\Inetpub\vhosts\jobinvanzari.ro\httpdocs\config.php on line 129

    Warning: Smarty::include(C:\Inetpub\vhosts\jobinvanzari.ro\httpdocs\_templates/_cache/\%%45^45E^45E480CD%%index.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in C:\Inetpub\vhosts\jobinvanzari.ro\httpdocs\_includes\smarty\libs\Smarty.class.php on line 1251

    care e solutia?

  46. Filip says:

    Dan, verifica daca ai directorul _templates/_cache. Daca nu, creeaza-l si pune drepturi de scriere pe el.

  47. Dan says:

    il am si i-am dat drepturi dar acum merge prima pagina si atat – in partea de sus am urmatorul mesaj:Notice: Undefined index: REQUEST_URI in C:\Inetpub\vhosts\jobinvanzari.ro\httpdocs\config.php on line 130

    si nici nu apar niste foldere – ex:job, etc – sa fie oare ceva la htaccess?

  48. keith says:

    I have loaded the board into http://www.expatpatter.com/jobs/

    I have done everthing that is says in the installation but when I try to load config.php it comes up with a server 500 message.

    Can you please help?

  49. Natasja says:

    Hi
    Can someone please post a a sample of a config file that has all the changes made to pleas?

Leave a Reply





Always happy to hear from you!

Follow us on twitter @jobberbase
or email us at hello [at] jobberbase.com