Welcome Guest, Not a member yet? Register   Sign In
How can I debug my CI code when getting a blank (white) page?
#9

[eluser]John_Betong[/eluser]
 
Hi Scouser,

// a blank - white - page,

Been there and got the T-shirt Sad

I find debugging in PHP about the same as debugging in Basic on a Tandy TRS80.

What makes it worse is that it is difficult to set breakpoints at the start, end, half way, etc because of not knowing the order that programs get called.

If you are fortunate enough to be able to load your Contoller the I use this debug code line and and gradually move it towards the View.

Code:
echo 'File: ' .__FILE__ . '  : Line: ' .__LINE__; die;

Cheers,

John_Betong
 

"With age come skills; it's called multi-tasking. I can laugh, cough, sneeze, fart and pee all at the same time."

 


Messages In This Thread
How can I debug my CI code when getting a blank (white) page? - by El Forum - 04-06-2008, 07:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB