Welcome Guest, Not a member yet? Register   Sign In
Cannot get the contents of a view ($this->load->view('view', $data, true) returns empty string
#1

[eluser]Unknown[/eluser]
It appears that if the file that i'm loading (the view) is less than some amount of characters like 200 chars or so the i get the view returned into string but if I increase the file size to say 300 chars it returns empty string. If i use $this->load->view('view', $data,false) the file gets outputed correctly. I tried using ob_start() myself and ob_get_contents() return empty string. If i do this outside codeigniter's project it works perfectly.


Messages In This Thread
Cannot get the contents of a view ($this->load->view('view', $data, true) returns empty string - by El Forum - 11-27-2011, 02:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB