View is not loaded - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: View is not loaded (/showthread.php?tid=6878) |
View is not loaded - El Forum - 03-15-2008 [eluser]robertvn2k[/eluser] Hi all, I have a strange problem. After clicking submit on a page, the controller is called. In the controller, I do some tasks (upload, check data,...) and it takes some time to do. After that the view will be loaded but what I get is the blank page. How do I correct this problem? Thanks in advance. Robert View is not loaded - El Forum - 03-15-2008 [eluser]fdog[/eluser] I've had that problem (not strange at all) before and for so many reasons: db errors, bad anchoring, bad redirects, etc... Maybe you could give us more detailed information so we can help you correct the problem. Posting code helps a lot View is not loaded - El Forum - 03-15-2008 [eluser]robertvn2k[/eluser] Thanks fdog. I am sure there has no error in db, anchoring,.... Below is the pseudo-code: function A() { //upload file --> it works //parse file and insert into db --> It works (All the data I need are inserted into db) $this->load->view("viewA");//this view is existing and has content but I only get the blank page. } I also tried redirect to another controller instead of using load view function. It is the same :-S Thanks, |