Announcement

Collapse
No announcement yet.

Problem with installing an extension through Magento Connect “INVALID POST DATA”

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with installing an extension through Magento Connect “INVALID POST DATA”

    I am trying to install an extension through Magento Connect and getting this error: INVALID POST DATA.
    Thought it was a broken link, tried another extension and got the same result.

    Appreciate any advice, thanks!


  • #2
    It is necessary to backup your current .htaccess file and replace it with .htaccess.sample. After the extension is installed, re-upload the original file. The sequence of actions is as follows:
    • Rename the file .htaccess into .htaccess-default
    • Rename the file .htaccess.sample into .htaccess
    • Install the extension through Magento Connect.
    • Rename the file .htaccess into .htaccess.sample
    • Rename the file .htaccess-default into .htaccess.

    The problem most likely happens due to the double redirect from /index.php to / on Magento Connect page which is set in .htaccess file. As a result, the information from the global array POST is lost.

    Comment


    • #3
      There may be various reasons for this error

      1. Invalid permission to the downloader folder in Magento manager.

      Contact your server admin to give proper permission.

      2. Improper key

      While pasting key in SYSTEM > MAGENTO CONNECT > MAGENTO CONNECT MANAGER people often forget to remove http:// from the key they copied. Remove http:// from the key you copied.

      3. Rewrite rule of .htaccess file.

      Sometimes due to rewrite rule of .htaccess file it tricky to install anything in Magento. Check your .htaccess file for the following code.

      RewriteRule ^(.*)(index.php/admin)($|/) - [L]
      RewriteCond %{THE_REQUEST} ^.*/index.php
      RewriteRule ^(.*)index.php$ http://www.domain.com/$1 [R=301,L]
      RewriteRule ^index.php/(.*) $1 [R=301,QSA,L]

      If you find these lines then comment them in following way (Before doing so take backup of your .htaccess file)

      #RewriteRule ^(.*)(index.php/admin)($|/) - [L]
      #RewriteCond %{THE_REQUEST} ^.*/index.php
      #RewriteRule ^(.*)index.php$ http://www.domain.com/$1 [R=301,L]
      #RewriteRule ^index.php/(.*) $1 [R=301,QSA,L]

      Hope it helps. Thanks.

      Comment


      • #4
        I used previous version of MAGNETO in my pc while i am using windows 8 (64bit).Recently i changed it to windows8.1. After that MAGNETO is not updating and installing.Please guide me how to remove previous installation files.?

        Comment

        Working...
        X