0

When I press on proceed I got this error on Magento Connect :

Invalid Post Data

  • How can I fix it ?
  • Directory Permission ?
4

The error appears when you try to send the form through _GET (or to much data send through POST). This code can be found in downloader/Maged/Controller.php: (connectPreparePackagePostAction and connectInstallPackagePostAction methods)

if (!$_POST) {
    echo "INVALID POST DATA";
    return;
} 

Check what the $_POST variable looks like. Also check if you are not over the post_max_size limit with what you send.

0

In my case it was related to recent change in my .htaccess.

Thanks to this website (http://www.ecommerce-northern-ireland.co.uk/magento/upgrading-magento-via-magento-connect/) I now switch between 2 .htaccess files (optimized and normal) and it works perfectly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.