1.利用组件上传,文件上传了但是没有返回图片的缩略图地址,说明服务器不支持,jpeg,gif,或者png等图片格式
2.jQuery File Upload Plugin 出现uid is 503
这是web服务器的启动用户是root的问题。
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access /data/www/web/admin/softup/pic/files/u=1401405764,3378842631&fm=9&gp=0.jpg owned by uid 0 in /data/www/web/admin/softup/pic/upload.class.php on line 257
Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 503 is not allowed to access /data/www/web/admin/softup/pic/files/u=1401405764,3378842631&fm=9&gp=0.jpg owned by uid 0 in /data/www/web/admin/softup/pic/upload.class.php on line 285Warning: Cannot modify header information - headers already sent by (output started at /data/www/web/admin/softup/pic/upload.class.php:257) in /data/www/web/admin/softup/pic/upload.class.php on line 343Warning: Cannot modify header information - headers already sent by (output started at /data/www/web/admin/softup/pic/upload.class.php:257) in /data/www/web/admin/softup/pic/upload.class.php on line 353[{"name":"u=1401405764,3378842631&fm=9&gp=0.jpg","size":false,"type":"image\/jpeg","error":"abort","delete_url":"http:\/\/admin.web\/admin\/softup\/pic\/?file=u%3D1401405764%2C3378842631%26fm%3D9%26gp%3D0.jpg","delete_type":"DELETE"}]