本地 win7 x64 系统,安装的是 php5.4 和 nginx1.7
安装之后,可以通过后台查询 user 表数据都已经存在。前台页面点击都很正常。就是不能登录。
登录之后,还是登录界面。
百度找到修改 Request.php 的方法不起作用。
刚刚用 chrome 跟踪了下,得到下面的结果
Request URL:http://yansen2.com/index.php/action/login?_=44b28e8789e68c09d8b15e776616da3b
Request Method:POST
Status Code:302 Moved Temporarily
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Content-Length:31
Content-Type:application/x-www-form-urlencoded
Cookie:PHPSESSID=u1fnru2frqa5qetbv6fvbv14l1; __typecho_lang=zh_CN
Host:yansen2.com
Origin:http://yansen2.com
Referer:http://yansen2.com/admin/login.php
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Query String Parametersview sourceview URL encoded
_:44b28e8789e68c09d8b15e776616da3b
Form Dataview sourceview URL encoded
name:yansen
password:1
referer:
Response Headersview source
Connection:keep-alive
Content-Type:text/html; charset=UTF-8
Date:Wed, 24 Jun 2015 11:52:00 GMT
Location:http://yansen2.com/admin/login.php
Server:nginx/1.7.0
Transfer-Encoding:chunked
X-Powered-By:PHP/5.4.28