LiveInternetMail.ru
Форум русской поддержки Joomla!® CMS
19.06.2013, 16:33:36 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
   
   Начало   Поиск Joomla 2.5 FAQ Joomla 1.5 FAQ Joomla 1.0 FAQ Правила форума Новости Joomla Войти Регистрация Помощь  
Страниц: [1]   Вниз
  Добавить закладку  |  Печать  
Автор Тема: Ошибка в шаблоне full screen 2 при переносе с локала на хостинг  (Прочитано 1141 раз)
0 Пользователей и 1 Гость смотрят эту тему.
GERich13
Захожу иногда
**

Репутация: +1/-0
Offline Offline

Пол: Мужской
Сообщений: 12



« : 05.04.2012, 19:24:36 »

Собственно сама ошибка

Fatal error: Call to undefined function phpdefined() in /home/a1001756/public_html/templates/full_screen_2/html/com_content/frontpage/default.php on line 1


Собственно default.php

<?php
defined('_JEXEC') or die('Restricted access');
?>
<?php if ($this->params->get('show_page_title',1)) : ?>
<h1 class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   <?php
   // create title
   $pos   = JString::strpos($this->escape($this->params->get('page_title')), ' ');
   $title = ($pos !== false)? JString::substr($this->escape($this->params->get('page_title')), 0, $pos).'<span>'.JString::substr($this->escape($this->params->get('page_title')), $pos).'</span>' : $this->escape($this->params->get('page_title'));
    ?>
   <?php echo $title; ?>
</h1>
<?php endif; ?>
<div class="blog<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
   <?php $i = $this->pagination->limitstart;
   $rowcount = $this->params->def('num_leading_articles', 1);
   for ($y = 0; $y < $rowcount && $i < $this->total; $y++, $i++) : ?>
      <div class="leading<?php echo $this->params->get('pageclass_sfx'); ?>">
         <?php $this->item =& $this->getItem($i, $this->params);
         echo $this->loadTemplate('item'); ?>
      </div>
      <span class="leading_separator<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">&nbsp;</span>
   <?php endfor; ?>
   <?php $introcount = $this->params->def('num_intro_articles', 4);
   if ($introcount) :
      $colcount = $this->params->def('num_columns', 2);
      if ($colcount == 0) :
         $colcount = 1;
      endif;
      $rowcount = (int) $introcount / $colcount;
      $ii = 0;
      for ($y = 0; $y < $rowcount && $i < $this->total; $y++) : ?>
         <div class="article_row<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
            <?php for ($z = 0; $z < $colcount && $ii < $introcount && $i < $this->total; $z++, $i++, $ii++) : ?>
               <div class="article_column column<?php echo $z + 1; ?> cols<?php echo $colcount; ?>" >
                  <?php $this->item =& $this->getItem($i, $this->params);
                  echo $this->loadTemplate('item'); ?>
               </div>
               <span class="article_separator">&nbsp;</span>
            <?php endfor; ?>
            <span class="row_separator<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">&nbsp;</span>
         </div>
      <?php endfor;
   endif; ?>
   <?php $numlinks = $this->params->def('num_links', 4);
   if ($numlinks && $i < $this->total) : ?>
   <div class="blog_more<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
      <?php $this->links = array_slice($this->items, $i - $this->pagination->limitstart, $i - $this->pagination->limitstart + $numlinks);
      echo $this->loadTemplate('links'); ?>
   </div>
   <?php endif; ?>
   <?php if ($this->params->def('show_pagination', 2) == 1  || ($this->params->get('show_pagination') == 2 && $this->pagination->get('pages.total') > 1)) : ?>
      <?php if( $this->pagination->get('pages.total') > 1 ) : ?>
      <p class="counter">
         <?php echo $this->pagination->getPagesCounter(); ?>
      </p>
      <?php endif; ?>
      <?php if ($this->params->def('show_pagination_results', 1)) : ?>
         <?php echo $this->pagination->getPagesLinks(); ?>
      <?php endif; ?>
   <?php endif; ?>
</div>
Записан
newadam
Осваиваюсь на форуме
***

Репутация: +0/-0
Offline Offline

Пол: Мужской
Сообщений: 33


« Ответ #1 : 30.06.2012, 21:02:49 »

У меня работает этот шаблон с февраля 2012 года. Уже жалею, что поставил его!
Однако, подобной Вашей ошибки у меня не возникало.
 
Записан
Страниц: [1]   Вверх
  Добавить закладку  |  Печать  
 
Перейти в:  

Рейтинг@Mail.ru Rambler Top100 Powered by SMF 1.1.18 | SMF © 2006, Simple Machines

Joomlaforum.ru is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters
the trademark holder in the United States and other countries.

LiveInternet