• Resolved malefactor

    (@malefactor)


    Hello guys..

    I’ve transferred my site to other server. Since then, I can’t upload any image.. When i click Select image and chose one, I get the image name and title but the image is not there.

    Here is the preview: http://img207.imageshack.us/img207/8468/qweh.jpg

    I have tried with changing the Upload folder premissions to 777 but without success.

    One more thing.. before, I didn’t need host, user and pass to install or delete some plugin, now I need it.

    Any idea anyone?
    Thanks

Viewing 15 replies - 1 through 15 (of 18 total)
  • Have you checked your uploads path in Settings -> Media? Are the images being uploaded to the correct folder?

    Thread Starter malefactor

    (@malefactor)

    I did, everything is fine there. Default is wp-content/uploads

    Strange thing is, image size is 0x0

    Thread Starter malefactor

    (@malefactor)

    I’ve tried everything from this link, but still nothing.. :S

    I have the same problem like this guy. http://wordpress.org/support/topic/images-upload-fine-but-wp-shows-0x0-size?replies=7

    I’ve tried with AJAX Thumbnail Rebuild plugin as well and change the 172 line but still nothing.

    Have you spoken to your hosts about this? Have you checked that you haven’t consumed all of the allowed storage space? Is the new server running the latest version of GD Library?

    Thread Starter malefactor

    (@malefactor)

    I have enough free space.. btw what is GD Library?

    The PHP module that is used to process uploaded images.

    Thread Starter malefactor

    (@malefactor)

    tiggaz@ehost:~$ gdlib-config –version 2.0.33

    Hmm.. I’m using 2.0.34 compatible. Did you check your uploads path in Settings -> Media? If so, what was it? Are your hosts running mod_security? Did you try a smaller image? A different image?

    Thread Starter malefactor

    (@malefactor)

    I did it.. “Store uploads in this folder” and “Full URL path to files” are blank, so Default is wp-content/uploads

    I don’t know if they running mod_secirty i think no, but anyway I disabled in wp-admin/.htaccess

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    I have tried with jpg, gif and png. 120px, 500px…

    I disabled in wp-admin/.htaccess

    That doesn’t always work. Try asking your hosts about it.

    Thread Starter malefactor

    (@malefactor)

    I have changed the permissions to 777 for all this folders: /wp-content/uploads/2012/01 and finally image show up!

    But all those 777 is a little bit risk to leave like that.. O.o

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, 775 or 777. Once your uploads are working, change the permissions on wp-content back to 755 again and check that everything still works OK.

    Thread Starter malefactor

    (@malefactor)

    Doesn’t work with none of them, when I’m changing premissions only on wp-content.

    but only on 01 folder works, with 767, and the other /wp-content/upload/12 are 755

    i’ve changed back to 755 but again could not work.

    It could be that 777 isn’t that great a risk on your hosts’ server. It really depends upon how the server is configured. Try asking their opinion on this.

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘I can't upload image’ is closed to new replies.