Post by trantuan1 » Thu Oct 13, 2016 3:28 pm

I use opencart 2.2.0.0
It's my home page:

Code: Select all

Warning: Missing argument 2 for Cart\Currency::format(), called in /home/lwumcnro/public_html/system/pavothemes/widget/product.php on line 105 and defined in /home/lwumcnro/public_html/system/library/cart/currency.php on line 24Notice: Undefined variable: currency in /home/lwumcnro/public_html/system/library/cart/currency.php on line 25Notice: Undefined index: in /home/lwumcnro/public_html/system/library/cart/currency.php on line 25Notice: Undefined variable: currency in /home/lwumcnro/public_html/system/library/cart/currency.php on line 26Notice: Undefined index: in /home/lwumcnro/public_html/system/library/cart/currency.php on line 26Notice: Undefined variable: currency in /home/lwumcnro/public_html/system/library/cart/currency.php on line 27Notice: Undefined index: in /home/lwumcnro/public_html/system/library/cart/currency.php on line 27Notice: Undefined variable: currency in /home/lwumcnro/public_html/system/library/cart/currency.php on line 30Notice: Undefined index: in /home/lwumcnro/public_html/system/library/cart/currency.php on line 30
Warning: require(/home/lwumcnro/public_html/catalog/view/theme//template/common/product/default.tpl): failed to open stream: No such file or directory in /home/lwumcnro/public_html/catalog/view/theme/pav_flashshop/template/module/widgets/product.tpl on line 43Warning: require(/home/lwumcnro/public_html/catalog/view/theme//template/common/product/default.tpl): failed to open stream: No such file or directory in /home/lwumcnro/public_html/catalog/view/theme/pav_flashshop/template/module/widgets/product.tpl on line 43

Newbie

Posts

Joined
Thu Oct 13, 2016 3:25 pm

Post by Johnathan » Thu Oct 13, 2016 10:46 pm

The extension or theme needs to be updated for OpenCart 2.2. Contact the developer. This is the file generating the error:

/system/pavothemes/widget/product.php

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by trantuan1 » Fri Oct 14, 2016 1:51 am

Code: Select all

<?php 
/******************************************************
 * @package Pav Product Tabs module for Opencart 1.5.x
 * @version 1.0
 * @author http://www.pavothemes.com
 * @copyright	Copyright (C) Feb 2012 PavoThemes.com <@emai:pavothemes@gmail.com>.All rights reserved.
 * @license		GNU General Public License version 2
*******************************************************/
	 
 
	$themeConfig = (array)$this->config->get('themecontrol');
	$listingConfig = array(
		'category_pzoom'                     => 1,
		'quickview'                          => 0,
		'show_swap_image'                    => 0,
		'product_layout'		=> 'default',
		'enable_paneltool'	=> 0
	);
	$listingConfig     = array_merge($listingConfig, $themeConfig );
	$categoryPzoom 	    = $listingConfig['category_pzoom'];
	$quickview          = $listingConfig['quickview'];
	$swapimg            = $listingConfig['show_swap_image'];
	$categoryPzoom = isset($themeConfig['category_pzoom']) ? $themeConfig['category_pzoom']:0; 
	
	$theme = $this->config->get('config_template');
	if( $listingConfig['enable_paneltool'] && isset($_COOKIE[$theme.'_productlayout']) && $_COOKIE[$theme.'_productlayout'] ){
		$listingConfig['product_layout'] = trim($_COOKIE[$theme.'_productlayout']);
	} 
	$productLayout = DIR_TEMPLATE.$this->config->get('config_template').'/template/common/product/'.$listingConfig['product_layout'].'.tpl';	
	if( !is_file($productLayout) ){
		$listingConfig['product_layout'] = 'default';
	}
	$productLayout = DIR_TEMPLATE.$this->config->get('config_template').'/template/common/product/'.$listingConfig['product_layout'].'.tpl';	

	$button_cart = $this->language->get('button_cart');
?>
<div class="panel  panel-default">
	<?php if( $show_title ) { ?>
	<div class="widget-heading panel-heading"><h3 class="panel-title"><?php echo $heading_title?></h3></div>
	<?php } ?>
	<div class="panel-body widget-content <?php echo $addition_cls; ?>">
		<div class="widget-inner">
			<?php require( $productLayout );  ?>   
		</div>
	</div>
</div>
It is file product.tpl, how fix it?

Newbie

Posts

Joined
Thu Oct 13, 2016 3:25 pm

Post by IP_CAM » Fri Oct 14, 2016 1:55 am

as you have been told already before, you'll need to contact:
http://www.pavothemes.com
to get assisted.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 4 guests