Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
282 views
in Technique[技术] by (71.8m points)

php - Codeigniter Rest Server - Fatal error: Class 'CI_Exceptions' not found

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 enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...