Ramakrishna Ramakrishna - 7 months ago 11
PHP Question

RockMongo fatal error

I have installed rockmongo in my ubuntu from this site.When I tried to open the rockmongo from browser it showing fatal error as like mentioned below.

Error:

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


How can i resolve this issue,can anyone give me a solution for this issue.

Answer

native_long support for 32-bits has been (quite logically) removed from the mongo driver. . RockMongo uses ini_set("mongo.native_long", 1); in its index.php. As a quick fix, comment this line out.