Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Class undefined: MongoCursorException #45

Open
ProdigyView opened this issue Aug 30, 2015 · 4 comments
Open

Class undefined: MongoCursorException #45

ProdigyView opened this issue Aug 30, 2015 · 4 comments

Comments

@ProdigyView
Copy link

I'm on HHVM 3.82 and I getting this error in the HHVM logs:

[hphp] [23122:7f9591bff700:2055:000001] [] \nFatal error: Class undefined: MongoCursorException

I'm digging more into the problem but is there any clue to what this is yet?

@ProdigyView
Copy link
Author

So it works in php-fpm. Does anyone have an idea what can be causing this?

@ProdigyView
Copy link
Author

A little more info, I defined the class and did a stack trace after I created my own undefined class:

http://pastebin.com/AgYG3LAZ

@ProdigyView
Copy link
Author

One more update, it occurs when I use $push.

@devdreamajax
Copy link

Hi, I have installed mongo-hhvm driver with php version of 5.6. I have connected the mongo database while executing hhvm filename.php. I got an error as
"Uncaught exception: Could not open extension /usr/lib/x86_64-linux-gnu/hhvm/extensions/20150212/mongo.so: /usr/lib/x86_64-linux-gnu/hhvm/extensions/20150212/mongo.so: cannot open shared object file: No such file or directory" .
In php.ini file , i have specified extensions as,
hhvm.dynamic_extension_path=/usr/lib/x86_64-linux-gnu/hhvm/extensions/20150212,
hhvm.dynamic_extensions[mongodb]=mongodb.so .

kindly provide me solution to proceed further.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants