Open GoogleCodeExporter opened 8 years ago
okey, we will check it later.
Original comment by iwind....@gmail.com
on 15 May 2011 at 3:39
同样的问题,master访问正常,slave出现如上错误,点击顶部Sla
ve错误提示:
Fatal error: can not find action 'replication' in class 'AdminController' in
/home/wwwroot/rockmongo/rock.php on line 200
Original comment by imas...@gmail.com
on 15 Aug 2011 at 5:03
Is there anyone working with this issue?
I get the same problem.
Original comment by jensfros...@gmail.com
on 18 Nov 2011 at 1:39
There needs to be a call to db.getMongo().setSlaveOk(); on each connection
before querying slaves
Original comment by m...@drollette.com
on 22 Dec 2011 at 5:17
Here is quick hack:
open /ap/models/MServer.php
Find:
$this->_mongo = new Mongo($this->_mongoHost . ":" . $this->_mongoPort);
Replace:
$this->_mongo = new Mongo($this->_mongoHost . ":" . $this->_mongoPort,
array("replicaSet" => true));
$this->_mongo->setSlaveOkay(true);
It should work now :)
Original comment by remdex
on 18 Feb 2012 at 11:21
Original issue reported on code.google.com by
dchanco...@gmail.com
on 14 May 2011 at 7:02