CodeIgniter Forums
How CIunit supports HMVC - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: How CIunit supports HMVC (/showthread.php?tid=54367)



How CIunit supports HMVC - El Forum - 09-05-2012

[eluser]Unknown[/eluser]
I am using HMVC in my codeigniter project because use it help to group my modules together so that code is better organised.

When I integrate CIunit with codeigniter by following kenjis tutorials(http://d.hatena.ne.jp/Kenji_s/20120117/1326763908), I got error when I try to run a test.


I get the following error:

[CIUnit] PHP Error: Notice - Trying to get property of non-object File Path: MX/
Loader.php (line: 48)
PHP Fatal error: Call to a member function fetch_module() on a non-object in E:
\xampp\htdocs\Project\application\third_party\MX\Loader.php on line 48


I read kenjis comments from https://bitbucket.org/kenjis/my-ciunit/issue/7/ciunit-hmvc.

However, I believe there have any way to support Ciunit and HMVC. Any experts developer can give a solution.

Thanks in advance.