Omar Omar - 1 year ago 96
HTML Question

Magento Class not found Issue

For a few days I am struggling with my

extension. The developers of that extension are not really helpful as this is a free extension.

I installed: Custom Formbuilder to my
and I am getting the following error:

Fatal error: Class 'Phxsolution_Formbuilder_Block_Adminhtml_Formbuilder_Edit_Tab_Options_Type_Text' not found in /home/proliner/public_html/app/code/core/Mage/Core/Model/Layout.php on line 491

I don't know really what to do; can anyone help? Here is the code from that line:

$block = new $block($attributes);

Answer Source

Text.php exist however only as a folder. there is no file in it... any idea?

Due to some -- weird? -- handling of tar archives in the Magento source code and on the Magento Connect servers themselves, sometimes the Magento Connect manager will extract a tar archive and create a folder when it should create a file.

To fix this I'd

  • Manually download the extension archive by pasting the key into this page

  • Extract the archive on your local computer and/or another server

  • Replace the Text.php folder with the Text.php file from the manually downloaded archive

  • Compare the manually downloaded archive with the other extension files in app/code/community/Phxsolution/Formbuilder

Good luck!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download