Closed leocaseiro closed 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:
admin-ajax.php
-> pte_ajax()
(post-thumbnail-editor.php
) -> pte_confirm_images()
(php/functions.php
). I would put actual print statements in those code spots to find where the -1 is coming from.Let me know if there is anything else I can do to help you debug it! :confounded:
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
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