View is not loaded

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.


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 Wink

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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