1. We are taking script installation request again.
    Before requesting a script installation please read our FAQ

How to install jobberBase

Discussion in 'Tutorials' started by Bad Karma[CORE], Jul 10, 2010.

  1. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
    This tutorial is based on an installation request that we got in some days ago. We didn´t get any further response from the user that opened the request so i decided to come up with a little tutorial that might help users getting jobberBase installed on their site. For this tutorial i use the latest available version of jobberBase from jobberBase - The Open Source Job Board Software and my box running XAMPP as webserver.

    Step 1: Downloading and extracting jobberBase
    This is the easiest step i think hehe. Just go to jobberBase - The Open Source Job Board Software and download the latest version of it (just like you should do with any other script you are about to install. Always go for the latest version and don´t use versions that are outdated as they might contain vulnerabilities that have been patched in the latest version.).

    The download comes as .zip archive that needs to be extracted before you can start to install/upload the script to your webspace. Now there are several ways how you could extract the .zip archive like use 7Zip or WinRAR or upload the .zip archive to your webserver and then for example use cPanel file manager to unzip the archive on the server. Up to you which way you choose or what´s most convenient for you.

    Step 2: Uploading jobberBase to your server or webspace
    To upload the files / directories of jobberBase simply establish a connection to your server using some FTP client like FileZilla or FlashFXP. If you need help with uploading or configuring your FTP client please let us know and we´ll try to help as much as we can.
    Remember to just upload the content inside the /public folder, everything else isn´t needed for the installation so it´s pointless to upload it and waste valuabe space on your server.

    Step 3: Installing jobberBase
    To get jobberBase installed there are a few things left to do after uploading all files and directories. The first thing you should do is import the MySQL database that is located in the /db directory and named jobberbase.sql. You can import the sql dump through phpMyAdmin into the database you are planning to use for your jobberBase installation. Just go to phpMyAdmin (or whatever interface your web hosting offers to manage your MySQL databases) and import the jobberbase.sql file into the database. Next is the probably most complicated part of the installation as you now get to change around various settings inside the configuration file.

    Inside the public\_config directory of jobberBase open the file config.envs.php in a text editor like Notepad, Notepad++ or UltraEdit. It might look confusing at first but with a little guidance i am sure you can sort out what to fill where. Let´s have a look at the configuration file and the relevant changes you have to make now
    PHP:

    Sorry you need to register or login to see this code !

    It´s not that well documented like for example the WordPress configuration file but with a little thinking you should be able to figure out what to fill where.

    Replace the values for "mysql credentials" with your actual details for your mysql database (user name, password, name of the mysql server and name of your mysql database).

    Replace "app_url" with the URL (not the path) to your jobberBase installation. Make sure the URL end with a trailing slash, else all kind of things will happen when you open your website hehe.

    Make the above changes for both of the configuration parts and pay attention to change the URLs to your site. Also make sure to set "location" to "online and "environment" to "prod" and to change the prefix to your URL also. A fully modified configuration section looks something like this:
    Code:

    Sorry you need to register or login to see this code !

    Once you made all changes you can save the configuration file and proceed to the next step.

    Step 4: Starting jobberBase
    After all changes have been made and saved you should now be able to visit the working jobberBase installation on your site. Simply open a browser and navigate to the page where you installed jobberBase at. This should bring up the front end of the script. To start messing around as an admin and set it up the way you want navigate to http://yoursite.com/admin and you will see the administrator login. To login there simply user admin as user and password. Inside the admin control panel you now can set up the site the way you want and change your admin details (don´t wanna leave the password at the default value, do you?)
    #1
  2. Lykaon Guest

    Ratings Received:
    +0 / 0 / -0
    Hmm Thank you for your valuable input but I still get error messages. I'm using Godaddy and I get the following errors:

    Warning: mysqli::mysqli() expects parameter 5 to be long, string given in /home/content/07/7557807/html/test/public/_includes/class.Db.php on line 20

    Warning: mysqli::query() ]: Couldn't fetch Db in /home/content/07/7557807/html/test/public/_includes/class.Db.php on line 72

    Warning: mysqli_error() []: Couldn't fetch Db in /home/content/07/7557807/html/test/public/_includes/class.Db.php on line 73

    Warning: mysqli::query() ]: Couldn't fetch Db in /home/content/07/7557807/html/test/public/_includes/class.Db.php on line 31

    Warning: mysqli_error() r]: Couldn't fetch Db in /home/content/07/7557807/html/test/public/_includes/class.Db.php on line 32

    Fatal error: Call to a member function fetch_assoc() on a non-object in /home/content/07/7557807/html/test/public/_includes/class.JobberSettings.php on line 23

    Not sure what to do ?

    Thanks
  3. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  4. Dr. Ahmed El-Shanawany Guest

    Ratings Received:
    +0 / 0 / -0
    i have the same problems Laykaon had
    these errors appears at the homepage with entering the site from the browser
    plz help
  5. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  6. lobrc Administrator

    Ratings Received:
    +435 / 0 / -0
    jobberBase < what a name, hehe :D
  7. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    Hi,
    Please have a look at my congig.env.php
    --------------------------------------------
    /**
    * Define environments
    *
    */

    // local (http://localhost/jobberbase/public)
    $__instances['local'] = array(
    // should be a unique part of the url (or the entire url if you wish)
    'prefix' => 'localhost',
    // mysql credentials
    'db_host' => 'localhost',
    'db_port' => 3306,
    'db_user' => 'user_jbrbs',
    'db_password' => 'randompassword',
    'db_name' => 'user_jobberbase',
    'db_prefix' => '',
    // your site's full url
    'app_url' => 'http://antharjaala.com/jobs/jobberbase/',
    // error reporting
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'On',
    // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment)
    'location' => 'local',
    // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online')
    'environment' => 'dev',
    //'apache_mod_rewrite', 'iis_url_rewrite' -microsoft URL Rewrite module, 'iis_isapi_rewrite'
    'rewrite_mode' => 'apache_mod_rewrite'
    );


    // live (http://www.yourjobberbasedomain.com)
    $__instances['live'] = array(
    'prefix' => 'antharjaala.com/jobs/jobberbase/',
    'db_host' => 'localhost',
    'db_port' => 3306,
    'db_user' => 'user_jbrbs',
    'db_password' => 'randompassword',
    'db_name' => 'user_jobberbase',
    'db_prefix' => '',
    'app_url' => 'http://antharjaala.com/jobs/jobberbase/',
    'ini_error_reporting' => E_ALL,
    'ini_display_errors' => 'Off',
    'location' => 'online',
    'environment' => 'prod',
    'rewrite_mode' => 'apache_mod_rewrite'
    );
    When I open the website it's showing the error
    -----------------------------------------------------
    Forbidden

    You don't have permission to access /jobs/jobberbase/index.php on this server.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Apache Server at antharjaala.com Port 80
    ‹
    visiting the admin section giving this error
    --------------------------------------------
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@*********** and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Apache Server at antharjaala.com Port 80
    ‹
    Please help me rectify this issue.
  8. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  9. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    Here is the contents of .htaccess File
    -------------------------------------------
    # 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>
  10. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  11. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    No use.. I'm getting same error.
  12. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  13. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    No .. the problem is not solved.

    I'm trying fresh installtion again....

    Will post he results
  14. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    After following all the steps....
    Opening the link is giving me the error
    Same as Lykaon (Reply 2)
  15. Bad Karma[CORE] Guilty as charged

    Ratings Received:
    +1,302 / 3 / -2
  16. pnrkumar Member

    Ratings Received:
    +0 / 0 / -0
    No my site is hosted at hostgator.

Share This Page