title: Database Error CodeIgniter 3.0.6
body: <p>Have updated application that was previous running on code ignitor version 3.0 to 3.0.6. On my local server its working fine but when I upload to ipage I get database error. Gone through the manual tried solution here on stack overflow unfortunately non works for me.</p>
  
  <p><a href="http://i.stack.imgur.com/BEiYh.png" rel="nofollow">link to error screenshot</a></p>
  
  <p><strong>DB connection</strong></p>
  
  <pre><code>'dsn'   =&gt; '',
  'hostname' =&gt; 'myipagehost',
  'username' =&gt; 'myusername',
  'password' =&gt; 'mypass',
  'database' =&gt; 'mydatabase',
  'dbdriver' =&gt; 'mysqli',
  'dbprefix' =&gt; '',
  'pconnect' =&gt; FALSE,
  'db_debug' =&gt; (ENVIRONMENT !== 'production'),
  'cache_on' =&gt; FALSE,
  'cachedir' =&gt; '',
  'char_set' =&gt; 'utf8',
  'dbcollat' =&gt; 'utf8_general_ci',
  'swap_pre' =&gt; '',
  'encrypt' =&gt; FALSE,
  'compress' =&gt; FALSE,
  'stricton' =&gt; FALSE,
  'failover' =&gt; array(),
  'save_queries' =&gt; TRUE
  </code></pre>
  
  <p><strong>Controller for landing</strong></p>
  
  <pre><code>class Landing extends CI_Controller {
  public function __construct()
  {
      parent::__construct();
  }
  public function index()
  {   
      // $this-&gt;load-&gt;view('template/frontheader');
      $this-&gt;load-&gt;view('landing/index');
      // $this-&gt;load-&gt;view('template/frontfooter');
  }
  function internships()
  {
      $this-&gt;load-&gt;view('landing/internship');
  }
  function cities()
  {
      $this-&gt;load-&gt;view('landing/cities');
  }
  function categories()
  {
      $this-&gt;load-&gt;view('landing/categories');
  }
  
  function policy()
  {
      $this-&gt;load-&gt;view('landing/policy');
  }
  
  function support()
  {
      $this-&gt;load-&gt;view('template/frontheader');
      $this-&gt;load-&gt;view('landing/support');
      $this-&gt;load-&gt;view('template/frontfooter');
  }
  function termsandcondition()
  {
      $this-&gt;load-&gt;view('landing/termaandcondition');
  }
  function aboutus()
  {   
      $this-&gt;load-&gt;view('template/frontheader');
      $this-&gt;load-&gt;view('landing/aboutus');
      $this-&gt;load-&gt;view('template/frontfooter');
  }
  function partner()
  {   
      $this-&gt;load-&gt;view('template/frontheader');
      $this-&gt;load-&gt;view('landing/partners');
      $this-&gt;load-&gt;view('template/frontfooter');
  
  }
  function faq()
  {
      $this-&gt;load-&gt;view('landing/faq');
  }
  
  function contact()
  {
      $this-&gt;load-&gt;view('landing/contactus');
  }
  </code></pre>
  
  <p>}</p>