i have system.xml as follow:

                    <export translate="label">

and config.xm as follows:


Why does it produce errors like this

Warning: include(Mage\Velajne\Adminhtml\Block\System\Config\Form\Field\Exportjne.php): failed to open stream: No such file or directory  in D:\WWW\Domains\magentodev.local\htdocs\lib\Varien\Autoload.php on line 93

It seems that it can't resolve velajne_adminhtml correctly. if i use just velajne or velajne_shipping it resolved correctly.

  • The file in the warning does not appear to match the file defined in the backend_model. Is this really the part causing the error? Sep 17, 2014 at 9:41
  • yep it is. it doesn't resolve backend_model correctly. it should resolve to Vela\Jne\Block\Adminhtml\System\Config\Form\Field\Exportjne.php Sep 17, 2014 at 9:46
  • i just found the answer, frontend_model resolve to Blocks (instead of Models) and i dont have this Blocks definition in my config.xml Sep 17, 2014 at 9:57

1 Answer 1


found the answer, frontend_model resolves to Blocks (instead of Models) and i didnt have this Blocks definition in my config.xml that's why it produced error.

Adding velajne_adminhtml to my config.xml -> global -> blocks fixed the problem

  • please mark this as accepted.
    – Marius
    Nov 9, 2014 at 14:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.