Create website API using codeigniter-restserver -> Fatal error: Cannot instantiate abstract class REST_Controller in |
[eluser]seba22[/eluser]
Hello, I need create API with json output. I found : https://github.com/philsturgeon/codeigniter-restserver I follow a description. I download "CodeIgniter_2.1.2" and unpack to my webserver. Next i download from https://github.com/philsturgeon/codeigniter-restserver file philsturgeon-codeigniter-restserver-2.6.0-33-g0b871cf I copy from that file /application/libraries/Format.php and /application/libraries/REST_Controller.php to same path but on my webserver. Next i copy /application/config/rest.php to same path but on my webserver. Next i edit autoload.php and change: Code: $autoload['libraries'] = array(); Code: $autoload['libraries'] = array('REST_Controller'); Upload all files. When i'm try to run my website index.php i got Code: Fatal error: Cannot instantiate abstract class REST_Controller in /MY PATH/system/core/Loader.php on line 1099 Please help
[eluser]PhilTem[/eluser]
Perfect. Great. Please, would you be so kind and make your thread/problem as [solved]? Thanks!
[eluser]seba22[/eluser]
[quote author="PhilTem" date="1343390374"]Perfect. Great. Please, would you be so kind and make your thread/problem as [solved]? Thanks![/quote] Yes, i will but please tell me how. I can't see that button. Regards
[eluser]PhilTem[/eluser]
You need to edit your first post and add a [solved] to the title. PS: I just saw, you have too little posts so you probably won't be able to see the 'edit'-button I guess...
[eluser]seba22[/eluser]
[quote author="PhilTem" date="1343396549"]You need to edit your first post and add a [solved] to the title. PS: I just saw, you have too little posts so you probably won't be able to see the 'edit'-button I guess...[/quote] When i'm try edit first topic, i got this -> Code: Error Message Hmmm |
Welcome Guest, Not a member yet? Register Sign In |