Quote

We're also available for Custom Joomla Development

Hire us now

Deal Plaza Template

Before change language en-gb to pt-BR i see 1146 ERRO 1146
But, if comment on template(deal)/html (com_k2 to com_k2_) component k2 WORK!
or change language front end back again to en-GB all template work.

NEEED HELPP!!
Resolved
The discussion has been resolved.
20 responses Add Yours
       
  • Replied by pandocomunicacao on Thursday, March 17 2016, 06:49 PM · Hide· #1
    I believe the problem is these lines, because in a way I was putting out the codes up to find out what was affecting.
    
    
    		<?php if(isset($this->leading) && count($this->leading)): ?>
    		<!-- Leading items -->
    		<div id="itemListLeading">
    			<?php foreach($this->leading as $key=>$item): ?>
    
    			<?php
    			// Define a CSS class for the last container on each row
    			if( (($key+1)%($this->params->get('num_leading_columns'))==0) || count($this->leading)<$this->params->get('num_leading_columns') )
    				$lastContainer= ' itemContainerLast';
    			else
    				$lastContainer='';
    			?>
    			
    			<div class="itemContainer<?php echo $lastContainer; ?>">
    				<?php
    					// Load category_item.php by default
    					$this->item=$item;
    					echo $this->loadTemplate('item');
    				?>
    			</div>
    			<?php if(($key+1)%($this->params->get('num_leading_columns'))==0): ?>
    			<div class="clr"></div>
    			<?php endif; ?>
    			<?php endforeach; ?>
    			<div class="clr"></div>
    		</div>
    		<?php endif; ?>
    
    		<?php if(isset($this->primary) && count($this->primary)): ?>
    		<!-- Primary items -->
    		<div id="itemListPrimary">
    			<?php foreach($this->primary as $key=>$item): ?>
    			
    			<?php
    			// Define a CSS class for the last container on each row
    			if( (($key+1)%($this->params->get('num_primary_columns'))==0) || count($this->primary)<$this->params->get('num_primary_columns') )
    				$lastContainer= ' itemContainerLast';
    			else
    				$lastContainer='';
    			?>
    			
    			<div class="itemContainer<?php echo $lastContainer; ?>">
    				<?php
    					// Load category_item.php by default
    					$this->item=$item;
    					echo $this->loadTemplate('item');
    				?>
    			</div>
    			<?php if(($key+1)%($this->params->get('num_primary_columns'))==0): ?>
    			<div class="clr"></div>
    			<?php endif; ?>
    			<?php endforeach; ?>
    			<div class="clr"></div>
    		</div>
    		<?php endif; ?>
    
  •  
  • Replied by pandocomunicacao on Thursday, March 17 2016, 06:54 PM · Hide· #2
    Remembering, I changed the subject. However, the main theme also happens the same mistake.
    I already configured components to work on my theme.
  •  
  • Replied by admin on Friday, March 18 2016, 11:20 AM · Hide· #3
    Hi I have entered your website and found that the error is something related to virtuemart.
    <h3>1146 - Table 'ambiente_maz.dvcdq_virtuemart_products_pt_br' doesn't exist SQL=SELECT `dvcdq_virtuemart_products`.* ,`dvcdq_virtuemart_products_pt_br`.* FROM `dvcdq_virtuemart_products` INNER JOIN `dvcdq_virtuemart_products_pt_br` using (`virtuemart_product_id`) WHERE `dvcdq_virtuemart_products`.`virtuemart_product_id` = "4"</h3>
    <p>Ir para página inicial
    <a href="/mazah">Página inicial</a>.</p>

    Did you ever make change to virtuemart ? Can you try to update or reinstall the virtuemart?
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 12:21 PM · Hide· #4
    No, the way I bought the theme, I installed it, just put the language of my country.
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 12:23 PM · Hide· #5
    Try changing the language to en- gb
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 12:36 PM · Hide· #6
    I updated the Virtuemart and Virtuemart AIO
    will spoil something?
  •  
  • Replied by admin on Friday, March 18 2016, 01:12 PM · Hide· #7
    Are you reinstalling the website? I see the installation is no longer exist
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 01:30 PM · Hide· #8
    I reseted to start all over again and so you can follow. I had installed some items and also tried to solve without knowledge.
    Now returned to work and will just switch to Portuguese for you to see the problem.
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 01:32 PM · Hide· #9
    Ok, now installed and will create the settings to change the language.
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 01:35 PM · Hide· #10
    Check now. I just updated the language.
  •  
  • Replied by admin on Friday, March 18 2016, 01:56 PM · Hide· #11
    I think updating the language affecting the virtuemart table. Please see the bold section at the error message below :
    1146 - Table 'ambiente_marz.ad51d_virtuemart_products_pt_br' doesn't exist SQL=SELECT `ad51d_virtuemart_products`.* ,`ad51d_virtuemart_products_pt_br`.* FROM `ad51d_virtuemart_products` INNER JOIN `ad51d_virtuemart_products_pt_br` using (`virtuemart_product_id`) WHERE `ad51d_virtuemart_products`.`virtuemart_product_id` = "4"

    Have you installed pt_br language for virtuemart too?
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 03:19 PM · Hide· #12
    I inserted a translation package. but still continues with this error, how do I correct ?
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 03:23 PM · Hide· #13
    I push this button
  •  
  • Replied by pandocomunicacao on Friday, March 18 2016, 03:24 PM · Hide· #14
    But, button of add to cart dont work :(
  •  
  • Replied by admin on Saturday, March 19 2016, 01:34 AM · Hide· #15
    I think the button you pushed is for installing the virtuemart sample data, right? Then indeed the button add to cart wont work because the id of product has changed. Tried to add new product by following the deal plazza documentation about adding new product / item
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by pandocomunicacao on Saturday, March 19 2016, 02:20 AM · Hide· #16
    yes, but came a new question . It is possible to create ( use ) settings in another facility ? See this link, but translations can not call them . http://ambientedeveloper.com.br/vendas

    The theme comes in the deal , it is beautiful but does not fit on my needs . In fact I bought thinking it was an integrated component to virtuemart .
  •  
  • Replied by admin on Saturday, March 19 2016, 10:11 AM · Hide· #17
    hmm so you want to use another template but want to use the deal function of deal plazza? correct?

    Regarding the translation, it's because you use the different template but using the deal plazza function.
    To fix this please open this file with your php editor :
    http://ambientedeveloper.com.br/vendas/language/en-GB/en-GB.tpl_deals_plazza.ini then copy its content to your active template lang file (maybe http://ambientedeveloper.com.br/vendas/language/en-GB/en-GB.tpl_pando_modelo.ini)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by pandocomunicacao on Saturday, March 19 2016, 12:27 PM · Hide· #18
    Yeah Budy!
    Look this http://ambientedeveloper.com.br/vendas
    Now, i make a other templates using deal function.
    But the universe is not in my favor . The Virtuemart prices do not appear , but now it's my problem .

    Thanks man!!
  •  
  • Replied by pandocomunicacao on Saturday, March 19 2016, 12:42 PM · Hide· #19
    Hey, now it's all right .
    This support is amazing!
    Tnks for everthing!
  •  
  •  
    Replied by admin on Saturday, March 19 2016, 03:52 PM · Hide· #20
    Ah ok great, glad to know you have managed to solve it ;)
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments