Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mibiki

    (@mibiki)

    Hello, sorry for time to replies… Try update last plugin version. If problem persist give me your csv file.

    Hey mibiki,

    I’ve tried all the possible formats that csv could come in and from applications. Next I will do copy of the site for disabling all plugins, but I’ve wasted so much time already and notice a typo in your code, but you may have reason for it or it was a find and replace solution, examples below.

    ‘title’ in the model.php:

    public $marker
            = [
                'marker_id' => '',
                'title' => '',
                'description' => '',

    ‘titre’ in map_multi_marker_csv_reader.php (where I noticed it might be possible to import normal Excel files?)

    $table = $wpdb->prefix . 'mapmarker_marker';
            $placeholder = "INSERT INTO $table(marker_id,titre,description,adresse,telephone,weblink,img_desc_marker,img_icon_marker,latitude,longitude) VALUE( %d, %s, %s, %s, %s, %s, %d, %d, %s, %s )";
            $line = 1;
            $pathCsvFile = dirname(__FILE__) . '/' . $file['name'];

    I found them when I went looking for where you save the files in case it’s a permission problem. Will also just double check the database.

    Really wish found out earlier about import fail, I’m dead from the due line :/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSV error: Please choose a valid file.’ is closed to new replies.