WordPress 2.7.1 Image Upload Problem on 1and1 Resolved

WordPress 2.7.1 problem (for 1and1 shared hosting):

Can’t upload images when the following plugins are installed together:

  • “NextGEN Gallery” AND “WP Security Scan” installed together causes image upload problems.
  • “NextGEN Gallery” AND “Multi-Level Navigation” plugins installed together causes image upload problems.

Errors encountered when trying to upoad images:

  • Warning: imagecreatefromstring() [function.imagecreatefromstring]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/30/d119280860/htdocs/inspiredamateur.reidwalley/wp-admin/includes/image.php on line 147
  • Warning: imagecreatefromstring() [function.imagecreatefromstring]: Passed data is not in ‘JPEG’ format in /homepages/30/d119280860/htdocs/inspiredamateur.reidwalley/wp-admin/includes/image.php on line 147
  • Warning: imagecreatefromstring() [function.imagecreatefromstring]: Couldn’t create GD Image Stream out of Data in /homepages/30/d119280860/htdocs/inspiredamateur.reidwalley/wp-admin/includes/image.php on line 147
  • HTTP error. An error occurred in the upload. Please try again later.

SOLUTION (for 1and1 shared hosting):

Add the following lines of code to the .htaccess file:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Similar Posts


  1. Thank you Sir! This is the ONLY thing that has fixed the image upload issue for me!

    I very much appreciate you taking the time to post this! I’ve made mention of it on my blog.



  2. Mil Gracias de verdad gracias a esta solución que publicaste ya hace 2 Años y aún sigue brindado ayuda, todos los problemas que tenía Con WordPress 3.1 en 1and1 fueron solucionados tanto, el la creación de los thumnails como en las traducciones de WordPress


    Thanks goes out with this solution you posted 2 years ago and continues to provide help, all the problems I had with WordPress 3.1 on 1and1 were solved both the creation of thumnails as translations of WordPress 3.1

Leave a Reply

Your email address will not be published. Required fields are marked *