最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【未解决】去修复WordPress登录页死循环:看看phpMyAdmin数据库

WordPress crifan 1545浏览 0评论
折腾:
【未解决】crifan.com的WordPress无法登录在wp-login登录页死循环
期间,去登录后台数据库中看看
http://xxx/tools/phpMyAdmin/
看到:wp_login_fails
有很多登录错误的记录
去看看phpMyAdmin
debug – Unable to login to my wordpress site. reauth=1 redirection loop. Any ideas on how to fix this? – WordPress Development Stack Exchange
Possible fix for sudden redirect loop at wp-login with reauth=1 | WordPress.org
https://wordpress.org/support/topic/possible-fix-for-sudden-redirect-loop-at-wp-login-with-reauth1/
和我现象很像:突然出现这种:wp-admin,进入wp-login,结果无限死循环再wp-login
http://mysite/wp-login.php?redirect_to=http%3A%2F%2Fmysite%2Fwp-admin%2F&reauth=1
去配置页面中,本身有:
siteurl=https://www.crifan.com
home=https://www.crifan.com
配置没问题。
去找到那人说的:
WordPress数据库-》wp_usermeta-》session_token
但是我此处是:
session_tokens
把当前值拷贝出来,供研究:
session_tokens = 

a:12:{s:64:"4a5f80bca405b0fa690ff952db7d57a043ccf65257f039db1816a698ad97eaab";a:4:{s:10:"expiration";i:1604719333;s:2:"ip";s:13:"103.88.46.251";s:2:"ua";s:120:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36";s:5:"login";i:1603509733;}s:64:"126eb31e8f402ce684a30fd2c404baf65952b5916126e43b5a17bd99aeae29bc";a:4:{s:10:"expiration";i:1604721645;s:2:"ip";s:13:"103.88.46.251";s:2:"ua";s:117:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15";s:5:"login";i:1603512045;}s:64:"e7e6790e1e73343253f4bd383f3a180f20001dad53fd0bb3a6efe0b25178c018";a:4:{s:10:"expiration";i:1604233779;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604060979;}s:64:"2acdf5b767f6b871112d3e8fee0e00bfe752e795ef6cbbc59d87a2cfdab85997";a:4:{s:10:"expiration";i:1604234321;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604061521;}s:64:"deb469b2e86c06c83d67f2c2e169c226187d229e7ff7a7b0c27e5b03747c28a5";a:4:{s:10:"expiration";i:1604234333;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604061533;}s:64:"d9f6001da2b310c2ae2589c634708bb5ac1069a9148b257e7cb6b20aa3f90eae";a:4:{s:10:"expiration";i:1604234350;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604061550;}s:64:"ec287bee1612eff52f67307dd80a8481c3197753df4dcde4e3405fc39f700296";a:4:{s:10:"expiration";i:1604234501;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604061701;}s:64:"db62dc23cc51465f261eff1d259c0cedbc4f66374c9c72d7119527be9b8fe987";a:4:{s:10:"expiration";i:1604234999;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604062199;}s:64:"c7ae6be46f6509b683d2c94862f4d532b994f63fc518514233569a4a6acaa094";a:4:{s:10:"expiration";i:1604235007;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604062207;}s:64:"4d6591281ac58e9290153997410eea7d590f07963dda9876abe75101d36f49c5";a:4:{s:10:"expiration";i:1604235021;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604062221;}s:64:"087f0e591cabebd243494a911fb7bbc5c9916709f10dabacc27ee99235877554";a:4:{s:10:"expiration";i:1604235587;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604062787;}s:64:"ce02f13eac30f7a07e4160f5907b11faf37097301041083ca769e23643832845";a:4:{s:10:"expiration";i:1604235648;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604062848;}}

帖子说是要删除
删除之前,格式化看看
看起来就是:
ip
ua
等值
去删除:
再去试试登录
结果是:
问题依旧
去登录,还是跳转回登录页
不过回来看数据库,果然多了一条:
a:1:{s:64:"d6122d6b43540f9c980dbf0f5e6fed5db2e5c4d7ce03c1823c31cd770e05636c";a:4:{s:10:"expiration";i:1604238874;s:2:"ip";s:12:"103.88.46.69";s:2:"ua";s:121:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36";s:5:"login";i:1604066074;}}
其实就是正常的,已经登录的相关信息
按道理应该是没问题的才对。

转载请注明:在路上 » 【未解决】去修复WordPress登录页死循环:看看phpMyAdmin数据库

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.199 seconds, using 22.08MB memory