【问题标题】:running lithium quickstart with mongodb使用 mongodb 运行锂快速入门
【发布时间】:2014-02-28 09:24:14
【问题描述】:

作为一个新手,我点击了这个链接:

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

还有这个链接:

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

安装和运行 Lithium 教程。在 MongoDB 访问之前一切正常。我得到了以下信息:

不推荐使用:Mongo::__construct():不推荐使用“超时”选项。请在第 261 行的 /home/takpo/www/my_app/libraries/lithium/data/source/MongoDb.php 中使用“connectTimeoutMS”

快速入门 手动的 API 更多

© RAD 联盟 2013

没有看到消息和表单项。有人可以帮忙吗?

谢谢,

【问题讨论】:

    标签: mongodb lithium


    【解决方案1】:

    您应该升级到 Lithium 的最新 master。 它是由 PHP mongo 扩展引起的。如果你使用

    【讨论】:

    • 我只是删除旧的 my_app 并使用 git clone git://github.com/UnionOfRAD/framework.git my_app cd my_app git submodule init git submodule update 重新安装一个新的
    • 我只是删除旧的 my_app 并重新安装一个新的(我相信里面有最新的大师)使用“安装锂”中提到的“git”,错误仍然存​​在。顺便说一句,我记得与旧版本的 mongodb 相同的错误消息。
    • 在 MongoDB.php 的 252 中将超时更改为 connectTimeoutlineMS 现在可以正常工作
    猜你喜欢
    • 1970-01-01
    • 2018-09-17
    • 2016-02-24
    • 2021-01-21
    • 2020-11-26
    • 2016-10-02
    • 2013-04-10
    • 2014-11-12
    • 1970-01-01
    相关资源
    最近更新 更多