Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from CI2 -> CI3 with Datamapper, call to undefined method, sqlsrv error #20

Open
ekrister opened this issue Sep 16, 2022 · 0 comments

Comments

@ekrister
Copy link

Hello!

I'm in the process of upgrading an older Codeigniter project from v2 to v3. I've been using Datamapper and noticed that this repository apparently contains a functioning version of DM for CI3. However, when replacing all the files and double checking everything, I still end up with this error that I am unable to solve:

Type: Error
Message: Call to undefined method CI_DB_sqlsrv_driver::dm_call_method()
Filename: /var/www/xxxxxxx/application/libraries/Datamapper.php
Line Number: 1034

I should mention I'm using MS SQL server and also had to uppercase the first letter of Datamapper.php file in application/libraries for CI3. MS SQL drivers are properly installed as the CI2 version of the program is working fine on the same server.

I know Datamapper is old and should be replaced, but still wanted to try my luck here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant