dongshi1102
2014-03-25 09:44
浏览 44

magento 1.8自己的扩展包空tgz文件

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

图片转代码服务由CSDN问答提供 功能建议

我正在使用magento 1.8环境,并创建了一个新的扩展名,文件位于文件夹中:

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

  magento / app / etc / modules / Package_Module.xml 
   
 \  n 

我在后端创建了一个扩展,它创建了一个 name.tgz 文件,一个 package.xml 和一个 name.xml 。 我的问题是虽然xml文件中的路径看起来正确,但我的.tgz文件只是空的,大小为47字节。

我是magento的新手,所以有人可以帮助我吗?

来自德国的问候

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dozug64282 2014-03-25 09:58
    已采纳

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

    已采纳该答案
    打赏 评论
  • dourong9253 2016-05-14 05:32

    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.

    打赏 评论

相关推荐 更多相似问题