oneupuploaderbundle

OneupUploaderBundle upload picture but doesn't call EventListener

╄→гoц情女王★ 提交于 2020-02-25 09:17:04
问题 I have this Bundle working on my Symfony2 app. Images are well uploaded, but the listener for persist the filename to the SQL table is not called on method onUpload. Is strange, because all looks to be in order... This is my services.yml services: luisma.upload_listener: class: "LuismaBundle\Services\UploadListener" arguments: [@doctrine] tags: - { name: 'kernel.event_listener', event: oneup_uploader.post_persist, method: onUpload } And this is my Listener: <?php namespace LuismaBundle

OneupUploaderBundle upload picture but doesn't call EventListener

橙三吉。 提交于 2020-02-25 09:16:37
问题 I have this Bundle working on my Symfony2 app. Images are well uploaded, but the listener for persist the filename to the SQL table is not called on method onUpload. Is strange, because all looks to be in order... This is my services.yml services: luisma.upload_listener: class: "LuismaBundle\Services\UploadListener" arguments: [@doctrine] tags: - { name: 'kernel.event_listener', event: oneup_uploader.post_persist, method: onUpload } And this is my Listener: <?php namespace LuismaBundle

Symfony 3.1 and OneUpUploaderBundle + Blueimp = UploadListener is not called

你。 提交于 2020-01-02 01:15:36
问题 INTRODUCTION Almost two weeks ago I created similar question about upload using OneupUploaderBundle , but with FineUploader library. Sadly there are no answers yet. In the meantime I tried setting up different upload library. I am developing on Windows 10 Pro with XAMPP [1] which includes PHP v7.0.8 . [1] XAMPP for Windows I am using Symfony v3.1.5, OneupUploaderBundle and Blueimp jQuery upload in order to upload files to server. While setting things up I followed documentation of

Simple example of the entity file to be uploaded with OneupUploaderBundle

主宰稳场 提交于 2019-12-21 04:53:12
问题 I am try to use OneupUploaderBundle for uploading files. I read the documentation of this bundle many times but I did not manage to find any simple example of an entity for the file to be uploaded. My expectation is a class definition similar to the VichUploaderBundle : <?php namespace Minn\AdsBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\HttpFoundation\File\File; use Symfony\Component\Validator\Constraints as Assert; use Vich\UploaderBundle\Mapping\Annotation as Vich;

Symfony 3.1 and OneUpUploaderBundle + Blueimp = UploadListener is not called

给你一囗甜甜゛ 提交于 2019-12-05 02:38:44
INTRODUCTION Almost two weeks ago I created similar question about upload using OneupUploaderBundle , but with FineUploader library. Sadly there are no answers yet. In the meantime I tried setting up different upload library. I am developing on Windows 10 Pro with XAMPP [1] which includes PHP v7.0.8 . [1] XAMPP for Windows I am using Symfony v3.1.5, OneupUploaderBundle and Blueimp jQuery upload in order to upload files to server. While setting things up I followed documentation of OneUpUploaderBundle [2] and jQuery file upload [3], [4]. [2] OneupUploaderBundle documentation [3]

Simple example of the entity file to be uploaded with OneupUploaderBundle

丶灬走出姿态 提交于 2019-12-03 15:48:41
I am try to use OneupUploaderBundle for uploading files. I read the documentation of this bundle many times but I did not manage to find any simple example of an entity for the file to be uploaded. My expectation is a class definition similar to the VichUploaderBundle : <?php namespace Minn\AdsBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\HttpFoundation\File\File; use Symfony\Component\Validator\Constraints as Assert; use Vich\UploaderBundle\Mapping\Annotation as Vich; /** * @ORM\Entity * @Vich\Uploadable */ class MotorsAdsFile { /** * @ORM\Id * @ORM\Column(type=

Symfony 3.1 and OneUpUploaderBundle + FineUploader = UploadListener is not called

与世无争的帅哥 提交于 2019-11-29 16:57:19
INTRODUCTION I am developing on Windows 10 Pro with XAMPP [1] which includes PHP v7.0.8 . [1] XAMPP for Windows I am using Symfony v3.1.2, OneupUploaderBundle and FineUploader in order to upload files to server. While setting things up I followed documentation of OneUpUploaderBundle [2] and FineUploader [3], [4]. [2] OneupUploaderBundle documentation [3] OneupUploaderBundle FineUploader example [4] FineUploader upload documentation PROBLEM File upload works fine and files are uploaded to oneup_uploader_endpoint('gallery') . However listener is not called and is displayed in Symfony Profiler

Symfony 3.1 and OneUpUploaderBundle + FineUploader = UploadListener is not called

Deadly 提交于 2019-11-28 11:58:17
问题 INTRODUCTION I am developing on Windows 10 Pro with XAMPP [1] which includes PHP v7.0.8 . [1] XAMPP for Windows I am using Symfony v3.1.2, OneupUploaderBundle and FineUploader in order to upload files to server. While setting things up I followed documentation of OneUpUploaderBundle [2] and FineUploader [3], [4]. [2] OneupUploaderBundle documentation [3] OneupUploaderBundle FineUploader example [4] FineUploader upload documentation PROBLEM File upload works fine and files are uploaded to