DMZ 1.7.1 (DataMapper OverZealous Edition) |
[eluser]Dat Nguyen[/eluser]
Hi all, I am integrating the DMZ into CI 1.7.2. I am get following error, but I did not know how to resolve it, please help me: Code: Fatal error: Call to undefined method stdClass::_reset_select() in D:\xampplite\htdocs\asd\system\application\libraries\datamapper.php on line 1089 I already load the database in the application/config/autoload.php file: Code: $autoload['libraries'] = array('database', 'session', 'datamapper', 'lang_detect', 'language'); I got this error when I trying to create a simple example that inserts new record into a database table named "ci_users". I have a table prefix configuration in application/config/datamapper.php file as follow: Code: $config['prefix'] = 'ci_'; Here is my User model: Code: <?php And my controller: Code: <?php I am using HMVC library (that published here) to separate my modules from CodeIgniter application folder. Please let's me know what information I am missing to describe the error. Any suggestions are welcome! Thanks and best regards, Dat. |
Welcome Guest, Not a member yet? Register Sign In |