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

Installation Issue in Cakephp 3.3.10 #8

Closed
hm-91 opened this issue Dec 14, 2016 · 2 comments
Closed

Installation Issue in Cakephp 3.3.10 #8

hm-91 opened this issue Dec 14, 2016 · 2 comments

Comments

@hm-91
Copy link

hm-91 commented Dec 14, 2016

Hi @tiaguinho, I'm getting below errors after installing in Cakephp 3.3.10

Use of undefined constant MONGODB_VERSION - assumed 'MONGODB_VERSION' [ROOT/vendor/hayko/mongodb/src/Database/Connection.php, line 109]

Error: Class '\MongoDB' not found File /Applications/XAMPP/xamppfiles/htdocs/gideon/vendor/hayko/mongodb/src/Database/Driver/Mongodb.php Line: 146

screen shot 2016-12-14 at 12 17 19 pm

@tiaguinho
Copy link
Owner

Hi @hm-91, you install mongodb drive for XAMPP?
If you do, which version of drive?

@hm-91
Copy link
Author

hm-91 commented Dec 17, 2016

@tiaguinho, Thanks for the reply

Sorry, My mistake I didn't install mongodb PHP driver for XAMPP. It works now.

I have also defined mongodb version on app.php
define(MONGODB_VERSION, "3.2.11");

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