Welcome Guest, Not a member yet? Register   Sign In
Segments Question
#3

[eluser]Jamie Rumbelow[/eluser]
Hey Ducky,

The reason why it's going blank (I think) is that you've got PHP errors turned off, so it's just going totally white and unresponsive.

The reason why you're getting errors is because you've not allowed for enough parameters in the arguments list of the controller - you've specified none in the function declaration, for example:

Code:
function index() {
    // code
}

...and CodeIgniter is trying to pass a parameter to it, which in turn is throwing a PHP error and making your application blank. Turn on PHP errors and add a parameter to your controller function and it should fix it!

Jamie


Messages In This Thread
Segments Question - by El Forum - 12-06-2009, 05:42 AM
Segments Question - by El Forum - 12-06-2009, 06:04 AM
Segments Question - by El Forum - 12-06-2009, 06:26 AM
Segments Question - by El Forum - 12-06-2009, 06:26 AM
Segments Question - by El Forum - 12-06-2009, 07:10 AM
Segments Question - by El Forum - 12-06-2009, 09:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB