16:28:56 ERROR: 您访问的域名 127.0.0.1 没有对应的公司。 in C:\Apache24\htdocs\zentaopms\module\common\model.php on line 73, last called by C:\Apache24\htdocs\zentaopms\module\common\model.php on line 27 through function setCompany.
in C:\Apache24\htdocs\zentaopms\framework\base\router.class.php on line 2215 when visiting
修改了php.ini文件里面的session.save_path参数还是提示这个,请问要怎么操作呢?谢谢
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@php.cn to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
命令为:
mkdir -p /var/lib/php/session
需要修改目录 "/var/lib/php/session" 的权限。
命令为:
chmod o=rwx -R /var/lib/php/session 。
请问应该如何解决.
直接在 /zentaopms/config/config.php
中第一行加入 session_save_path(dirname(dirname(__FILE__)).'/tmp/');
in C:\Apache24\htdocs\zentaopms\framework\base\router.class.php on line 2215 when visiting
修改了php.ini文件里面的session.save_path参数还是提示这个,请问要怎么操作呢?谢谢
404 Not Found
nginx
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@php.cn to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
这是哪里的错误
可惜又因为session.save_path的检查不通过阻断了。
忙乎了一早上,有些泻劲了......傍晚在实验一次吧。
vps CentOS6 宝塔
开始还为/tmp纠结疑问,后来放弃思考,新建/www/_session/_zt目录,修改php.ini后服务器重启,可是不论将目录权限从755改成757还是775都不通过,最后改为777,仍不通过。
明明目录下已经有session文件了的!
难道必须ssh连接后执行chmod??
错误提示如下:
Session存储目录 目录不存在 目录不可写 检查失败(×)
需要创建目录/www/_session/_zt。
命令为:
mkdir -p /www/_session/_zt
需要修改目录 "/www/_session/_zt" 的权限。
命令为:
chmod o=rwx -R /www/_session/_zt
企业版与开源版都是相同错误。
回头把ssh密码找找,换个笔记本用xshell连接试一试。
可能页面授权更新不完全彻底?还是有残留链接存在没有彻底重启?