sewpafly / post-thumbnail-editor

Wordpress Plugin to manually edit post thumbnails
http://wordpress.org/extend/plugins/post-thumbnail-editor/
32 stars 18 forks source link

CONFIRM-IMAGES SUCCESS not Working (return -1) #45

Closed leocaseiro closed 12 years ago

leocaseiro commented 12 years ago

I'm trying to find the error, but on my server is not working properly.

The Crop works perfectly in the directory ptemp, the image is saved and cropped there OK. But when what should replace the file on directory of the WordPress uploads it just does not happen.

I noticed that the error must be on action taken by the admin-ajax.php native WordPress.

For Firebug, I also discovered that the date is coming empty on ajax.

Could you help me?

Debug code: http://dpastey.appspot.com//Ozkw/

Tks

sewpafly commented 12 years ago

Yeah, the admin-ajax script is returning a -1 which is something that wordpress does when it panics... Here's a couple ideas to help debug:

Let me know if there is anything else I can do to help you debug it! :confounded:

leocaseiro commented 12 years ago

My server has the varnish cache. With that, he did not let change the picture.

I managed to get param ?123 for each thumbnail_data and then it worked.

Will send the changed files and will commit to your repository. If you have another better solution, please let me know.

Thanks for the help and the excellent plugin.

best regards