mongofill / mongofill-hhvm

A mix of the original Mongofill extension + BSON implementation in C++
MIT License
32 stars 19 forks source link

Class undefined: MongoCursorException #45

Open ProdigyView opened 9 years ago

ProdigyView commented 9 years ago

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 commented 9 years ago

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

ProdigyView commented 9 years ago

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 commented 9 years ago

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

devdreamajax commented 7 years ago

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.