• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot get the contents of a view ($this->load->view('view', $data, true) returns empty string

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.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.