CodeIgniter Fatal error: Allowed memory size of bytes exhausted
I'm getting this Fatal Error Message in my codeIgniter, I've already tried some answers which has the same question. I've already set my php.ini max_execution_time = 300 max_input_time = 600 memory_limit = 128M But still I'm getting the same Fatal error message, I don't know if the problem is in my code or in php settings. Here are some my of codes in controller: public function blog(){ $this->load->model("blog_model"); $data["title"] = "CodeIgniter Projects - Blog"; if($this->getLastUrl() == 'blog'){ $data["result"] = $this->blog_model->getBlogs(); $this->load->view("view_blog", $data); }else