Get_instance Does not work in Hosting |
Hi, I'm using CI 3.1.0. I have made a Library. I used get_instance method in Library. It's Working fine in my local pc (xampp) But I'm getting blank page in My Hosting server. I can't figure it out.
![]() Code: function __construct()
(11-01-2017, 08:51 PM)buzz4rd Wrote: Hi, I'm using CI 3.1.0. I have made a Library. I used get_instance method in Library. It's Working fine in my local pc (xampp) But I'm getting blank page in My Hosting server. I can't figure it out. Check the error_log.
1) Make sure that your editor is not saving your code with the BOM.
2) Make sure there is no white space, newlines at the top and bottom of the file 3) Make sure you do not include the PHP closing tag ( ?> ). What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |