Joomla 3全局配置缺失标题
问题描述:
我最近没有更新joomla。 我没有安装任何新的第三方扩展,如组件,模块或... 我已经检查所有“管理员/组件/ com_config”和“管理员/库”找到任何文件注入(黑客),并找到没有新的恶意软件文件最近被复制到那里。Joomla 3全局配置缺失标题
Administrator上的所有页面都和以前一样好。 只是com_config页面现在错过了任何头文件代码,即使任何css样式都丢失了。
“?管理员/ index.php文件选项= com_config” 的源代码,启动与此线:
<form action="/administrator/index.php?option=com_config" id="application-form" method="post" name="adminForm" class="form-validate">
<div class="row-fluid">
<!-- Begin Sidebar -->
<div id="sidebar" class="span2">
<div class="sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">System</li>
<li class="active">
<a href="index.php?option=com_config">Global Configuration</a>
</li>
<li class="divider"></li>
<li class="nav-header">Component</li>
请帮我解决这个问题。 谢谢
答
您可以通过覆盖通过ftp所有joomla文件来纠正问题。 这是您正确的版本: https://downloads.joomla.org/cms/joomla3/3-7-2/Joomla_3-7.2-Stable-Update_Package.zip?format=zip
答
我的问题是在Joomla的核心中重载JHtmlJquery类的第三方插件(System - JV Libraries)。
我能意识到将此代码添加到:“管理员/模板/ ISIS/index.php文件”
<?php
$reflector = new ReflectionClass('JHtmlJquery');
echo $reflector->getFileName();
?>
,并得到这样的:无功/ www/html等/ cuweb /插件/系统/ jvlibs /javascripts/jvjslib.php
所以,我打开该文件,并删除HJtmlJquery类(下同)
abstract class JHtmlJquery
{
/**
* @var array Array containing information for loaded files
* @since 3.0
*/
protected static $loaded = array();
/**
* Method to load the jQuery JavaScript framework into the document head
*
* If debugging mode is on an uncompressed version of jQuery is included for easier debugging.
*
* @param boolean $noConflict True to load jQuery in noConflict mode [optional]
* @param mixed $debug Is debugging mode on? [optional]
*
* @return void
*
* @since 3.0
*/
public static function framework($noConflict = true, $debug = null)
{
JVJSLib::add('jquery');
return;
}
/**
* Method to load the jQuery UI JavaScript framework into the document head
*
* If debugging mode is on an uncompressed version of jQuery UI is included for easier debugging.
*
* @param array $components The jQuery UI components to load [optional]
* @param mixed $debug Is debugging mode on? [optional]
*
* @return void
*
* @since 3.0
*/
public static function ui(array $components = array('core'), $debug = null)
{
JVJSLib::add('jquery.ui.interactions');
return;
}
}
谢谢布鲁诺。我没有更新到这个版本。一切都很好,但是这个更新不能解决我的问题。一切都像以前一样。另外我的菜单页管理员得到了一个空白页。所以我回滚到我的备份。 – NGM
joomla的实际版本是什么?你的php和mysql服务器版本可以用于joomla 3吗?如果您的空白页面存在错误,并且可能写入了您网站的日志文件。 – Rinos