title: jobberBase php installation is not working
body: <p>I installed jobberBase using automatic installation (softaculous) on arvixe. As this was all automatic installation chances of any errors are rare. Still I did double checked that database got created fine; also the configuration looked fined. </p>
  
  <p>I saw this errors on many other threads too but couldnt find a solution anywhere ; so looks like its a common installation problem. Most probably  the php are not able to connect to DB ! Any help would be highly appreciated. </p>
  
  <pre><code>Warning: mysqli::mysqli() expects parameter 5 to be long, string given in /home/muskete3/public_html/jobber/_includes/class.Db.php on line 20
  
  Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/muskete3/public_html/jobber/_includes/class.Db.php on line 72
  
  Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/muskete3/public_html/jobber/_includes/class.Db.php on line 73
  
  Warning: mysqli::query() [mysqli.query]: Couldn't fetch Db in /home/muskete3/public_html/jobber/_includes/class.Db.php on line 31
  
  Warning: mysqli_error() [function.mysqli-error]: Couldn't fetch Db in /home/muskete3/public_html/jobber/_includes/class.Db.php on line 32
  
  Fatal error: Call to a member function fetch_assoc() on a non-object in /home/muskete3/public_html/jobber/_includes/class.JobberSettings.php on line 23 
  </code></pre>
  
  <hr>
  
  <p>My configuration file is :</p>
  
  <pre><code>&lt;?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' =&gt; 'www.jobs41.net',
      // mysql credentials
      'db_host' =&gt; 'localhost',
      'db_port' =&gt; 3306,
      'db_user' =&gt; '***',
      'db_password' =&gt; '***',
      'db_name' =&gt; '***',
      'db_prefix' =&gt; '',
      // your site's full url
      'app_url' =&gt; 'http://www.jobs41.net/jobber/',
      // error reporting
      'ini_error_reporting' =&gt; E_ALL,
      'ini_display_errors' =&gt; 'On',
      // environment setting 1 (use 'local' for localhost/testing OR 'online' for live, production environment)
      'location' =&gt; 'local',
      // environment setting 2 (use 'dev' together with 'local' in the previous setting OR 'prod' with 'online')
      'environment' =&gt; 'dev',
      //'apache_mod_rewrite', 'iis_url_rewrite' -microsoft URL Rewrite module, 'iis_isapi_rewrite'
      'rewrite_mode' =&gt; 'apache_mod_rewrite'
  );
  
  // live (http://www.yourjobberbasedomain.com)
  $__instances['live'] = array(
      'prefix' =&gt; 'www.jobs41.net',
      'db_host' =&gt; 'localhost',
      'db_port' =&gt; 3306,
      'db_user' =&gt; 'muskete3_jobb563',
      'db_password' =&gt; '6Sn82hxv7P',
      'db_name' =&gt; 'muskete3_jobb563',
      'db_prefix' =&gt; '',
      'app_url' =&gt; 'http://www.jobs41.net/jobber/',
      'ini_error_reporting' =&gt; E_ALL,
      'ini_display_errors' =&gt; 'Off',
      'location' =&gt; 'online',
      'environment' =&gt; 'prod',
      'rewrite_mode' =&gt; 'apache_mod_rewrite'
  );
  </code></pre>