Новости Joomla

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

sotex

  • Осваиваюсь на форуме
  • 42
  • 0 / 0
при проверке сайта www.zabegaite.ru на ошибки через Markup Validation Service выводит ошибки как исправить и в какой папке они находятся ДЛЯ ИСПРАВЛЕНИЯ



 Line 1, Column 124: document type does not allow element "NOSCRIPT" here
…Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><noscript>



The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
 Line 15, Column 83: NET-enabling start-tag requires SHORTTAG YES
… src="" alt="149" />



The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
 Line 26, Column 22: start tag for "LEGEND" omitted, but its declaration does not permit this
            <label for="lang"><span>Language:</span></label>
*

Vladzimir

  • Захожу иногда
  • 107
  • 22 / 1
  • В очередь! в очередь! День Сурка © М.Борзыкин
Re: как исправить ошибки на сайте
« Ответ #1 : 09.01.2011, 02:25:01 »
А Joostina то тут каким боком? Что напортачили в шаблонах то и получили.
А править в шаблонах папка templates->НАЗВАНИЕ ВАШЕГО ШАБЛОНА->index.php
*

sotex

  • Осваиваюсь на форуме
  • 42
  • 0 / 0
Re: как исправить ошибки на сайте
« Ответ #2 : 09.01.2011, 02:50:27 »
в index php в футоре крякорямбы, а на сайте нормально отображается
*

temniy

  • Захожу иногда
  • 413
  • 85 / 9
Re: как исправить ошибки на сайте
« Ответ #3 : 09.01.2011, 12:31:23 »
в index php в футоре крякорямбы, а на сайте нормально отображается
Значит, шаблон не в utf-8.

Джустина тут не при чем. Хотите помощи, публикуйте код шаблона.
Лучший хостинг от 1 евро!
Сервис whois  |  Домены по отличным ценам (более 80 зон, хорошие цены и консультации -> после регистрации)
*

sotex

  • Осваиваюсь на форуме
  • 42
  • 0 / 0
Re: как исправить ошибки на сайте
« Ответ #4 : 09.01.2011, 13:51:55 »
сейчас отображение нормальное и на сайте и в index php, но новости в php my admin в базе данных отображаются крякорямбами,как можно исправить вот index php


<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__). DIRECTORY_SEPARATOR . 'functions.php';
$document = null;
if (isset($this))
  $document = & $this;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->template;
artxComponentWrapper($document);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Забегайте.ру - скачать бесплатные программы, скачать необходимый софт бесплатно, скачать бесплатный антивирус.</title>
  <meta name="keywords" content="развлекательный портал,программы,софт,скачать,программы бесплатно,скачать софт,все бесплатно,программы скачать,бесплатно софт, для windows,windows 7,софт программы,скачать бесплатный софт,скачать программы, фильмы DVDrip, фильмы BDrip, фильмы HDTV, фильмы комедии, как скачать, 3D фильмы, Blu-ray фильмы" />
<meta name="description" content="Здесь можно скачать бесплатные программы бесплатно и без регистрации, развлекательный портал,скачать необходимый софт" />


<jdoc:include type="head" />
  <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/system/css/general.css" type="text/css" />

  <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" />
  <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
  <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
  <script type="text/javascript" src="<?php echo $templateUrl; ?>/script.js"></script>
 </head>
<body>
<div id="art-main">
<div class="art-Sheet">
    <div class="art-Sheet-tl"></div>
    <div class="art-Sheet-tr"></div>
    <div class="art-Sheet-bl"></div>
    <div class="art-Sheet-br"></div>
    <div class="art-Sheet-tc"></div>
    <div class="art-Sheet-bc"></div>
    <div class="art-Sheet-cl"></div>
    <div class="art-Sheet-cr"></div>
    <div class="art-Sheet-cc"></div>
    <div class="art-Sheet-body">
<div class="art-Header">
    <div class="art-Header-jpeg"></div>
<div class="art-Logo">
 <h1 id="name-text"  class="art-Logo-text2">развлекательный портал</h1>
 <h1 class="art-Logo-name"><a href="<?php echo $baseUrl; ?>/">zabegaite.ru</a></h1>
 <div id="slogan-text">
   <h1 class="art-Logo-text1">развлекательный портал</h1>
 </div>
</div>


</div>
<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
<div class="art-contentLayout">
<?php if (artxCountModules($document, 'left')) : ?>
<div class="art-sidebar1"><?php echo artxModules($document, 'left', 'art-block'); ?>
</div>
<?php endif; ?>
<div class="art-<?php echo artxGetContentCellStyle($document); ?>">

<?php
  echo artxModules($document, 'banner2', 'art-nostyle');
  if (artxCountModules($document, 'breadcrumb'))
    echo artxPost(null, artxModules($document, 'breadcrumb'));
  echo artxPositions($document, array('user1', 'user2'), 'art-article');
  echo artxModules($document, 'banner3', 'art-nostyle');
?>
<?php if (artxHasMessages()) : ?><div class="art-Post">
    <div class="art-Post-tl"></div>
    <div class="art-Post-tr"></div>
    <div class="art-Post-bl"></div>
    <div class="art-Post-br"></div>
    <div class="art-Post-tc"></div>
    <div class="art-Post-bc"></div>
    <div class="art-Post-cl"></div>
    <div class="art-Post-cr"></div>
    <div class="art-Post-cc"></div>
    <div class="art-Post-body">
<div class="art-Post-inner">
<div class="art-PostContent">

<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

      <div class="cleared"></div>
    </div>
</div>
<?php endif; ?>
<jdoc:include type="component" />

<?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
<?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
<?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>
</div>
<?php if (artxCountModules($document, 'right')) : ?>
<div class="art-sidebar2"><?php echo artxModules($document, 'right', 'art-block'); ?>
</div>
<?php endif; ?>

</div>
<div class="cleared"></div>

<?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
<div class="art-Footer">
 <div class="art-Footer-inner">
  <?php echo artxModules($document, 'syndicate'); ?>
  <div >
  <?php if (artxCountModules($document, 'copyright') == 0): ?>
  <h1  class="art-Footer-text"><strong> <a href="http://localhost/zabegaite/">главная</a>&nbsp;&nbsp|&nbsp; <a href="http://localhost/zabegaite/index.php/2011-01-04-21-39-33.html">программы</a>&nbsp;&nbsp|&nbsp; <a href="http://localhost/zabegaite/index.php/2011-01-04-21-41-41.html">картинки</a>&nbsp;&nbsp|&nbsp; <a href="http://localhost/zabegaite/index.php/xxx.html">xxx</a>&nbsp;&nbsp|&nbsp;
        <a href="http://localhost/zabegaite/index.php/2011-01-04-21-42-46.html">фильмы</a>&nbsp;&nbsp|&nbsp;
        <a href="http://localhost/zabegaite/index.php/2011-01-04-21-40-43.html">знаменитости</a>&nbsp;&nbsp|&nbsp; <a href="http://localhost/zabegaite/index.php/2011-01-04-21-43-42.html">видеоуроки</a>&nbsp;&nbsp|&nbsp; <a href="http://localhost/zabegaite/index.php/2011-01-04-21-44-42.html">эл.книги</a>&nbsp;&nbsp|<a href="http://localhost/zabegaite/index.php/2011-01-04-21-45-45.html">&nbsp;музыка</a>&nbsp;&nbsp|&nbsp;  <a href="http://localhost/zabegaite/index.php/2011-01-04-21-47-47.html">разное</a> </strong></h1>
  <br/>
  <h1  class="art-Footer-text"><em><strong><a href="http://localhost/zabegaite/">развлекательный портал</a>-<a href="http://localhost/zabegaite/">zabegaite.ru</a></strong></em></h1>
  <br />
<em>Copyright &copy; 2010 Все права защищены</em><br />

<?php else: ?>
  <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
  <?php endif; ?>
  </div>
 </div>
 <div class="art-Footer-background"></div>
</div>

      <div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
</div>
*

Vladzimir

  • Захожу иногда
  • 107
  • 22 / 1
  • В очередь! в очередь! День Сурка © М.Борзыкин
Re: как исправить ошибки на сайте
« Ответ #5 : 09.01.2011, 14:02:23 »
Вопрос не в ту ветку. Вам нужно в Joomla 1,5,а у нас здесь Joostina!
Помочь не сможем.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

На сайте правая колонна ушла в низ

Автор vityavoluevich

Ответов: 3
Просмотров: 2675
Последний ответ 27.10.2023, 08:45:48
от vityavoluevich
Каков ваш заработок на сайте?возможно ли пролететь и создать не прибыльный сайт?

Автор bedalex

Ответов: 3
Просмотров: 5459
Последний ответ 05.06.2023, 11:00:40
от Ритулька88
Кто логинился на сайте

Автор sosny

Ответов: 6
Просмотров: 1819
Последний ответ 24.11.2017, 10:04:41
от sosny
Не отображаются материалы и ссылки на сайте (joomla 1.5)

Автор МарияЛ

Ответов: 1
Просмотров: 1855
Последний ответ 18.03.2017, 19:22:31
от rebus
Ошибки кодировки после обновления БД

Автор JohnGonzo

Ответов: 2
Просмотров: 2167
Последний ответ 12.04.2016, 09:11:03
от JohnGonzo