REST Server integration

edited July 2011 in Installation
I am trying to integrate Phil Sturgeon's REST Server (https://github.com/philsturgeon/codeigniter-restserver) and my existing models keep saying the following:

Fatal error: Class 'Model' not found in /var/www/vhosts/..../httpdocs/fuel/application/models/testmodel.php on line 2

The 'testmodel' is extending from Model. I trying to move some of the existing implementation that works in a standard CI 2.0 config with a Fuel install within the 'application' folder.

Comments

  • edited 9:21AM
    CI 2.0 doesn't have a Model class anymore... it is now CI_Model... could that be your issue?
  • edited 9:21AM
    Doh! Should have known that. Thanks!
Sign In or Register to comment.