Magento Forum

   
Error on the Configuration Site
 
theotherone1972
Jr. Member
 
Total Posts:  10
Joined:  2012-01-23
 

Hello,

I have a problem. When I go to system configuration and then I get a white page with the following error:

Fatal error: Class ‘Varien_Data_Form_Element_Color’ not found in

/lib/Varien/Data/Form/Abstract.php on line 146

Does anyone know why this is? I need urgent help: (

Greetz

 
Magento Community Magento Community
Magento Community
Magento Community
 
BelVG
Guru
 
Avatar
Total Posts:  306
Joined:  2011-02-16
Minsk, Belarus
 

Hi,

such error occurs if you specify a non-existent field type of the form:

$fieldset->addField('label_filename''color', array(
                
'label' => Mage::helper('test')->__('File'),
                
'required' => false,
                
'name' => 'filename',
        ));

Should be

$fieldset->addField('label_filename''file', array(
                
'label' => Mage::helper('test')->__('File'),
                
'required' => false,
                
'name' => 'filename',
        ));

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top