简体   繁体   中英

An error occurred in the uploading images in wordpress version 3.8

here is my snapshot [1]: http://i.stack.imgur.com/D31BT.png

i have spend several hours to resolve problem but fail to do that. though im new in wordpress.

q:) when click on add Media button it provide option to upload image .when click on upload its shows an error failed to upload images. so where im wrong. i came to know good blog url: http://classforbeginner.blogspot.in/2013/04/wordpress-image-upload-error.html .. i have tried all steps and tutorials of wordpress .

here is my php.ini file

short_open_tag = On ,magic_quotes_gpc = Off ,magic_quotes_sybase = Off,magic_quotes_runtime = Off ,register_globals = Off ,upload_max_filesize = 20M ,post_max_size = 100M, session.auto_start = Off ,suhosin.session.encrypt = Off

i have troubleshoot by echo phpinfo(); its will show gd library

3:) also test GD Libarary :

here is my code to test gdlib

if (extension_loaded('gd') && function_exists('gd_info')) echo "PHP GD library is installed on your web server";

else echo "PHP GD library is NOT installed on your web server";

so where im wrong????

Debug with these points:

  1. Check Files and folders permission of wp-uploads folder should be 655 or 777
  2. Check GD library is active or not
  3. Check upload_max_filesize, post_max_size in your php.ini file

尝试在PHP设置中关闭模块“ imagemagick”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM