Showing posts with label rockmongo 32 bit error. Show all posts
Showing posts with label rockmongo 32 bit error. Show all posts

Saturday, April 26, 2014

Fatal error: ini_set(): To prevent data corruption, you are not allowed to turn on the mongo.native_long setting on 32-bit platforms in Unknown on line 0

It is a mongo client - RockMongo error.

To remove the error, open file index.php in the directory rockmongo and comment the line
ini_set("mongo.native_long", 1);
Make it two forward slashes at the starting of the line to comment it out.
// ini_set("mongo.native_long", 1);
Now try again.

The default username and password is admin

You may find some deprecated error here but you can use the RockMongo without fatal error.