2015-11-05 71 views
1

幾天來,我一直在努力處理我的Magento擴展。該擴展的開發人員並不真正有用,因爲這是一個免費的擴展。未找到Magento類問題

我安裝:自定義Formbuilder我magento,我收到以下錯誤:

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 

我不知道該怎麼真的是;誰能幫忙?下面是該行的代碼:

$block = new $block($attributes); 
+0

您是否清除緩存?文件app/code/local或community /Phxsolution/Formbuilder/Block/Adminhtml/Formbuilder/Edit/Tab/Options/Type/Text.php是否存在? – Rob

+0

嗨,羅布,感謝您的快速回復。是的,我確實清理了緩存。但是Text.php只存在於一個文件夾中。沒有文件在裏面......任何想法? – Omar

+0

錯誤是說上面的聲明文件中的類不存在。 – Rob

回答

1

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

由於一些 - 不可思議? - handling of tar archives in the Magento source code和Magento Connect服務器本身,有時Magento Connect管理器將提取一個tar歸檔文件,並在創建一個文件夾時創建一個文件

爲了解決這個問題我倒是

  • 通過粘貼鍵手動下載擴展壓縮到this page

  • 提取本地計算機和/或其他服務器上的歸檔

  • Text.php文件夾替換爲手動下載的檔案文件中的Text.php文件

  • 比較與其他擴展名的文件手動下載的檔案app/code/community/Phxsolution/Formbuilder

祝你好運!

+0

嗨艾倫,我是雙重檢查,你的解決方案是有幫助的!非常感謝你!!!! – Omar

+0

我新的問題,但我不知道連接管理器發生。我很少使用它 – Rob