如何修复Joomla(版本> 3.6)管理员重定向回登录页面?

问题描述 投票:1回答:1

登录Joomla时!管理员,用户被重定向回登录页面。如果用户名/密码有效,则不会显示错误消息。如果用户名/密码无效,则会产生错误消息。

以下是Apache访问日志中的内容:

::1 - - [timestamp] "POST /localhost/administrator/index.php HTTP/1.1" 303 -
::1 - - [timestamp] "GET /localhost/administrator/index.php HTTP/1.1" 200 6969

这是在网站的本地副本上。它自2018年8月以来一直没有被触及。问题也发生在现场。其他Joomla! localhost上的站点可以正常工作。

检查了#__extensions表并启用了所有必要的扩展。 com_logincom_usersplg_authentication_joomlaplg_authentication_cookieplg_user_joomla等。

摘录自config.php:

public $live_site = '';
public $cookie_domain = '';
public $cookie_path = '';

PHP session.save_path是服务器可写的。

login joomla joomla3.0 administrator
1个回答
1
投票

尝试在Global Configuration / configuration.php中禁用搜索引擎友好URL和URL重写,即:

public $sef = '1';
public $sef_rewrite = '1';

尝试暂时将.htaccess重命名为.htaccess.old,看看这是否有所不同。

尝试清除Joomla缓存,任何服务器端缓存(例如LiteSpeed缓存)并清除Web浏览器缓存。

您可能还需要更新Global Configuration / configuration.php中的tmp和日志文件路径,尽管这可能不会导致您遇到的问题。

另一件要尝试的是不同的PHP版本。

© www.soinside.com 2019 - 2024. All rights reserved.