New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
部署问题 #4
Comments
|
mongo和php-mongo都装好了,web能打开,能登录,但是好多session,api都提示404. |
database.php文件也已经修改了相关的用户名和密码,dbnamem |
|
Hi lxerxa:
|
是否执行数据库初始化脚本, |
这个执行了,在mongo里面能看到表,内容都有。 现在修改了以下内容: |
admin@action.view 使用这个账号登录的吗?注意有个点 |
是的,我再重新部署下试试看。 |
总感觉php没有执行链接到mongo的动作,检查了php-mongo有load进去的,在mongo的log里面没有任何链接成功或者失败的log。 |
谢谢整理! |
已经修改,还是提示密码错误,有什么方法可以判断php链接数据库是否正常,能看到哪里有问题么。 |
能看到接口的返回值是什么吗?第一个接口是/api/session那个接口。 |
服务器返回的是PHP文件,看起来是apache问题,我在看现在。 |
重新安装了apache和php相关组件,现在能登陆成功,但是会秒返回,session和recent会出现505,持续检查环境中。 |
Hi lxerxa:
|
我觉的不是版本的问题,方便留下你的qq吗? |
qq:376739304 |
整理了ubuntu安装步骤 |
无法连接mongodb,是否有相关文档可以参考。
The text was updated successfully, but these errors were encountered: