jision / rock-php

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

32/64bit php error ? #135

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install rockmongo on Centos 5.3 with Apache 2.2.3 in /opt/rockmongo
2. ln -s /var/www/html /opt/rockmongo
3. Change mongo_host to remote machine
4. Open browser to http://aaa.abc.com/rockmongo and login as admin
5. Select database (in this case graylog2)
6. Select messages (collection)
7. Can not natively represent the long 50000000 on this platform

What is the expected output? What do you see instead?
I expected to see the message (collection) output similar to other collections. 
Instead, I get an error.

RockMongo Version (1.0.1, ...)
1.1.0

Operation System (Windows/CentOS, ...)

PHP Version (5.1.6, ...)

php_mongo Version (1.0.1, ...)

MongoDB version (1.5.5, ...)

Please provide any additional information below.

Original issue reported on code.google.com by whoser...@gmail.com on 28 Apr 2011 at 3:52

GoogleCodeExporter commented 8 years ago
Operation Systems - Centos 5.3 32 bit
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:37)

php_mongo version - php-pecl-mongo.i386                            1.0.10-4.el5 

MongoDB version - 1.6.4-1.el5

This is used in conjunction with Graylog2 server 
(https://github.com/Graylog2/graylog2-server/downloads) v 0.9.5p1

Original comment by whoser...@gmail.com on 28 Apr 2011 at 4:01

GoogleCodeExporter commented 8 years ago
Digging around, sounds very similar to:
http://webcache.googleusercontent.com/search?q=cache:1TI0HmjhKIcJ:www.planetezpu
blish.org/%28offset%29/180+%22Can+not+natively+represent+the+long%22&cd=2&hl=en&
ct=clnk&gl=us&source=www.google.com

Original comment by whoser...@gmail.com on 28 Apr 2011 at 4:03

GoogleCodeExporter commented 8 years ago
It seems like a MongoDB bug, but we will look into it.

Original comment by iwind....@gmail.com on 29 Apr 2011 at 1:26