vich uploader image going to xampp as temp file










0















Hello I´m doing upload of images with vich upload and is returning the path name as.



The images were being uploaded and being displayed in the easy admin.
But then suddenly it started to not load the images anymore, and I´ve found that the destination directory was changed to ->




C:xampp_tmpphpB51C.tmp




my vich mapping is like



mappings:
manchete_images:
uri_prefix: 'uploadsimagesmanchetes'
upload_destination: '%kernel.project_dir%/public/uploads/images/manchetes'


the images were appering normally, then suddenly start to broken to and is not creating the file upload file in the public directory










share|improve this question
























  • Could you clear your cache ? could you check that you have enough memory under you disk ?

    – famas23
    Nov 15 '18 at 19:47











  • @AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

    – Adriel Werlich
    Nov 15 '18 at 20:17












  • the application cache: just submit this command bin/console cache:clear

    – famas23
    Nov 15 '18 at 21:47






  • 1





    As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

    – famas23
    Nov 16 '18 at 17:10






  • 1





    By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

    – famas23
    Nov 16 '18 at 17:11















0















Hello I´m doing upload of images with vich upload and is returning the path name as.



The images were being uploaded and being displayed in the easy admin.
But then suddenly it started to not load the images anymore, and I´ve found that the destination directory was changed to ->




C:xampp_tmpphpB51C.tmp




my vich mapping is like



mappings:
manchete_images:
uri_prefix: 'uploadsimagesmanchetes'
upload_destination: '%kernel.project_dir%/public/uploads/images/manchetes'


the images were appering normally, then suddenly start to broken to and is not creating the file upload file in the public directory










share|improve this question
























  • Could you clear your cache ? could you check that you have enough memory under you disk ?

    – famas23
    Nov 15 '18 at 19:47











  • @AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

    – Adriel Werlich
    Nov 15 '18 at 20:17












  • the application cache: just submit this command bin/console cache:clear

    – famas23
    Nov 15 '18 at 21:47






  • 1





    As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

    – famas23
    Nov 16 '18 at 17:10






  • 1





    By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

    – famas23
    Nov 16 '18 at 17:11













0












0








0








Hello I´m doing upload of images with vich upload and is returning the path name as.



The images were being uploaded and being displayed in the easy admin.
But then suddenly it started to not load the images anymore, and I´ve found that the destination directory was changed to ->




C:xampp_tmpphpB51C.tmp




my vich mapping is like



mappings:
manchete_images:
uri_prefix: 'uploadsimagesmanchetes'
upload_destination: '%kernel.project_dir%/public/uploads/images/manchetes'


the images were appering normally, then suddenly start to broken to and is not creating the file upload file in the public directory










share|improve this question
















Hello I´m doing upload of images with vich upload and is returning the path name as.



The images were being uploaded and being displayed in the easy admin.
But then suddenly it started to not load the images anymore, and I´ve found that the destination directory was changed to ->




C:xampp_tmpphpB51C.tmp




my vich mapping is like



mappings:
manchete_images:
uri_prefix: 'uploadsimagesmanchetes'
upload_destination: '%kernel.project_dir%/public/uploads/images/manchetes'


the images were appering normally, then suddenly start to broken to and is not creating the file upload file in the public directory







symfony image-uploading vichuploaderbundle






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 18:19







Adriel Werlich

















asked Nov 15 '18 at 18:04









Adriel WerlichAdriel Werlich

551210




551210












  • Could you clear your cache ? could you check that you have enough memory under you disk ?

    – famas23
    Nov 15 '18 at 19:47











  • @AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

    – Adriel Werlich
    Nov 15 '18 at 20:17












  • the application cache: just submit this command bin/console cache:clear

    – famas23
    Nov 15 '18 at 21:47






  • 1





    As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

    – famas23
    Nov 16 '18 at 17:10






  • 1





    By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

    – famas23
    Nov 16 '18 at 17:11

















  • Could you clear your cache ? could you check that you have enough memory under you disk ?

    – famas23
    Nov 15 '18 at 19:47











  • @AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

    – Adriel Werlich
    Nov 15 '18 at 20:17












  • the application cache: just submit this command bin/console cache:clear

    – famas23
    Nov 15 '18 at 21:47






  • 1





    As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

    – famas23
    Nov 16 '18 at 17:10






  • 1





    By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

    – famas23
    Nov 16 '18 at 17:11
















Could you clear your cache ? could you check that you have enough memory under you disk ?

– famas23
Nov 15 '18 at 19:47





Could you clear your cache ? could you check that you have enough memory under you disk ?

– famas23
Nov 15 '18 at 19:47













@AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

– Adriel Werlich
Nov 15 '18 at 20:17






@AhmedEBENHASSINE well my disk has many gigabytes of empty space.. about the cache... what precisely are you reffering to? I mean what kind of cache? The browser cache? The windows cache? Where do I find this cache?

– Adriel Werlich
Nov 15 '18 at 20:17














the application cache: just submit this command bin/console cache:clear

– famas23
Nov 15 '18 at 21:47





the application cache: just submit this command bin/console cache:clear

– famas23
Nov 15 '18 at 21:47




1




1





As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

– famas23
Nov 16 '18 at 17:10





As you like anyway I can help you to progress with easyadmin bundle, If you want setthe project onpensource and le me know I will help you

– famas23
Nov 16 '18 at 17:10




1




1





By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

– famas23
Nov 16 '18 at 17:11





By the way ther's a demo with easyadmin you can check github.com/javiereguiluz/easy-admin-demo

– famas23
Nov 16 '18 at 17:11












2 Answers
2






active

oldest

votes


















0














Try changing the in uri_prefix: 'uploadsimagesmanchetes' for / and try again.






share|improve this answer























  • didn´t work, but thanks anyway for the suggestion..

    – Adriel Werlich
    Nov 15 '18 at 19:14


















0














Firstable as Ez mentionned you need to change the in uri_prefix.

Second, ther's a problem in your easy_admin configuration with the edit form.

you need to use caminhoDaImagem proprety instead of arquivoDaImagem under your form, new or edit configuration...and the file type should be changed from file to vich_file or vixh_image. ..It's already mentioned in the doc https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html#uploading-the-images-in-the-edit-and-new-views



easy_admin:
entities:
Product:
# ...
form:
fields:
- property: 'imageFile', type: 'vich_image'


I fixed your code you can see my PR






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53325450%2fvich-uploader-image-going-to-xampp-as-temp-file%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try changing the in uri_prefix: 'uploadsimagesmanchetes' for / and try again.






    share|improve this answer























    • didn´t work, but thanks anyway for the suggestion..

      – Adriel Werlich
      Nov 15 '18 at 19:14















    0














    Try changing the in uri_prefix: 'uploadsimagesmanchetes' for / and try again.






    share|improve this answer























    • didn´t work, but thanks anyway for the suggestion..

      – Adriel Werlich
      Nov 15 '18 at 19:14













    0












    0








    0







    Try changing the in uri_prefix: 'uploadsimagesmanchetes' for / and try again.






    share|improve this answer













    Try changing the in uri_prefix: 'uploadsimagesmanchetes' for / and try again.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 15 '18 at 18:34









    Ezequiel EsnaolaEzequiel Esnaola

    462




    462












    • didn´t work, but thanks anyway for the suggestion..

      – Adriel Werlich
      Nov 15 '18 at 19:14

















    • didn´t work, but thanks anyway for the suggestion..

      – Adriel Werlich
      Nov 15 '18 at 19:14
















    didn´t work, but thanks anyway for the suggestion..

    – Adriel Werlich
    Nov 15 '18 at 19:14





    didn´t work, but thanks anyway for the suggestion..

    – Adriel Werlich
    Nov 15 '18 at 19:14













    0














    Firstable as Ez mentionned you need to change the in uri_prefix.

    Second, ther's a problem in your easy_admin configuration with the edit form.

    you need to use caminhoDaImagem proprety instead of arquivoDaImagem under your form, new or edit configuration...and the file type should be changed from file to vich_file or vixh_image. ..It's already mentioned in the doc https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html#uploading-the-images-in-the-edit-and-new-views



    easy_admin:
    entities:
    Product:
    # ...
    form:
    fields:
    - property: 'imageFile', type: 'vich_image'


    I fixed your code you can see my PR






    share|improve this answer



























      0














      Firstable as Ez mentionned you need to change the in uri_prefix.

      Second, ther's a problem in your easy_admin configuration with the edit form.

      you need to use caminhoDaImagem proprety instead of arquivoDaImagem under your form, new or edit configuration...and the file type should be changed from file to vich_file or vixh_image. ..It's already mentioned in the doc https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html#uploading-the-images-in-the-edit-and-new-views



      easy_admin:
      entities:
      Product:
      # ...
      form:
      fields:
      - property: 'imageFile', type: 'vich_image'


      I fixed your code you can see my PR






      share|improve this answer

























        0












        0








        0







        Firstable as Ez mentionned you need to change the in uri_prefix.

        Second, ther's a problem in your easy_admin configuration with the edit form.

        you need to use caminhoDaImagem proprety instead of arquivoDaImagem under your form, new or edit configuration...and the file type should be changed from file to vich_file or vixh_image. ..It's already mentioned in the doc https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html#uploading-the-images-in-the-edit-and-new-views



        easy_admin:
        entities:
        Product:
        # ...
        form:
        fields:
        - property: 'imageFile', type: 'vich_image'


        I fixed your code you can see my PR






        share|improve this answer













        Firstable as Ez mentionned you need to change the in uri_prefix.

        Second, ther's a problem in your easy_admin configuration with the edit form.

        you need to use caminhoDaImagem proprety instead of arquivoDaImagem under your form, new or edit configuration...and the file type should be changed from file to vich_file or vixh_image. ..It's already mentioned in the doc https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/vichuploaderbundle.html#uploading-the-images-in-the-edit-and-new-views



        easy_admin:
        entities:
        Product:
        # ...
        form:
        fields:
        - property: 'imageFile', type: 'vich_image'


        I fixed your code you can see my PR







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 17 '18 at 0:55









        famas23famas23

        9311522




        9311522



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53325450%2fvich-uploader-image-going-to-xampp-as-temp-file%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            How to read a connectionString WITH PROVIDER in .NET Core?

            Node.js Script on GitHub Pages or Amazon S3

            Museum of Modern and Contemporary Art of Trento and Rovereto