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

PDOConnector - dblib does not support setting attributes #38

Open
sminnee opened this issue Sep 7, 2016 · 3 comments
Open

PDOConnector - dblib does not support setting attributes #38

sminnee opened this issue Sep 7, 2016 · 3 comments

Comments

@sminnee
Copy link
Member

sminnee commented Sep 7, 2016

@flashbackzoo commented on Tue Aug 23 2016

Using:

  • OSX 10.11.6 (El Capitan)
  • PHP 5.6.25
  • dblib PDO driver
  • silverstripe 3.4

Connecting to a remote Microsoft SQL Server throws this error

silverstripe-mssql-error

Setting $options to null (like I have commented out in the screenshot) fixes the issue.

Would you accept a pull request which conditionally sets $options to null if the driver is dblib?


@dhensby commented on Thu Sep 01 2016

I guess so... @tractorcow?

@flashbackzoo
Copy link

Not sure this issue has been moved to the correct place. It's an issue with a Framework file, and the project that surfaced the issue isn't using the MSSQL module, so is unrelated.

@tractorcow
Copy link
Contributor

I think this is the right place for the issue;

What I think PDOConnector needs is a plugin system so that third party modules can inject connection string patterns. This can be a core as well as connector module fix.

@kinglozzer
Copy link
Member

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

4 participants