Skip to content

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

Description

@ekrister

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions