Error in Import CSV files












1















I tried to import a csv file to magento using system->import/export->Dataflow Profiles. But when importing that file getting an error like Could not load file: /Applications/XAMPP/xamppfiles/htdocs/intow/var/import/pcpitems.csv
enter image description here










share|improve this question

























  • but It gives some error when giving chmod -R 777 /var permission

    – Sruthi
    May 31 '16 at 6:55











  • Sorry I made a mistake in my first comment It should be chmod -R 777 var

    – Raphael at Digital Pianism
    May 31 '16 at 6:56













  • when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

    – Sruthi
    May 31 '16 at 7:12













  • What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

    – Raphael at Digital Pianism
    May 31 '16 at 7:13











  • yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

    – Sruthi
    May 31 '16 at 7:22


















1















I tried to import a csv file to magento using system->import/export->Dataflow Profiles. But when importing that file getting an error like Could not load file: /Applications/XAMPP/xamppfiles/htdocs/intow/var/import/pcpitems.csv
enter image description here










share|improve this question

























  • but It gives some error when giving chmod -R 777 /var permission

    – Sruthi
    May 31 '16 at 6:55











  • Sorry I made a mistake in my first comment It should be chmod -R 777 var

    – Raphael at Digital Pianism
    May 31 '16 at 6:56













  • when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

    – Sruthi
    May 31 '16 at 7:12













  • What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

    – Raphael at Digital Pianism
    May 31 '16 at 7:13











  • yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

    – Sruthi
    May 31 '16 at 7:22
















1












1








1








I tried to import a csv file to magento using system->import/export->Dataflow Profiles. But when importing that file getting an error like Could not load file: /Applications/XAMPP/xamppfiles/htdocs/intow/var/import/pcpitems.csv
enter image description here










share|improve this question
















I tried to import a csv file to magento using system->import/export->Dataflow Profiles. But when importing that file getting an error like Could not load file: /Applications/XAMPP/xamppfiles/htdocs/intow/var/import/pcpitems.csv
enter image description here







magento-1.9 import






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 mins ago









Muk

89911343




89911343










asked May 31 '16 at 6:23









SruthiSruthi

76216




76216













  • but It gives some error when giving chmod -R 777 /var permission

    – Sruthi
    May 31 '16 at 6:55











  • Sorry I made a mistake in my first comment It should be chmod -R 777 var

    – Raphael at Digital Pianism
    May 31 '16 at 6:56













  • when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

    – Sruthi
    May 31 '16 at 7:12













  • What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

    – Raphael at Digital Pianism
    May 31 '16 at 7:13











  • yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

    – Sruthi
    May 31 '16 at 7:22





















  • but It gives some error when giving chmod -R 777 /var permission

    – Sruthi
    May 31 '16 at 6:55











  • Sorry I made a mistake in my first comment It should be chmod -R 777 var

    – Raphael at Digital Pianism
    May 31 '16 at 6:56













  • when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

    – Sruthi
    May 31 '16 at 7:12













  • What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

    – Raphael at Digital Pianism
    May 31 '16 at 7:13











  • yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

    – Sruthi
    May 31 '16 at 7:22



















but It gives some error when giving chmod -R 777 /var permission

– Sruthi
May 31 '16 at 6:55





but It gives some error when giving chmod -R 777 /var permission

– Sruthi
May 31 '16 at 6:55













Sorry I made a mistake in my first comment It should be chmod -R 777 var

– Raphael at Digital Pianism
May 31 '16 at 6:56







Sorry I made a mistake in my first comment It should be chmod -R 777 var

– Raphael at Digital Pianism
May 31 '16 at 6:56















when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

– Sruthi
May 31 '16 at 7:12







when giving chmod -R 777 var permission it gives error like chmod: Unable to change file mode on var/import: Operation not permitted

– Sruthi
May 31 '16 at 7:12















What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

– Raphael at Digital Pianism
May 31 '16 at 7:13





What if you run sudo chmod -R 777 var ? Do you have access to a superuser account ?

– Raphael at Digital Pianism
May 31 '16 at 7:13













yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

– Sruthi
May 31 '16 at 7:22







yes. Its working when using sudo chmod -R 777 var permission...But not able to import files

– Sruthi
May 31 '16 at 7:22












2 Answers
2






active

oldest

votes


















1














You might be missing some steps in this process. Following are the urls which will help you to solve the problem.



1) http://coolblueweb.com/blog/importing-products-with-dataflow-profiles-the-basics/



2) https://www.youtube.com/watch?v=DAzcZprsOWE



Hope this will help you.






share|improve this answer
























  • thanks.. But I want to import csv of a non magento database...

    – Sruthi
    May 31 '16 at 7:14



















1














I had the same problem.



It happens that the csv file had a starting utf-8 char, so that's why didn't load the file.



The way I've solved this: try to edit manually csv file with an editor like Notepad++ and delete and rewrite the first char of the first row.



Hope it helps you.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2fmagento.stackexchange.com%2fquestions%2f117624%2ferror-in-import-csv-files%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









    1














    You might be missing some steps in this process. Following are the urls which will help you to solve the problem.



    1) http://coolblueweb.com/blog/importing-products-with-dataflow-profiles-the-basics/



    2) https://www.youtube.com/watch?v=DAzcZprsOWE



    Hope this will help you.






    share|improve this answer
























    • thanks.. But I want to import csv of a non magento database...

      – Sruthi
      May 31 '16 at 7:14
















    1














    You might be missing some steps in this process. Following are the urls which will help you to solve the problem.



    1) http://coolblueweb.com/blog/importing-products-with-dataflow-profiles-the-basics/



    2) https://www.youtube.com/watch?v=DAzcZprsOWE



    Hope this will help you.






    share|improve this answer
























    • thanks.. But I want to import csv of a non magento database...

      – Sruthi
      May 31 '16 at 7:14














    1












    1








    1







    You might be missing some steps in this process. Following are the urls which will help you to solve the problem.



    1) http://coolblueweb.com/blog/importing-products-with-dataflow-profiles-the-basics/



    2) https://www.youtube.com/watch?v=DAzcZprsOWE



    Hope this will help you.






    share|improve this answer













    You might be missing some steps in this process. Following are the urls which will help you to solve the problem.



    1) http://coolblueweb.com/blog/importing-products-with-dataflow-profiles-the-basics/



    2) https://www.youtube.com/watch?v=DAzcZprsOWE



    Hope this will help you.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 31 '16 at 6:40









    Ashish MadankarAshish Madankar

    2,4971931




    2,4971931













    • thanks.. But I want to import csv of a non magento database...

      – Sruthi
      May 31 '16 at 7:14



















    • thanks.. But I want to import csv of a non magento database...

      – Sruthi
      May 31 '16 at 7:14

















    thanks.. But I want to import csv of a non magento database...

    – Sruthi
    May 31 '16 at 7:14





    thanks.. But I want to import csv of a non magento database...

    – Sruthi
    May 31 '16 at 7:14













    1














    I had the same problem.



    It happens that the csv file had a starting utf-8 char, so that's why didn't load the file.



    The way I've solved this: try to edit manually csv file with an editor like Notepad++ and delete and rewrite the first char of the first row.



    Hope it helps you.






    share|improve this answer




























      1














      I had the same problem.



      It happens that the csv file had a starting utf-8 char, so that's why didn't load the file.



      The way I've solved this: try to edit manually csv file with an editor like Notepad++ and delete and rewrite the first char of the first row.



      Hope it helps you.






      share|improve this answer


























        1












        1








        1







        I had the same problem.



        It happens that the csv file had a starting utf-8 char, so that's why didn't load the file.



        The way I've solved this: try to edit manually csv file with an editor like Notepad++ and delete and rewrite the first char of the first row.



        Hope it helps you.






        share|improve this answer













        I had the same problem.



        It happens that the csv file had a starting utf-8 char, so that's why didn't load the file.



        The way I've solved this: try to edit manually csv file with an editor like Notepad++ and delete and rewrite the first char of the first row.



        Hope it helps you.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 2 '17 at 11:55









        xsanz1973xsanz1973

        111




        111






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • 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%2fmagento.stackexchange.com%2fquestions%2f117624%2ferror-in-import-csv-files%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







            Popular posts from this blog

            Magento 2 controller redirect on button click in phtml file

            Polycentropodidae