Welcome Guest, Not a member yet? Register   Sign In
One of my controllers refuses to load any views!
#9

[eluser]dauber[/eluser]
So some further steps....

- Reduced the do_search() method so that this was literally the WHOLE METHOD:

Code:
function do_search() {
        $this->load->view('search_list');
}

Result: blank page with "1" as the entire source code.

- Replaced that line in do_search() with this:
Code:
redirect('srchgames_ctrl/display_results');

and added this function to the controller:

Code:
function display_results() {
        error_log("display results");
        $this->load->view('search_list');
    }

Result: same thing: blank page, with "1" in the source code and nothing else.

And the error log didn't have "display results" in it, so that redirect wasn't even firing.

- Added this to the do_search() method:
Code:
error_log("redirecting");

Result: again, blank page with "1" as the entire source code, but this time the word "redirecting" appeared in the error log.

I'm really beyond frustrated at this point. I'm pretty much mirroring every other form, model, controller, view, etc., that I have on this page, all of which work perfectly...


Messages In This Thread
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 11:05 AM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 12:19 PM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 01:38 PM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 02:00 PM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 02:21 PM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 04:16 PM
One of my controllers refuses to load any views! - by El Forum - 08-07-2014, 04:42 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 05:24 AM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 11:20 AM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 11:31 AM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 11:51 AM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 12:06 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 09:26 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 09:46 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 09:53 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:01 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:07 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:20 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:24 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:49 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:50 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 10:53 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 11:10 PM
One of my controllers refuses to load any views! - by El Forum - 08-08-2014, 11:13 PM
One of my controllers refuses to load any views! - by El Forum - 08-09-2014, 06:04 AM
One of my controllers refuses to load any views! - by El Forum - 08-09-2014, 07:55 AM
One of my controllers refuses to load any views! - by El Forum - 08-09-2014, 10:00 AM
One of my controllers refuses to load any views! - by El Forum - 08-09-2014, 03:31 PM
One of my controllers refuses to load any views! - by El Forum - 09-02-2014, 04:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB