我正在调试新网站的开放图,但出现以下错误:
无法跟随重定向路径,URL返回了错误的HTTP响应代码。
仅在日历部分中会发生此错误(http://www.webcilento.com/site/eventi/fiera-di-prova.html)
我正在使用Joomla 3.2.1
有任何想法吗?
多么敏锐的看法!我还没有在网址中看到双“站点”!
无论如何,标签是由日历插件添加的。这是代码
// adding current url as url
if (isset($_SERVER['HTTPS'])) {
$protocol = "https://";
} else {
$protocol = "http://";
}
$fburl = $protocol.$_SERVER['HTTP_HOST'].KRequest::root().@route('option=com_ohanah&view=event&id='.$event->id.$itemid);
$doc->addCustomTag( '<meta property="og:url" content="'.$fburl.'" />');
我将尝试调试该变量。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句