Jump to content
Sign in to follow this  
DNeeZ

Не запускается другой шаблон

Recommended Posts

Первый раз поставил OpenCart. Стандартный шаблон работает, а вот новый нет. В чем проблема? Че пишет:

Warning: require(C:\Users\Public\Apache2.2.25\htdocs\vmkss\catalog\view\theme\block\template\common\column_left.tpl): failed to open stream: Permission denied in C:\Users\Public\Apache2.2.25\htdocs\vmkss\system\engine\controller.php on line 62
Fatal error: require(): Failed opening required 'C:\Users\Public\Apache2.2.25\htdocs\vmkss/catalog/view/theme/block/template/common/column_left.tpl' (include_path='.;C:\Users\Public\php\includes') in C:\Users\Public\Apache2.2.25\htdocs\vmkss\system\engine\controller.php on line 62

Share this post


Link to post
Share on other sites

Разобрался в чем проблема. Файл шаблон был зашифрован.

Чтоб не плодить темы напишу здесь новую проблему:

Parse error: syntax error, unexpected end of file in C:\Users\Public\Apache2.2.25\htdocs\vmkss\catalog\view\theme\block\template\module\slideshow.tpl on line 131

В файле:

<div class="flexslider">
  <ul class="slides">
    <?php foreach ($banners as $banner) { 
    
    $pos = strpos($banner['title'], "mini");
    $pos2 = strpos($banner['title'], "ads");
    if (($pos === false)&&($pos2 === false)) {
    ?>
    <li>
    <?php if ($banner['link']) { ?>
    <a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" /></a>
    <?php } else { ?>
    <img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" />
    <?php } ?>
    </li>
    <? } ?>
    
    <?php } ?>
  </ul>
</div>
<?
$block_layout_rightbaners = 'show';

if($this->config->get('block_status') == '1') { $block_layout_rightbaners = $this->config->get('block_layout_rightbaners'); }

if($block_layout_rightbaners == 'show') {
?>	
<div class="mini-sliders">
  <?php
  
    $i = 0;
    
    foreach ($banners as $banner) { 
    
    $pos = strpos($banner['title'], "mini");
    
    if ($pos !== false) {
    $i++;
    ?>
  
    <?php if ($banner['link']) { ?>
    <a href="<?php echo $banner['link']; ?>"><img class="fade-image" src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>"/></a>
    <?php } else { ?>
    <img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" />
    <?php } ?>
  
    <? } ?>
    
    <?php }
    
    if($i>0)
    {
      echo '<style type="text/css">.flexslider {
	width:690px;float:left;
}

</style>';
    }
    
    ?>
</div>
<div class="clear"></div>

<? } ?>

<?
$block_layout_bottombaners = 'show';

if($this->config->get('block_status') == '1') { $block_layout_bottombaners = $this->config->get('block_layout_bottombaners'); }

if($block_layout_bottombaners == 'show') {
?>
<div class="mini-ads">
  <?php
  
    $j = 0;
    
    foreach ($banners as $banner) { 
    
    $pos = strpos($banner['title'], "ads");
    if ($pos !== false) {
    $j++;
    ?>
  
    <?php if ($banner['link']) { ?>
    <a href="<?php echo $banner['link']; ?>"><img class="fade-image" src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>"/></a>
    <?php } else { ?>
    <img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" />
    <?php } ?>
  
    <? } ?>
    
    <?php }
    
    if($j==0)
    {
      echo '<style type="text/css">.mini-ads {
	display:none;
}</style>';
    }
    
    
    ?>
</div>
<div class="clear"></div>

<? } ?>
<?
$block_effects_slideranim = 'fade';

if($this->config->get('block_status') == '1') { $block_effects_slideranim = $this->config->get('block_effects_slideranim'); }

?>
<script type="text/javascript"><!--
$(document).ready(function() {
 	
  $('.flexslider').flexslider({
    animation: "<?=$block_effects_slideranim;?>",
    controlNav: false,
    directionNav: true,
    start: function(slider) {
	  
	
	  
      }
  });

     
  
});
--></script>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Akkyla
      Здравствуйте. Не как не могу сладить с фильтром в магазине. Ставила 2 бесплатных, покупала 4 штуки. Последний купленный - фильтр лайт от Фрилансера. Не во всех категориях показывает размер. Может быть у кого то было такое и подскажите как это можно исправить. К автору модуля обращалась - безрезультатно((
  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.