Magento Invalid Block Type in C:\wamp\www\mg1\app\Mage.php:595 -


i've installed simple extension display attributes grouped attribute set. after installing i'm getting error:

exception 'mage_core_exception' message 'invalid block type: ' in c:\wamp\www\mg1\app\mage.php:595 

below 2 files (i manually found them) installed: can tell me can start looking first fix cause of error?

a layout file: \app\design\frontend\base\default\layout\attributesasgroup.xml

<layout version="0.1.0">      <catalog_product_view>          <reference name="content">         <block name="product.info" >          <block type="webguys_attributesasgroup/groupview" name="product.attributes" as="additional" template="webguys/attributesasgroup/groupview.phtml">             <action method="addtoparentgroup"><group>detailed_info</group></action>         </block>          </block>     </reference>      </catalog_product_view>  </layout> 

here template file \app\design\frontend\base\default\template\webguys\attributesasgroup

<?php     $_helper = $this->helper('catalog/output');     $_product = $this->getproduct() ?>  <?php if($_additionalgroup = $this->getadditionaldata()): ?> <div class="box-collateral box-additional">     <h2><?php echo $this->__('additional information') ?></h2>      <?php $i=0; foreach ($_additionalgroup $_additional): $i++; ?>         <h3><?php echo $this->__( $_additional['title'] )?></h3>         <table class="data-table" id="product-attribute-specs-table-<?php echo $i?>">             <col width="25%" />             <col />             <tbody>             <?php foreach ($_additional['items'] $_data): ?>                 <tr>                     <th class="label"><?php echo $this->htmlescape($this->__($_data['label'])) ?></th>                     <td class="data"><?php echo $_helper->productattribute($_product, $_data['value'], $_data['code']) ?></td>                 </tr>             <?php endforeach; ?>             </tbody>         </table>         <script type="text/javascript">decoratetable('product-attribute-specs-table-<?php echo $i?>')</script>     <?php endforeach; ?>  </div> <?php endif;?> 

this extension not suiable extension.

i  have modify app\code\community\webguys\attributesasgroup\etc\config.xml in  

and code

   <?xml version="1.0" encoding="utf-8"?> <config>     <modules>         <webguys_attributesasgroup>             <version>1.0.0</version>         </webguys_attributesasgroup>     </modules>      <global>         <blocks>             <attributesasgroup>                 <class>webguys_attributesasgroup_block</class>             </attributesasgroup>         </blocks>     </global>     <frontend>         <layout>             <updates>                 <attributesasgroup>                     <file>attributesasgroup.xml</file>                 </attributesasgroup>              </updates>         </layout>     </frontend> </config> , file name attributesasgroup.xml change attributesasgroup.xml 

and code of code:

this file code is

<layout version="0.1.0">     <catalog_product_view>          <reference name="content">             <block name="product.info" >                  <block type="attributesasgroup/groupview" name="product.attributes" as="additional" template="webguys/attributesasgroup/groupview.phtml">                     <action method="addtoparentgroup"><group>detailed_info</group></action>                 </block>              </block>         </reference>      </catalog_product_view>  </layout> 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -