kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

multi server fails if control_auth = false #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create 2 servers in config.php server1 and server2
2.set in both of them
 $MONGO["servers"][$i]["mongo_auth"] = false;
AND
 $MONGO["servers"][$i]["control_auth"] = false;

What is the expected output? What do you see instead?
Select in the drop box server2, server1 will be loaded

RockMongo Version (1.1.0)

Operation System (CentOS 5)

PHP Version (5.1.6, ...)PHP 5.1.6

php_mongo Version (1.0.1, ...)1.2.7-

MongoDB version (1.5.5, ...)"2.0.1"

Please provide any additional information below.

it works if $MONGO["servers"][$i]["control_auth"] = true;

Original issue reported on code.google.com by omari...@woozworld.com on 23 Nov 2011 at 7:35

GoogleCodeExporter commented 9 years ago
I have the same issue

Original comment by x1n...@gmail.com on 25 Nov 2011 at 5:08

GoogleCodeExporter commented 9 years ago
I've find out it related to the session loading that it reseting session 
information if you are not connected with a user / pass and since the selected 
server is in the session it get reset to 0

Original comment by mpoir...@woozworld.com on 1 Dec 2011 at 3:52

GoogleCodeExporter commented 9 years ago
Will be fixed in next release.

Original comment by iwind....@gmail.com on 21 Feb 2012 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by iwind....@gmail.com on 7 May 2012 at 5:48