running lithium quickstart with mongodb

204 views Asked by At

As a newbie, I followed this link:

http://www.blakeerickson.com/posts/2013/04/07/how_to_correctly_configure_ubuntu_to_run_lithium_php

and this link:

http://li3.me/docs/manual/quickstart

to install and run the Lithium tutorial. Everything is OK until the MongoDB accessing. I got the following:

Deprecated: Mongo::__construct(): The 'timeout' option is deprecated. Please use 'connectTimeoutMS' instead in /home/takpo/www/my_app/libraries/lithium/data/source/MongoDb.php on line 261

Quickstart Manual API More

© Union Of RAD 2013

message and the form items are not seen. Could someone help?

Thanks,

Tak

1

There are 1 answers

3
Mehdi Lahmam B. On BEST ANSWER

You should upgrade to Lithium's latest master. It's caused by PHP mongo extension. if you use < 1.3.4 you won't see the problem, but Lithium latest master fixed it.