Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Garbage in extension code after installing through Magento Connect
Jr. Member
Total Posts:  2
Joined:  2012-11-12

I’m developing a very simple extension. Doesn’t matter what it is designed for.

It has only one file of code - /controllers/IndexController.php

Last time faced with a strange bug:
after downloading and installing extension using magento connect there appear “nuls” and some strange data in that file right in the end of the code.

How does it look like - see in attachment 1.

I have seeked over the whole project and found out that this “postfix” has format of “tar” archive file header.

The source code doesn’t have these symbols. When I unpack extension package manually in OS - there is no arbitrary data. That appears only when I install the extension using Magento Connect.

Please help. How to stop this shit to appear?


File Attachments
YeahCommerce_Catalog_Sync_Extension-1.0.10.tgz  (File Size: 8KB - Downloads: 0)
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top