• Resolved krapaic

    (@krapaic)


    Hello,
    first of all pardon my english but i have a problem importing data with your plugin Really Simple CSV importer.
    I already search old topics and i found your link to your Really Simple CSV Importer Debugger add on.
    I can’t find a problem with the csv structure, it seems all fine but it doesn’t update.

    This is an example record from the output debug.

    1.$is_update:
    
    bool(false)
    
    $post:
    
    array(4) {
      ["post_type"]=>
      string(8) "listings"
      ["post_status"]=>
      string(7) "publish"
      ["post_title"]=>
      string(9) "I Cerroni"
      ["post_content"]=>
      string(672) "E' ideale destinazione per una vacanza nella pace e nel silenzio della campagna toscana. L'agriturismo e residence si trova nelle vicinanze della costa tirrenica a montescudaio a pochi chilometri da Cecina (LI). Durante il soggiorno, sempre nel pi� completo relax. potrete partecipare alle attivit� familiare, andare in bicicletta o in mountain bike, fare trekking, e altre tipologie di sport.
    Gli appartamenti sono degli ampi bilocali con giardino esclusivo composti da: soggiorno cucina con divano letto matrimoniale, camera matrimoniale e bagno. Adatti ad una clientela composta da famiglia con 2 bambini.
    Presente piscina in comune con gli appartamenti
    "
    }
    
    $meta:
    
    array(28) {
      ["cfs__ct_mls"]=>
      string(3) "CA1"
      ["cfs__ct_price"]=>
      string(1) "0"
      ["cfs__ct_sqft"]=>
      string(1) "0"
      ["cfs__ct_lotsize"]=>
      string(0) ""
      ["cfs__ct_broker"]=>
      string(5) "Costa"
      ["cts__ct_video"]=>
      string(0) ""
      ["field_55428e8101720"]=>
      string(0) ""
      ["field_554b79d7e7a1a"]=>
      string(10) "trattabili"
      ["field_554b6b7682565"]=>
      string(1) "0"
      ["field_55429081a77de"]=>
      string(0) ""
      ["field_5542913ba78ca"]=>
      string(0) ""
      ["field_55429209a78cb"]=>
      string(0) ""
      ["field_5542922da78cc"]=>
      string(0) ""
      ["field_55429253a78cd"]=>
      string(0) ""
      ["field_554b6c3834bf3"]=>
      string(13) "Michela XXXXX"
      ["field_554b6c5234bf4"]=>
      string(35) "Michela XXXX
    Tel. XXXXXXXXX"
      ["field_554a706467e44"]=>
      string(0) ""
      ["field_554a73d3809ef"]=>
      string(0) ""
      ["field_554a98172bec8"]=>
      string(0) ""
      ["field_554a983e029f3"]=>
      string(0) ""
      ["field_554a98529412c"]=>
      string(0) ""
      ["field_554a9870708f1"]=>
      string(102) "http://lnx.toscanacostaecampagna.com/wp-content/uploads/2015/05/immobili/grande/310_6_fotoImmobile.jpg"
      ["field_554a988d5fbc8"]=>
      string(102) "http://lnx.toscanacostaecampagna.com/wp-content/uploads/2015/05/immobili/grande/310_7_fotoImmobile.jpg"
      ["field_554a98a1cf638"]=>
      string(102) "http://lnx.toscanacostaecampagna.com/wp-content/uploads/2015/05/immobili/grande/310_8_fotoImmobile.jpg"
      ["field_554a98bbcfb6b"]=>
      string(0) ""
      ["field_554a98c8cfb6c"]=>
      string(0) ""
      ["field_554a98dde3baf"]=>
      string(103) "http://lnx.toscanacostaecampagna.com/wp-content/uploads/2015/05/immobili/grande/310_11_fotoImmobile.jpg"
      ["field_554a9904ceba5"]=>
      string(103) "http://lnx.toscanacostaecampagna.com/wp-content/uploads/2015/05/immobili/grande/310_12_fotoImmobile.jpg"
    }
    
    $tax:
    
    array(11) {
      ["property_type"]=>
      array(1) {
        [0]=>
        string(12) "appartamento"
      }
      ["locationtype"]=>
      array(1) {
        [0]=>
        string(7) "collina"
      }
      ["ct_status"]=>
      array(1) {
        [0]=>
        string(8) "for-rent"
      }
      ["rooms"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
      ["beds"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
      ["baths"]=>
      array(1) {
        [0]=>
        string(0) ""
      }
      ["city"]=>
      array(1) {
        [0]=>
        string(12) "montescudaio"
      }
      ["province"]=>
      array(1) {
        [0]=>
        string(2) "pi"
      }
      ["state"]=>
      array(1) {
        [0]=>
        string(6) "italia"
      }
      ["zipcode"]=>
      array(1) {
        [0]=>
        string(5) "56040"
      }
      ["additional_features"]=>
      array(6) {
        [0]=>
        string(8) "giardino"
        [1]=>
        string(7) "piscina"
        [2]=>
        string(6) "cucina"
        [3]=>
        string(22) "riscaldamento-autonomo"
        [4]=>
        string(5) "bagno"
        [5]=>
        string(6) "camera"
      }
    }

    Can you help me understand what’s wrong?
    Thank you in advance, meanwhile i keep banging my head and try something with the output

    Kind Regards
    P.s Just for you to know, i have 950 records and almost 50% were updated without trouble. The other 50% have an error log like the example code above and looking at the array structure it does not seem wrong..

    https://wordpress.org/plugins/really-simple-csv-importer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takuro Hishikawa

    (@hissy)

    Could you try to post manually in your dashboard? You seems to try to import some multibyte characters, but some mysql settings do not allow to do that. I saw some similar posts in Japanese forum. Thanks

    Thread Starter krapaic

    (@krapaic)

    Thanks for your fast reply. I’ve managed to solve for italian language.
    It seems to work fine if i cut the csv in chunk of 100 records for file so i deleted the all previous imported posts, i’ve cut the 1000 records (via php) in 10 separated csv and the upload worked fine…
    I’ve also need to repeat the upload for the other 4 languages (english, russian, chinese and german) so i’ll keep you posted if it occurs again. I’m worry specially about chinese and russian…ok for now i keep this topic open, i’ll mark as resolved as soon as i try the other imports…
    Thank you for now Takuro

    Plugin Author Takuro Hishikawa

    (@hissy)

    Well, it seems a memory issue…

    Thread Starter krapaic

    (@krapaic)

    Ok, all done. Yes, only a memory issue. thank you

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error importing CSV – Really Simple CSV Importer Debugger add-on installed’ is closed to new replies.