Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5.32, csv import, error, extension
- This topic has 8 replies, 3 voices, and was last updated 6 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
01/13/2017 at 10:41 am #406668
Norbert Malischewski
Participantcsv-file import reports the error: ERROR: Aus Sicherheitsgründen ist dieser Dateityp nicht erlaubt. function.php in theme is added with mimetype, also tested with define (‘ALLOW_UNFILTERED_UPLOADS’, true); in wp-config.php.
Why doesn’t it work?
please report any hint to normal@t-online.de
Norbert01/13/2017 at 10:42 am #406669Norbert Malischewski
ParticipantAttachments:
You must be logged in to view attached files.01/13/2017 at 11:40 am #406677Steven Zahm
Keymaster@ Norbert
If you are receiving this error, this is more than likely being caused by the server and its restrictions or its file mime type handling is incorrectly configured. You would have to consult your webhost to get that fixed.
That said, it is likely much easier to following the instructions to in this FAQ on how to deal with the “ERROR: Sorry, this file type is not permitted for security reasons.” error message.
Hope this helps!
01/15/2017 at 12:01 pm #406870Steven Zahm
Keymaster@ Norbert
The WordPress security update to 4.7.1 seems to break the ability to load several file types (mp3, some docx, etc). Unintended consequence no doubt. At this point, I am not sure what the fix is, but I am working on it.
01/16/2017 at 10:07 am #406970Karsten Hollop
ParticipantDisabling The Filtering
This process of disallowing certain types of files in WordPress is known as filtering. You can simply disable this filtering by using following code. You have to add it in your wp-config.php.
define(‘ALLOW_UNFILTERED_UPLOADS’, true);
01/16/2017 at 10:31 am #406976Steven Zahm
Keymaster@ Norbert
It seems that the WordPress dev are aware of this issue and are working to fix it with 4.7.2. The WordPress Trac ticket is here:
https://core.trac.wordpress.org/ticket/39550
Until they have a fix and release it, they are recommending installing this plugin:
https://wordpress.org/plugins/disable-real-mime-check/
Can you please install and activate this plugin and then try to import your CSV file?
01/16/2017 at 12:36 pm #406989Norbert Malischewski
Participant@Steven
There is a work-around by using:/** Wieder auskommentiert, bei Bedarf wieder einschalten, Kommentarende beachten
16.01.2017 */
/** Sets up WordPress vars and included files.
require_once(ABSPATH . ‘wp-settings.php’);/** Alle Dateitypen zum Hochladen erlauben 13-01-2017
define (‘ALLOW_UNFILTERED_UPLOADS’, true);
/** Sets up WordPress vars and included files. */in wp-config.php
01/16/2017 at 12:59 pm #406990Steven Zahm
Keymaster@ Norbert
There are downfalls and potential security issues with disabling the filter. It’s best to use the plugin suggested by the WP devs until 4.7.2 is released with a fix that broke file uploading in WP 4.7.1 security update.
01/17/2017 at 2:36 pm #407086Steven Zahm
Keymaster@ Norbert
I’ve read and reread the WordPress Trac ticket about this issue. I’m not certain if this is actually going to be considered a bug which requires fixing.
So…
I just released an update to CSV Import, version 1.4.2, which address the change in WordPress 4.7.1 in a secure way which should now allow you to upload CSV files again.
This update to CSV Import will (err should) work regardless of any changes that may or may not come with WordPress 4.7.2 in regards to this issue.
Hope that helps, apologies for the trouble!
ps. If you installed the Disable Real MIME Check plugin, you should deactivate and delete it.
pss. If you see this same error in the WordPress Media Library when uploading files, then you will still need the Disable Real MIME Check plugin installed. The change I made to CSV Import will not affect other plugins or WordPress when uploading files which throw this error.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.