Welcome Guest, Not a member yet? Register   Sign In
need help !!! ......... Fatal error: Call to undefined method CI_DB_mysql_driver::dm_call_method() in G:\SVN\CloudAccoun
#1

[eluser]Unknown[/eluser]
i am getting this error :

Fatal error: Call to undefined method CI_DB_mysql_driver::dm_call_method() in G:\SVN\CloudAccount\Trunk\App\application\libraries\datamapper.php on line 3550

on

$u = new User();
$u->where('id',$this->tank_auth->get_user_id());
$u->get();


i am trying to handle multiple database connections thru datamapper and ci
(error doesnot occour for default connection)
only occours for:

$config['db_params'] = 'common';

and only when using "where" clause

i have made all the installations for datamapper

even placed - "
require_once APPPATH.'third_party/datamapper/bootstrap.php';

" already in index file


hoping to get a solution .........
thanks.
#2

[eluser]web-johnny[/eluser]
Why you don't move the topic to DataMapper ORM v1.8.2? You have more chances to have a reply there.
#3

[eluser]WanWizard[/eluser]
Update your DM installation from bitbucket.

The first 1.8.2 release (or actually the included bootloader) had issues with multiple database connections.
#4

[eluser]Unknown[/eluser]
thanks ...
finally,
i got it done ...

$this->load->database('common',true);
//my actions with this database with datamapper
$this->db->close();
$this->load->database('default',true);
//continue with default database




Theme © iAndrew 2016 - Forum software by © MyBB