Skip to content

undefined method DboDb2::getSchemaName() (and others) for DboDb2.php class #90

Description

@kmmartell

Setting up DB2 database, following the blog tutorial.
Added this file: https://github.com/cakephp/datasources/blob/2.0/Model/Datasource/Database/Db2.php

As a Db2Dbo.php

Check: Database connection exists:

Go into cake/posts for the blog tutorial, and it cannot find this method, causing a fatal error.

This method exists in the DboSource class, which it extends, but still getting the issue.
Added this to my class initially "App::uses('DboSource', 'Model/Datasource');" which got the database connection to work

Anyone know how to fix this? Seems like an issue with the extension of Db2Source and its methods

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions