Welcome Guest, Not a member yet? Register   Sign In
using Datamapper with HMVC together. It’s compatible?
#1

[eluser]Unknown[/eluser]
Hi, Could I use Datamapper with Modular Extensions HMVC together. It’s compatible?

I tested hmvc with Datamapper 1.60 using the examples in the datamapper download.

I make the examples folder inside modules and moved the examples controller/models to
modules\examples\controllers\ and modules\examples\models\

and I get the following error:

Fatal error: Class 'User' not found in C:\wamp\www\livewire\system\livewire\modules\examples\controllers\examples.php on line 75

the code for line 75 is:
$u = new User();

Do I have to make any special configuration to make datamapper to work with Modular Extensions HMVC ?

thanks

Andy
#2

[eluser]WanWizard[/eluser]
Datamapper 1.6 is ancient, and doesn't even support CI 1.7.x.

Please upgrade to the latest version (1.8.0), it supports CI 2.x (but currenly not Reactor newer than last week!), and is fully compatible with Modular Extensions HMVC. See my signature.
#3

[eluser]Unknown[/eluser]
@WanWizard, thank you very much for your quick response, I will download the new version.

Andy




Theme © iAndrew 2016 - Forum software by © MyBB