Вот файл ошибки в шаблоне. Вроде тут все в порядке. Главное раньше такого не было. И вдруг появилось
<?php
/**
* @package Joomla.Site
* @subpackage Templates.protostar
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?php
/**
* @package Joomla.Site
* @subpackage Template.brus
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
if (($this->error->getCode()) == '404') {
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" dir="ltr">
<head>
<base href="https://mosbrustorg.ru/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Купить сухие пиломатериалы, в Москве, Mosbrustorg.ru" />
<meta name="author" content="Super User" />
<meta name="description" content="Пиломатериалы в Москве и Московской области по доступным ценам. Продажа сухих пиломатериалов от производителя с доставкой. Звоните 8 (495) 979-42-25" />
<meta name="generator" content="Joomla! - Open Source Content Management" />
<title>Купить сухие пиломатериалы в Москве - Mosbrustorg.ru</title>
<link href="/templates/brus/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<link href="https://mosbrustorg.ru/component/search/?id=7&Itemid=101&format=opensearch" rel="search" title="Искать mosbrustorg.ru" type="application/opensearchdescription+xml" />
<link rel="stylesheet" href="/templates/brus/css/template.css" type="text/css" />
<link rel="stylesheet" href="/templates/brus/css/media.css" type="text/css" />
<link rel="stylesheet" href="https://mosbrustorg.ru/modules/mod_djimageslider/assets/style.css" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
<link rel="stylesheet" href="/templates/brus/css/404.css" type="text/css" />
<style type="text/css">
/* Styles for DJ Image Slider with module id 105 */
#djslider-loader105 {
margin: 0 auto;
position: relative;
}
#djslider105 {
margin: 0 auto;
position: relative;
height: 305px;
width: 657px;
max-width: 657px;
}
#slider-container105 {
position: absolute;
overflow:hidden;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
#djslider105 ul#slider105 {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
}
#djslider105 ul#slider105 li {
list-style: none outside !important;
float: left;
margin: 0 !important;
border: 0 !important;
padding: 0 0px 0px 0 !important;
position: relative;
height: 305px;
width: 657px;
background: none;
overflow: hidden;
}
#slider105 li img {
width: 100%;
height: auto;
border: 0 !important;
margin: 0 !important;
}
#slider105 li a img, #slider105 li a:hover img {
border: 0 !important;
}
#cust-navigation105 {
position: absolute;
bottom: 5px;
left: 0px;
}
</style>
<!--[if lt IE 9]><script src="/media/jui/js/html5.js"></script><![endif]-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
</head>
<body class="">
<div class="wrapper">
<header>
<div class="container">
<a href="/" class="header__logo"><img src="/templates/brus/img/logo.png" alt="" /></a>
<div class="header__phone">
<span>8 (495) 979-42-25</span>
<a href="mailto:info@mosbrustorg.ru">info@mosbrustorg.ru</a>
</div>
<div class="header__graf">
с 09.00 до 19.00<br />
без выходных
</div>
</div>
</header>
<section class="body row">
<div class="container">
<div class="wrap">
<p><a href="/"><img src="/templates/brus/img/404.png" alt=""></a></p>
<h1>Что-то пошло не так :(</h1>
<p class="text">
Возможно вы перешли по неработающей ссылке или неверно ввели адрес.
<br>
Попробуйте вернуться на <a href="/" title="Главная">главную</a> или воспользуйтесь <b>строкой поиска!</b>
</p>
<div class="search">
<form action="/" method="post" class="form-inline">
<label for="mod-search-searchword" class="element-invisible"></label>
<input name="searchword" id="mod-search-searchword" maxlength="200" class="inputbox search-query" type="search" size="20" />
<button class="button btn btn-primary" onclick="this.form.searchword.focus();">Найти</button>
<input type="hidden" name="task" value="search" />
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="101" />
</form>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<a href="/" class="footer__logo"><img src="/templates/brus/img/footer-logo.png" height="42" width="259" alt="" /></a>
<nav class="footer-menu">
<ul class="nav menu">
<li class="item-112"><a href="/tseny" >Цены</a></li><li class="item-113"><a href="/dostavka" >Доставка</a></li><li class="item-114"><a href="/zakazat" >Заказать</a></li><li class="item-115"><a href="/kontakty" >Контакты</a></li><li class="item-116"><a href="/files/price-print.xls" >Скачать прайс</a></li><li class="item-117"><a href="/ckhema-proezda" >Cхема проезда</a></li></ul>
</nav>
<div class="footer__copy">
<p>МОСБРУСТОРГ © 2016 / <a href="http://mosbrustorg.ru/sitemap.xml">Карта сайта</a></p>
<p>ООО "ПИЛОТОРГСНАБ", ОГРН: 11577466030980</p>
</div>
</div>
</footer>
</div>
</body>
</html>
<?php
} else {
// Getting params from template
$params = JFactory::getApplication()->getTemplate(true)->params;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$this->language = $doc->language;
$this->direction = $doc->direction;
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$sitename = $app->getCfg('sitename');
if ($task == "edit" || $layout == "form") {
$fullWidth = 1;
} else {
$fullWidth = 0;
}
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
// Add current user information
$user = JFactory::getUser();
// Logo file
if ($params->get('logoFile')) {
$logo = JUri::root(). $params->get('logoFile');
} else {
$logo = $this->baseurl . "/templates/" . $this->template . "/images/logo.png";
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage()); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
<?php
if ($this->_error->get('code') == '404') {
header("HTTP/1.0 404 Not Found");
header('Location: /404');
exit;
}
?>
<?php
$debug = JFactory::getConfig()->get('debug_lang');
if ((defined('JDEBUG') && JDEBUG) || $debug) {
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/media/cms/css/debug.css" type="text/css" />
<?php
}
?>
<?php
// If Right-to-Left
if ($this->direction == 'rtl') {
?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/media/jui/css/bootstrap-rtl.css" type="text/css" />
<?php
}
// Use of Google Font
if ($params->get('googleFont')) {
?>
<link href='//fonts.googleapis.com/css?family=<?php echo $params->get('googleFontName'); ?>' rel='stylesheet' type='text/css'>
<?php
}
?>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<?php
// Template color
if ($params->get('templateColor')) {
?>
<style type="text/css">
body.site
{
border-top: 3px solid <?php echo $params->get('templateColor'); ?>;
background-color: <?php echo $params->get('templateBackgroundColor'); ?>
}
a
{
color: <?php echo $params->get('templateColor'); ?>;
}
.navbar-inner, .nav-list > .active > a, .nav-list > .active > a:hover, .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover, .nav-pills > .active > a, .nav-pills > .active > a:hover
{
background: <?php echo $params->get('templateColor'); ?>;
}
.navbar-inner
{
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
}
</style>
<?php
}
?>
<!--[if lt IE 9]>
<script src="<?php echo $this->baseurl ?>/media/jui/js/html5.js"></script>
<![endif]-->
</head>
<body class="site <?php
echo $option
. ' view-' . $view
. ($layout ? ' layout-' . $layout : ' no-layout')
. ($task ? ' task-' . $task : ' no-task')
. ($itemid ? ' itemid-' . $itemid : '')
. ($params->get('fluidContainer')? ' fluid' : '');
?>">
<!-- Body -->
<div class="body">
<div class="container<?php echo ($params->get('fluidContainer')? '-fluid' : ''); ?>">
<!-- Header -->
<div class="header">
<div class="header-inner clearfix">
<a class="brand pull-left" href="<?php echo $this->baseurl; ?>">
<img src="<?php echo $logo; ?>" alt="<?php echo $sitename; ?>" />
</a>
<div class="header-search pull-right">
<?php
// Display position-0 modules
echo $doc->getBuffer('modules', 'position-0', array('style' => 'none'));
?>
</div>
</div>
</div>
<div class="navigation">
<?php
// Display position-1 modules
echo $doc->getBuffer('modules', 'position-1', array('style' => 'none'));
?>
</div>
<!-- Banner -->
<div class="banner">
<?php echo $doc->getBuffer('modules', 'banner', array('style' => 'xhtml')); ?>
</div>
<div class="row-fluid">
<div id="content" class="span12">
<!-- Begin Content -->
<h1 class="page-header"><?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?></h1>
<div class="well">
<div class="row-fluid">
<div class="span6">
<p><strong><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></strong></p>
<p><?php echo JText::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></p>
<ul>
<li><?php echo JText::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
</ul>
</div>
<div class="span6">
<?php if (JModuleHelper::getModule('search')) : ?>
<p><strong><?php echo JText::_('JERROR_LAYOUT_SEARCH'); ?></strong></p>
<p><?php echo JText::_('JERROR_LAYOUT_SEARCH_PAGE'); ?></p>
<?php echo $doc->getBuffer('module', 'search'); ?>
<?php endif; ?>
<p><?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?></p>
<p><a href="<?php echo $this->baseurl; ?>/index.php" class="btn"><i class="icon-home"></i> <?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a></p>
</div>
</div>
<hr />
<p><?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?></p>
<blockquote>
<span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo $this->error->getMessage(); ?>
</blockquote>
</div>
<!-- End Content -->
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
<div class="container<?php echo ($params->get('fluidContainer')? '-fluid' : ''); ?>">
<hr />
<?php echo $doc->getBuffer('modules', 'footer', array('style' => 'none')); ?>
<p class="pull-right"><a href="#top" id="back-top"><?php echo JText::_('TPL_PROTOSTAR_BACKTOTOP'); ?></a></p>
<p>© <?php echo $sitename; ?> <?php echo date('Y'); ?></p>
</div>
</div>
<?php echo $doc->getBuffer('modules', 'debug', array('style' => 'none')); ?>
</body>
</html>
<?php
}