I want to smash my face in with a rusty crowbar (really weird bug) |
[eluser]richthegeek[/eluser]
Hi So i'm migrating a site from my dev localhost (PHP/MYSQL 5) to the live server (v 4 on all ) and I'm getting a really screwed up error. Basically I have a "staff" folder in the controllers, and a "customer" controller (http://www.richardlyon.co.uk/customer.txt) which has "all" and "view" as its two methods (besides index and constructor). However, when I go to "~/staff/customer/all" it *actually* goes to ~/staff/customer/view/staff/navigation The staff/navigation part is a little wtf, but in my controller I have this: Code: $this->viewdata->add( "header", "navigation", $this->load->view( "staff/navigation", '', true ) ); The "viewdata" model is a simple class () that manages the viewdata across several methods and even from within models when required (its a complex site in other controllers). So the "staff/navigation" is coming from the view that I call in the controller. Tell me that makes sense?? Commenting it out solves it, but obv that farks it over in other ways (no navigation, for example). Any idea why this might be occuring??http://www.richardlyon.co.uk/viewdata.txt |
Messages In This Thread |
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 08-31-2009, 05:48 PM
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 08-31-2009, 05:51 PM
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 08-31-2009, 08:55 PM
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 09-01-2009, 03:00 PM
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 09-01-2009, 03:10 PM
I want to smash my face in with a rusty crowbar (really weird bug) - by El Forum - 09-01-2009, 03:39 PM
|