Welcome Guest, Not a member yet? Register   Sign In
CI and Phil Strugeons REST API
#1

[eluser]moos3[/eluser]
I'm trying to integrate it in my application and I'm getting the following using phils latest commits.

Fatal error: Call to undefined method CI_Output:Confusedet_status_header() in /var/www/system/application/libraries/REST_Controller.php on line 97

can anyone Help with this matter? I also had to comment out my whole routes configuration to get it to please see below:

Code:
<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

/*

| -------------------------------------------------------------------------

| URI ROUTING

| -------------------------------------------------------------------------

| This file lets you re-map URI requests to specific controller functions.

|

| Typically there is a one-to-one relationship between a URL string

| and its corresponding controller class/method. The segments in a

| URL normally follow this pattern:

|

|     www.your-site.com/class/method/id/

|

| In some instances, however, you may want to remap this relationship

| so that a different class/function is called than the one

| corresponding to the URL.

|

| Please see the user guide for complete details:

|

|    http://www.ellislab.com/codeigniter/user-guide/general/routing.html

|

| -------------------------------------------------------------------------

| RESERVED ROUTES

| -------------------------------------------------------------------------

|

| There are two reserved routes:

|

|    $route['default_controller'] = 'welcome';

|

| This route indicates which controller class should be loaded if the

| URI contains no data. In the above example, the "welcome" class

| would be loaded.

|

|    $route['scaffolding_trigger'] = 'scaffolding';

|

| This route lets you set a "secret" word that will trigger the

| scaffolding feature for added security. Note: Scaffolding must be

| enabled in the controller in which you intend to use it.   The reserved

| routes must come before any wildcard or regular expression routes.

|

*/



$route['default_controller'] = "main";

$route['scaffolding_trigger'] = "";



//$route['system/:any'] = "main/cron";



//$route['clip/raw/:any'] = 'main/raw/';

//$route['clip/options'] = 'main/view_options';

//$route['clip/:any'] = 'main/view';

//$route['recent'] = 'main/recent';

//$route['recent/:num'] = 'main/recent/$1';

//$route['about'] = 'main/about';

//$route['clip/download/:any'] = 'main/download';



//$route['iphone/:num'] = 'iphone';

//$route['iphone/view/:any'] = 'iphone/view';



//$route['api/:any'] = 'api';

//$route['example_api/:any'] = 'example_api';



?>


Messages In This Thread
CI and Phil Strugeons REST API - by El Forum - 11-15-2009, 04:48 PM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 04:53 AM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 06:51 AM
CI and Phil Strugeons REST API - by El Forum - 11-16-2009, 11:39 AM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 08:44 AM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 01:49 PM
CI and Phil Strugeons REST API - by El Forum - 11-17-2009, 05:23 PM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 08:58 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 09:24 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 10:35 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 10:50 AM
CI and Phil Strugeons REST API - by El Forum - 11-18-2009, 12:09 PM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 03:28 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:06 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:13 AM
CI and Phil Strugeons REST API - by El Forum - 02-04-2010, 04:23 AM
CI and Phil Strugeons REST API - by El Forum - 02-05-2010, 08:28 AM
CI and Phil Strugeons REST API - by El Forum - 02-19-2010, 05:15 AM
CI and Phil Strugeons REST API - by El Forum - 02-25-2010, 04:17 AM
CI and Phil Strugeons REST API - by El Forum - 07-21-2010, 07:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB