Importing a .CSV file for entries doesn’t work!

Hello.

For some reason, when attempting to import a .CSV list of entries on my installation of Formidable Pro @ http://www.montanarescuemission.org/main, “Step Two” shows the heading of the dashboard widget but no information inside. What gives? This is a big issue as I need to import these entries immediately. Thanks.

By default, WP multisite doesn't allow csv files. Please see this post for more info:
http://formidablepro.com/help-desk/import-entries-stuck-on-step-two/#frm_topic_19270

I added that snippet of code to my functions.php file:

add_filter('upload_mimes','restrict_mime');
function restrict_mime($mimes) {
    $mimes['csv'] = 'text/csv';
    return $mimes;
}

But no improvement. Any ideas?

Please try uploading the csv file on your media library page for more detailed error messages. Let us know what you find.

“Memorials Sept-July 2011.csv” has failed to upload due to an error
Sorry, this file type is not permitted for security reasons.

It sounds like you didn't place that added code into a spot that is getting fired off. Maybe add a new plugin in the mu plugins folder to make sure this function is working.

Eh, that may require some small set of instructions. I'm not too savvy with getting my hands that dirty within the core WPMU files.  =/

This isn't in the core files. There are two plugin folders (plugins and mu-plugins). You can find instructions here for creating a plugin:
http://codex.wordpress.org/Writing_a_Plugin

I don't have enough time today to learn how to write a plugin simply for testing purposes. Is there some modification I can make to the PHP code in my functions.php file to make this work better..?


Attachment:

I cannot tell you if this file is getting used or not. If you do not want to create a new plugin, please find a place to add this code where you know for sure it is working. When that code is in a place where it will get used, you will no longer see that error message on the Media Library page.

Is there a place in the plugin code for Formidable that I can place the code? The theme I'm using does a lot of pointing back and forth between different files, so it's hard to tell which file that I'd place this in would do me much good.

Nevermind. I placed the code snippet that was mentioned above in the formidable.php file at the very bottom and it works like it should now. Thanks.

Topic closed.