Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6893801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:42:14+00:00 2026-05-27T06:42:14+00:00

I am trying to create a new Product Type. But I am always getting

  • 0

I am trying to create a new Product Type. But I am always getting an error, that the Helper Method could not be found. Why is Magento searching the Method in the Mage Namespace and not in the Xcrypt?

The cache is disabled and I flushed the Magento Cache and the Cache Storage…

ERR (3): Warning: include(): Failed opening 'Mage/Android/Helper/Data.php' for inclusion
         (include_path='/var/www/URL/app/code/local:
                        /var/www/URL/app/code/community:
                        /var/www/URL/app/code/core:
                        /var/www/URL/lib:
                        .:
                        /usr/share/php:/usr/share/pear')  in 
        /var/www/URL/lib/Varien/Autoload.php on line 93

files and directory structure

app/code/local/Xcrypt/Android$ ls  -R

./etc:
config.xml

./Helper:
Data.php

./Model/Product/Type:
App.php

config.xml

<?xml version="1.0"?>
<config>

  <modules>
    <Xcrypt_Android>
      <version>0.1.0</version>
    </Xcrypt_Android>
  </modules>

  <adminhtml>
      <translate> 
        <modules>     
          <Xcrypt_Android>  
            <files>     
              <default>Xcrypt_Android.csv</default>
            </files>    
          </Xcrypt_Android>   
        </modules>    
      </translate>
  </adminhtml>

  <global>

    <models>
      <android>   
        <class>Xcrypt_Android_Model</class>
      </android>  
    </models>

    <catalog>
        <product>     
          <type>        
            <android translate="label" module="Android">
              <label>Android Product Type</label>
              <model>android/product_type_app</model>
            </android>        
          </type>       
        </product>    
    </catalog>

    <helpers>
      <android>   
        <class>Xcrypt_Android_Helper</class>
      </android>  
    </helpers>

  </global>

</config>

Helper/Data.php

<?php
class Xcrypt_Android_Helper_Data extends Mage_Core_Helper_Abstract {
}
?>

Model/Product/Type/App.php

<?php
class Xcrypt_Android_Model_Product_Type_App extends Mage_Catalog_Model_Product_Type_Abstract {
}
?>

app/etc/modules/Xcrypt_Android.xml

<?xml version="1.0" encoding="UTF-8"?>
<config>
    <modules>
        <Xcrypt_Android>
            <active>true</active>
            <codePool>local</codePool>
        </Xcrypt_Android>
    </modules>
</config>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:42:14+00:00Added an answer on May 27, 2026 at 6:42 am

    I found the problem… I was just a problem with the case!
    The module name must be lower case:

            <android translate="label" module="android">
    

    For further explaination see the comment of Ben … thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was trying to create a new product but some weird problem happened and
I'm trying to create a new object of type T via its constructor when
I'm trying to create a new contact and add it to the AddressBook but
I am trying to create T-SQL function from Northwind to return new table, that
I'm using a variable to create an element. But I'm getting this error: Warning:
I am trying to create new Event objects to be persisted in the database
I am trying to create new rules profile in Sonar 2.9 with my checkstyle
When trying to create a new team project with any of the default project
I'm trying to create a new project in NetBeans PHP from existing sources. When
I am trying to create a new dict using a list of values of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.