Uploading file through WYSIWYG, the sistem creates a "public:" directory on root, and shows the message "the file could not be deleted"
permissions are set to 775 and also crashes with permissions at 777. owner is www-data
The image is inserted the first time, and if you manually delete the "public:" directory at root level each time before you insert the image.
If the created "public:" directory is not deleted then the ajax keeps on loop.

Comments

egarias’s picture

I checked with

$path = file_create_url('public://test.txt');
dsm($path);

and it returns the correct value

http://running.es/sites/default/files/test.txt

but again, WYSIWYG tries to create a directory http://running.es/public: and it doesn't work

dave reid’s picture

Are you using any other WYSIWYG or file-related modules at all? Could this possibly be something other than Media causing it?

egarias’s picture

I am using WYSIWYG 7x 2.2 and ckeditor as library CKEditor 3.6.6.7689
Also Media Crop 7.x-1.4
I am trying to debug but i cannot find the problem, that happens when copying to destination

I am using the media suite and also Manual Crop 7.x-1.4 uploading files to a node using file field works perfect

chris matthews’s picture

Component: WYSIWYG integration » Code
Issue summary: View changes
Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team