问题
I try to create a rest API for my android app using CodeIgniter rest services. Everything is fine on localhost. but when I upload it on live server and test again it throws the error. I creating rest API very first time so I have no idea what I'm doing wrong. It still works fine on localhost. Please help me to find out where I make mistake or it is a live server problem. Your answers will be appreciated. Thanks
回答1:
I'm going to give answer of my question. I hope this will help others to solve this type of error. I changed my PHP version on server of a particular domain from 5.4.45 to 7.1.8. Before I changing my PHP version it gives me error CI_Exceptions class not found. and then I changed my PHP version and now that's working for me. I faced some other problems also but I solved them by help of stackoverflow I hope this will help others
来源:https://stackoverflow.com/questions/51914135/codeigniter-rest-server-fatal-error-class-ci-exceptions-not-found