哇! 1.5.26和“您当前登录到该站点的私有区域" [英] joomla! 1.5.26 and "You are currently logged in to the private area of this site"

查看:47
本文介绍了哇! 1.5.26和“您当前登录到该站点的私有区域"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当Joomla! (1.5.26)会话已过期,提交用户名和密码后,我重做登录,我收到以下消息:您当前登录到此站点的私有区域." 如果单击另一个内部链接,则重定向有效,但如果重新单击相同的返回URL链接(会话已终止的位置),则会重新获得上一条消息,但我已正确登录! 我用的是Joomla! SEF.没有其他外部组件/模块/插件.

When the Joomla! (1.5.26) session has expired, I redo the login, after submitting username and password I get this message: "You are currently logged in to the private area of this site." If I click on another internal-link the redirection works, but if I re-click on the same return url link (where I was where the session has expired) I re obtain the previous message, but I'm logged in correctly! I use the Joomla! SEF. No other external component/module/plugin.

要使其运行,我必须手动删除浏览器的缓存!

To make it running I have to delete manually the browser's cache!

想法?

推荐答案

几个月后,我明白了!!! Joomla!文件/libraries/joomla/application/application.php中的1.5.26行324 评论以下几行

After months I got it!!! Joomla! 1.5.26 line 324 in the file /libraries/joomla/application/application.php Comment the following lines

/*
if (!$moved && strstr(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') !== false) {
    // WebKit browser - Do not use 303, as it causes subresources reload (https://bugs.webkit.org/show_bug.cgi?id=38690)
    echo '<html><head><meta http-equiv="refresh" content="0;'. $url .'" /></head><body></body></html>';
}
else {
    // All other browsers, use the more efficient HTTP header method
    header($moved ? 'HTTP/1.1 301 Moved Permanently' : 'HTTP/1.1 303 See other');
    header('Location: '.$url);
}
*/

只留下

// All other browsers, use the more efficient HTTP header method
header($moved ? 'HTTP/1.1 301 Moved Permanently' : 'HTTP/1.1 303 See other');
header('Location: '.$url);

该Webkit错误已解决.检查这里:错误38690-提交导致服务器重定向的POST会导致重新下载所有缓存的项目

The webkit bug has been resolved. Check here: Bug 38690 - Submitting a POST that leads to a server redirect causes all cached items to redownload

这篇关于哇! 1.5.26和“您当前登录到该站点的私有区域"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆