質問

I am working in a magento 1.8 enviroment and have created a new extension the files are in folders :

magento/app/code/local/Package/Module/
-controllers
--IndexController.php
-etc 
--config.xml

and

magento/app/etc/modules/Package_Module.xml

I created an extension in the backend and it creats a name.tgz file, a package.xml and a name.xml. My problem is though the paths in the xml files look right, my .tgz file is just empty with a size of 47bytes.

I am new to magento so can anyone help me?

Greetings from Germany

役に立ちましたか?

解決

Follow the target paths as shown in the below image and let me know if it didnt work enter image description here

他のヒント

I had the same problem. Here is how I fixed it.

I checked my system.log and found this:

2016-05-14T05:11:22+00:00 ERR (3): Warning: md5_file(./app/code/community/LeadGrid/Widget/etc/config.xml): failed to open stream: No such file or directory in /var/www/magento/lib/Mage/Connect/Package.php on line 643

So you must have all the files of your extension properly installed in your Magento folder. When packaging your extension, Magento looks for the files you specified in the Package Manager.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top