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

laravel/mongo connection error #11

Closed
agdm opened this issue Jul 31, 2013 · 2 comments
Closed

laravel/mongo connection error #11

agdm opened this issue Jul 31, 2013 · 2 comments

Comments

@agdm
Copy link

agdm commented Jul 31, 2013

error: Unresolvable dependency resolving [Parameter #0 [ $server ]].
placeholders in credentials for instead of actual values

Mongo connection array

'mongodb' => array(
    'default' => array(
        'host'     => 'ds047987-a0.mongolab.com',
        'port'     => port_num,
        'database' => 'dbname',
        'username' => 'user',
        'password' => 'password',
    ),
),
@jenssegers
Copy link
Contributor

Could you give a bit more details about this error?

@agdm
Copy link
Author

agdm commented Jul 31, 2013

I am using a Laravel 4.

I reread your directions for set up... and realized I had something commented out in /app/config/app.php due to an earlier issue with Composer.

Connects now.

@agdm agdm closed this as completed Jul 31, 2013
alcaeus pushed a commit to alcaeus/laravel-mongodb that referenced this issue Aug 16, 2023
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

2 participants