×


Magento 'connect error: unsupported resource type' error - Fix it Now ?

Magento is an open-source e-commerce platform written in PHP. It uses multiple other PHP frameworks such as Laminas and Symfony.

Basically, Magento 'connect error: unsupported resource type' error happens due to server issues.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to resolve Magento errors.

In this context, we shall look into methods to fix this Magento error.


Causes and fixes for magento 'connect error: unsupported resource type' error

When we try to update extensions in Magento Connect/Magento Connect Manager or try to install a new package we receive following error:

"CONNECT ERROR: Unsupported resource type"

This could happen due to a number of reasons.

Usually, manual installation will work without any issues.


You can perform the manual installation following below steps:

i. Firstly, download extension.

ii. Then, unzip package.

iii. Next, copy Eightdigits_MarketingSuite/app to MAGENTO_HOME/app:

cd MAGENTO_HOME
./mage sync (you need to make ./mage executable if it was not : chmod 750 mage)

iv. Clean cache on Cache Management page of Magento admin dashboard.

v. Then, log out and log in to Magento Admin.

vi. Then, refresh Magento store page so you could see 8 digits comments in page source.


Instead of manual installation, if you would like to make the extension compatible with the Magento Version let us see what can cause the error and how to fix it.


1.PHP version issues

First and foremost, this error can happen when having a newer PHP version than your current Magento supports.

In that case, you can just change {magento}/downloader/lib/Mage/Archive/Tar.php from the old 1.6 Magento version.

I.e,

const FORMAT_PARSE_HEADER = ‘a100name/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100symlink/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155prefix/a12closer';

to,

const FORMAT_PARSE_HEADER = ‘Z100name/Z8mode/Z8uid/Z8gid/Z12size/Z12mtime/Z8checksum/Z1type/Z100symlink/Z6magic/Z2version/Z32uname/Z32gname/Z8devmajor/Z8devminor/Z155prefix/Z12closer';


2. Browser issues

This could be due to browser issues.

Please try it on a different browser as this is probably related to internet connection or the downloader.


3. Package extraction

At times, this could be an issue with extracting the package.

On some magento installation, users have this problem.

If you get it please download the package to the Magento directory and then try extract package *.tgz and upload files via ftp manager to your site.


[Need urgent assistance in fixing Magento errors? – We are available 24*7. ]


Conclusion

This article covers methods to resolve magento 'connect error: unsupported resource type' error.