coen-hyde / Shanty-Mongo

Shanty Mongo is a mongodb library for the Zend Framework. Its intention is to make working with mongodb documents as natural and as simple as possible. In particular allowing embedded documents to also have custom document classes.
Other
200 stars 52 forks source link

return parent::__construct($connectionString, $options) error in Connection.php #46

Closed zapatista closed 13 years ago

zapatista commented 13 years ago

When i try, it gives me this error: Fatal error: Cannot call constructor in E:\www\ZendFramework-1.11.11-minimal\bin\hol\library\Shanty\Mongo\Connection.php on line 35.

Do you know why?

coen-hyde commented 13 years ago

The constructor of Shanty_Mongo_Connection is the Pecl Mongo library. You need to install Mongo through pecl.

http://pecl.php.net/package/mongo

It's listed as one to the requirements of Shanty Mongo.

Cheers, Coen