Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Срочно! Выдает ошибку.


Aniko
 Share

Recommended Posts

В этолом, все нормально.

Только когда пыиюсь зайти в карточку товара, выдает ошибку

 

Parse error: syntax error, unexpected T_ELSE in /var/www/траии/data/www/траии/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 631

 

Вот кусок когда налиная с 631 строчки

 

else 

{
if ($this->config->get('pop_up_turbo_template')) 
{
$tpl = $this->config->get('pop_up_turbo_template');
}
else 
{
$tpl = 'product_classic_popup.tpl';
}
 
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/product/'. $tpl)) 
{
$this->template = $this->config->get('config_template') . '/template/product/'. $tpl;
else 
{
$this->template = 'default/template/product/' . $tpl;
}
 
$this->response->setOutput($this->render());
}
 
    }
  }
Link to comment
Share on other sites


не в тот строке ищите, вспоминайте что меняли в catalog_controller_product_product.php

скорее всего ггде-то липотому что скобку не закрыли липотому что else не им в тулили

  • +1 1
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

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.