win7 nginx installation typecho cannot log in
PHP中文网
PHP中文网 2017-05-16 17:22:12
0
1
1264

Local win7 x64 system, installed php5.4 and nginx1.7

After installation, you can query the user table data through the background as it already exists. Clicks on the front page are normal. Just can't log in.

After logging in, there is still the login interface.

Baidu found that the method of modifying Request.php does not work.

I just used chrome to track it and got the following results

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
PHP中文网
PHP中文网

认证高级PHP讲师

reply all (1)
为情所困

https://github.com/typecho/typecho/issues/390

You may encounter this problem?

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!