grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Cannot upload images

Open gasserol opened this issue 9 years ago • 6 comments

Hi, while uploading an image through asset manager, I get the following error: bildschirmfoto 2017-10-10 um 15 44 23

Assetmanager configuration at editor init looks like bildschirmfoto 2017-10-10 um 15 45 30

Folder exists and is writable. Can you please help? Many thanks for this excellent software beside this issue :-)

gasserol avatar Oct 10 '17 13:10 gasserol

The upload endpoint should return a JSON, your seems to return an HTML

artf avatar Oct 11 '17 12:10 artf

OK, many thanks, don't know how to solve this.. I'm using a normal apache server on localhost for tests and believe that this endpoint does not answer at all. I will try to implement your solution to the yii2 framework, there I can handle the json response of the endpoint. Many thanks for the imput and your excellent software!

gasserol avatar Oct 11 '17 13:10 gasserol

@gasserol you can refer to my code Here I was able to upload and retrieve files.

kamzk avatar Oct 11 '17 13:10 kamzk

@mekamleshk many thanks for your precious help. I will try to implement as suggested. BR, Oliver

gasserol avatar Oct 11 '17 13:10 gasserol

I close this @gasserol as it seems to be just a server-side issue

artf avatar Oct 11 '17 19:10 artf

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Sep 18 '19 10:09 lock[bot]