Welcome Guest, Not a member yet? Register   Sign In
CI 3 & HMVC Issue
#1

Ok so i have HMVC up and running (Mostly).  All the features work except for calling my controller form a controller.... I can access the different controllers directly by module/controller/method or simply module/method that all works.  I can process information through one of the controllers.  I can't access one controller from the other and vice versa...

I have tried 


PHP Code:
$this->load->module('payment');
$result_data $this->Payment->process_payment($submitted_data); 

Also tried this one
PHP Code:
$result_data $this->load->module('Payment')->process_payment($submitted_data); 

All resulting in "Fatal error: Call to a member function process_payment() on a non-object"


I have tried everything and everything else seems to work.  no 404's nothing.  I am at a loss to figure out what might be wrong.  The only thing I didn't do was setup routs in the modules but did not thing that was needed, just one more thing to keep track of if it is not needed.


Any help would be greatly appreciated.  This is the first CI3 & HMVC app for me so I am not sure where to look next.


Thanks
Reply


Messages In This Thread
CI 3 & HMVC Issue - by rfulcher - 04-13-2015, 04:59 PM
RE: CI 3 & HMVC Issue - by rfulcher - 04-13-2015, 06:25 PM
RE: CI 3 & HMVC Issue - by rfulcher - 04-13-2015, 06:29 PM
RE: CI 3 & HMVC Issue - by rfulcher - 04-13-2015, 06:45 PM
RE: CI 3 & HMVC Issue - by rfulcher - 04-14-2015, 08:49 AM
RE: CI 3 & HMVC Issue - by rfulcher - 04-16-2015, 05:50 AM
RE: CI 3 & HMVC Issue - by mwhitney - 04-17-2015, 02:03 PM
RE: CI 3 & HMVC Issue - by CroNiX - 04-18-2015, 03:16 PM
RE: CI 3 & HMVC Issue - by celiomap - 08-15-2016, 05:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB