Welcome Guest, Not a member yet? Register   Sign In
Datamapper Call to undefined method Error
#1

[eluser]s1nc4pp[/eluser]
Hi, i installed ci 2.0.3 and download datamapper v1.8.When i go to my page i will error

Fatal error: Call to undefined method CI_DB_mysql_driver::dm_call_method() in C:\wamp\www\data\application\libraries\datamapper.php on line 1024

how can i solve it ?
#2

[eluser]WanWizard[/eluser]
Have you installed the bootstrap in your index.php file?
#3

[eluser]s1nc4pp[/eluser]
yea i read to installin user guide and make of all .But i will that error
#4

[eluser]WanWizard[/eluser]
If you get that error, the bootstrap isn't loaded or isn't loaded properly.

In your case $this->db points to CI's DB class, not to Datamappers.

And which version are you using exactly? Because v1.8 is quite old. I have the latest version (1.8.2.1) running on CI 2.0.2 without problems.
#5

[eluser]s1nc4pp[/eluser]
I used to datamapper 1.8.2 on http://datamapper.wanwizard.eu/pages/download.html
I download to codeigniter latest version 2.0.3 i try that in my localhost.Maybe the problem lacolhost ?
And how can i load bootstrap my page ?
#6

[eluser]pbflash[/eluser]
[quote author="s1nc4pp" date="1337165167"]I used to datamapper 1.8.2 on http://datamapper.wanwizard.eu/pages/download.html
I download to codeigniter latest version 2.0.3 i try that in my localhost.Maybe the problem lacolhost ?
And how can i load bootstrap my page ?[/quote]
Bootstrap instructions are step 9 of the installation instructions.

http://datamapper.wanwizard.eu/pages/installation.html




Theme © iAndrew 2016 - Forum software by © MyBB