Picmonkey can no longer fetch an image
Permalink Browser Info Environment
Hello!
I've been using Picmonkey image editor on a few sites for years already, and recently (sometime this year) it stopped working (on all sites). I don't know if it is a result of change in a server config or is it Picmonkey silently changing their API... As I'm not knowledgeable enough, I'm really lost, and only hoping on your help.
So, the problem occurs when Picmonkey tries to load an image (in any browser). The editor itself is loaded into iframe, the progressbar is running, and then "Oops! Something went wrong" message. Screenshots of two requests from the console are attached. Do you have any idea of what might be the reason?
Would be hugely grateful for any help!
kind regards,
-Gosh
I've been using Picmonkey image editor on a few sites for years already, and recently (sometime this year) it stopped working (on all sites). I don't know if it is a result of change in a server config or is it Picmonkey silently changing their API... As I'm not knowledgeable enough, I'm really lost, and only hoping on your help.
So, the problem occurs when Picmonkey tries to load an image (in any browser). The editor itself is loaded into iframe, the progressbar is running, and then "Oops! Something went wrong" message. Screenshots of two requests from the console are attached. Do you have any idea of what might be the reason?
Would be hugely grateful for any help!
kind regards,
-Gosh
Type: | Discussion |
---|---|
Status: | In Progress |
I'm having the same issue!
Do you still have the problem ?
Not anymore, as I patched the source code after investigation with your assitance, but the reason why I had to do this, why it used to work before and then stopped working on all our sites is unclear to me. Mystery.
Hey could you please share what you did to make it work again? Also having the same problem.
Thanks Maria
Thanks Maria
Hello,
I'm working on the new c57 version, I've something working but you need for now to install it by hand.
Unzip the following file in /applications/elements/files/edit/ :http://djes.free.fr/concrete/c57/elements.zip...
It's a work in progress, please be indulgent.
Regards,
djes
I'm working on the new c57 version, I've something working but you need for now to install it by hand.
Unzip the following file in /applications/elements/files/edit/ :http://djes.free.fr/concrete/c57/elements.zip...
It's a work in progress, please be indulgent.
Regards,
djes
Hello,
I'm working on the new c57 version, I've something working but you need for now to install it by hand.
Unzip the following file in /applications/elements/files/edit/ :http://djes.free.fr/concrete/c57/elements.zip...
It's a work in progress, please be indulgent.
Regards,
djes
I'm working on the new c57 version, I've something working but you need for now to install it by hand.
Unzip the following file in /applications/elements/files/edit/ :http://djes.free.fr/concrete/c57/elements.zip...
It's a work in progress, please be indulgent.
Regards,
djes
Thanks will try it out but I have a few sites that are on 5.6 and need to get the editor working there.
Thanks Maria
Thanks Maria
what I did to fix my issues, is that I commented out the line #42 in /elements/files/edit/image.php
and replaced it with
as earlier in the file (line #11) $image is defined as BASE_URL . $fv->getRelativePath(). And now it works again. Wicked. It's a complete mystery why it all has been working before and why it had stopped working at some point for us. Hope it helps you as well.
$aPicmonkeyParams['image_file'] = '@'.$fv->getPath();
and replaced it with
$aPicmonkeyParams['image_file'] = $image;
as earlier in the file (line #11) $image is defined as BASE_URL . $fv->getRelativePath(). And now it works again. Wicked. It's a complete mystery why it all has been working before and why it had stopped working at some point for us. Hope it helps you as well.
Great thank you so much this worked perfectly!
Thank you! This fixed the issue for us as well.
In case it's useful knowledge... we observed Picmonkey editing stopped working on sites that were running PHP 5.6.x. Sites running on PHP 5.5.x and under didn't have the issue.
In case it's useful knowledge... we observed Picmonkey editing stopped working on sites that were running PHP 5.6.x. Sites running on PHP 5.5.x and under didn't have the issue.