SonataMediaBundle: Files/Images not found
The file "" does not exist
As explained here, this is caused by insufficient limit for allowed upload file size in php.ini (increase upload_max_filesize
and post_max_size
).
Then you will probably stumble on another error saying that the zip file type is not allowed, so add this into your config.yml:
sonata_media: providers: file: allowed_extensions: ['zip']
sonata_media cdn: server: path: /myproject/web/uploads/media
This is the working option.I don't think there is a problem to hard code this.