vikash002 / rock-php

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

Errors on pages "Overview" and "Collection" #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. On "Overview" page get errors (please see attached file)
2. On click on any collection I get error "There is something wrong:no such 
cmd, please refresh the page to try again."

RockMongo v1.1.1, but in top right corner appears v1.1.0

Linux vernadsky 2.6.24-27-server #1 SMP Fri Mar 12 01:45:06 UTC 2010 i686 
BOOST_LIB_VERSION=1_40 x32

Web server  Apache/2.2.14
PHP version PHP 5.3.2-1ubuntu4.14
PHP extension   mongo/1.2.9

MongoDB     1.2.2
gitVersion  nogitversion
Ubuntu 10.04 x32    sysInfo Linux vernadsky 2.6.24-27-server #1 SMP Fri Mar 12 
01:45:06 UTC 2010 i686 BOOST_LIB_VERSION=1_40
bits        32

Original issue reported on code.google.com by minkinro...@gmail.com on 5 May 2012 at 6:28

Attachments:

GoogleCodeExporter commented 9 years ago
Error in plain text:

On "Overview" page on top:

Notice: Undefined index: dataSize in 
/usr/share/rockmongo/app/controllers/server.php on line 82 Call Stack: 0.0002 
324808 1. {main}() /usr/share/rockmongo/index.php:0 0.0055 583616 2. 
Rock::start() /usr/share/rockmongo/index.php:34 0.0194 1339736 3. 
RController->exec() /usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: storageSize in /usr/share/rockmongo/app/controllers/server.php 
on line 88 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: indexSize in /usr/share/rockmongo/app/controllers/server.php 
on line 89 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: dataSize in /usr/share/rockmongo/app/controllers/server.php on 
line 82 Call Stack: 0.0002 324808 1. {main}() /usr/share/rockmongo/index.php:0 
0.0055 583616 2. Rock::start() /usr/share/rockmongo/index.php:34 0.0194 1339736 
3. RController->exec() /usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: storageSize in /usr/share/rockmongo/app/controllers/server.php 
on line 88 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: indexSize in /usr/share/rockmongo/app/controllers/server.php 
on line 89 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: dataSize in /usr/share/rockmongo/app/controllers/server.php on 
line 82 Call Stack: 0.0002 324808 1. {main}() /usr/share/rockmongo/index.php:0 
0.0055 583616 2. Rock::start() /usr/share/rockmongo/index.php:34 0.0194 1339736 
3. RController->exec() /usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: storageSize in /usr/share/rockmongo/app/controllers/server.php 
on line 88 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 Notice: 
Undefined index: indexSize in /usr/share/rockmongo/app/controllers/server.php 
on line 89 Call Stack: 0.0002 324808 1. {main}() 
/usr/share/rockmongo/index.php:0 0.0055 583616 2. Rock::start() 
/usr/share/rockmongo/index.php:34 0.0194 1339736 3. RController->exec() 
/usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202

On "Overview" page next to each collection:

Notice: Undefined index: objects in 
/usr/share/rockmongo/themes/default/views/server/databases.php on line 25 Call 
Stack: 0.0002 324808 1. {main}() /usr/share/rockmongo/index.php:0 0.0055 583616 
2. Rock::start() /usr/share/rockmongo/index.php:34 0.0194 1339736 3. 
RController->exec() /usr/share/rockmongo/rock.php:81 0.0201 1344064 4. 
ServerController->doDatabases() /usr/share/rockmongo/rock.php:202 0.0265 
1354568 5. RController->display() 
/usr/share/rockmongo/app/controllers/server.php:94 0.0270 1373252 6. 
require('/usr/share/rockmongo/themes/default/views/server/databases.php') 
/usr/share/rockmongo/rock.php:231

Original comment by minkinro...@gmail.com on 5 May 2012 at 6:37

GoogleCodeExporter commented 9 years ago
Hi, 
MongoDB     1.2.2

It could be too old. Can you get a latest version from 
http://www.mongodb.org/downloads , and have a try?

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

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks,
Yes it's helped.

It was my mistake, I mixed up versions =)

Original comment by minkinro...@gmail.com on 7 May 2012 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by iwind....@gmail.com on 8 May 2012 at 1:43

GoogleCodeExporter commented 9 years ago
Same issue for me, with the last version of rockmongo (1.1.2) and Mongo 1.4.4 :

"There is something wrong:no such cmd, please refresh the page to try again." 

when I click on a collection, I can export fine btw. Please tell how can I help 
?

Original comment by ebui...@gmail.com on 12 Jun 2012 at 8:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same issue for me to.
RockMongo v1.1.2, Mongo 1.4.4
Just in case if it relevant, I'm using the port :8080 in my URL, ex: 
mongo.localhost:8080/

Original comment by kosta...@gmail.com on 5 Sep 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Same here. Updating Rock MOngo to the newest version didn't help.

Original comment by jchudzyn...@uwf.edu on 9 Nov 2012 at 1:40

GoogleCodeExporter commented 9 years ago
Same for me! Mongo 1.4.4 latest RockMongo >:(

Original comment by nanashi....@gmail.com on 24 Jan 2013 at 11:46