ErrorException [ Error ]: Call to undefined method MongoDB::instance() APPPATH/classes/controller/welcome.php @ line 23 18 * @return void 19 */ 20 public function action_index() 21 22 // echo Debug::classes(); 23 $m = MongoDb::instance('test'); 24 // $redis = Redis::instance('mystore'); 25 // $this->response->body = View::factory('welcome/index'); 26 }Which is strange, because the Debug lists the existence of this classes:
echo Debug::classes() "Mongo" "MongoDB" "MongoCollection" "MongoCursor" "MongoGridFS" "MongoGridFSFile" "MongoGridFSCursor" "MongoId" "MongoCode" "MongoRegex" "MongoDate" "MongoBinData" "MongoDBRef" "MongoException" "MongoCursorException" "MongoCursorTimeoutException" "MongoConnectionException" "MongoGridFSException" "MongoTimestamp" "MongoInt32" "MongoInt64" "MongoMaxKey" "MongoMinKey"Ps: I'm using a clean install of rc3, where only db.php and Welcome controller are edited.
It looks like you're new here. If you want to get involved, click one of these buttons!