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

DBAL-17: E_STRICT error in Doctrine\DBAL\Driver\OCI8\Driver::_constructDsn() #1329

Closed
doctrinebot opened this issue Jun 5, 2010 · 6 comments
Assignees
Labels
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user eriksencosta:

I get an E_STRICT error in Doctrine\DBAL\Driver\OCI8\Driver::_constructDsn() because I forgot to set a 'dbname' key in the params array to Doctrine\DBAL\DriverManager.

My Doctrine is a svn checkout, from 2.0.0-beta1 tag.

A patch is attached (patch -p0 < patch.diff on project root).

@doctrinebot
Copy link
Author

Comment created by @beberlei:

is specifying the database name optional during connection to oracle databases? otherwise we could also throw an exception.

@doctrinebot
Copy link
Author

Comment created by eriksencosta:

It's optional, according to http://php.net/oci_connect:

"If not specified, PHP uses environment variables such as TWO_TASK (on Linux) or LOCAL (on Windows) and ORACLE_SID to determine the Oracle instance to connect to."

I just spotted the error, I don't have an Oracle database neither the oci8 extension in my machine.

@doctrinebot
Copy link
Author

Comment created by @beberlei:

fixed anyways

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot
Copy link
Author

Imported 1 attachments from Jira into https://gist.github.com/105e5b46f632c09fe007

@github-actions
Copy link

github-actions bot commented Aug 9, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants