title: Fatal error: Call to a member function field_data(), when moving files to new cluster server
body: <p>I'm using a custom CMS that is based on <a href="http://codeigniter.com/" rel="nofollow">codeIgnighter</a>. Previously it's been running on a <a href="http://www.heartinternet.co.uk/" rel="nofollow">Heart Internet</a> server. We are moving to a cluster server with <a href="http://www.tsohost.co.uk/" rel="nofollow">tsohost</a>.</p>
  
  <p>My code run perfectly fine on the old server (linux, php 5.2, mySQL). I've set up the new server with the same speck (as far as I can tell). I would like to eventually move to 5.3, but for now I just need to get this working without rewriting most of my code, so if you answers can be for php 5.2 it would be more helpful.</p>
  
  <p>Now I get the error:</p>
  
  <pre><code>Fatal error: Call to a member function field_data() on a non-object in /var/sites/p/pplsport.eu/public_html/system/database/DB_driver.php on line 863
  </code></pre>
  
  <p>I've traced the issue back to the following line in my code:</p>
  
  <pre><code>$fields = $this-&gt;db-&gt;field_data($this-&gt;table);
  </code></pre>
  
  <p>I've checked to see that <code>$this-&gt;db</code> exists (which is does), and <code>$this-&gt;table</code> does refer to the correct table/model.</p>
  
  <p>Here is the site running on the <a href="http://www.pplsport.com" rel="nofollow">old server</a>, and the <a href="http://www.pplsport.eu" rel="nofollow">new server</a>.</p>
  
  <p>I'm afraid I've run out of ideas and can't think how to further debug this. If any one could help, that would be great.</p>
  
  <p>Thanks in advance</p>