Welcome Guest, Not a member yet? Register   Sign In
View is not loaded
#1

[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
#2

[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 Wink
#3

[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,




Theme © iAndrew 2016 - Forum software by © MyBB