I'm having a rare issue, suddenly ".csv" files are not allowed, but even ".csv extension" is not listed in the upload file browser, as you can see in attached image, but yesterday I could upload it without any issue.
Edited: Forgot to mention, the file is 1 kb.
The only thing I did today is activate the Multisite feature of WordPress.
Sorry for the waiting time, we had a break over the weekend.
-
This error means that there are some specific HTML tags within your .
CSV file that triggers this error. It is not allowed on WordPress functionality to import some HTML tags for security reasons.
A workaround for this, to allow the majority of the HTML tags, is to add the following line to your wp-config.php file:
define( 'ALLOW_UNFILTERED_UPLOADS', true );
Just to note, this restriction comes from the WordPress core itself. The reason behind these restrictions is to prevent security issues due to file uploading vulnerabilities.
The accidental or purposeful upload of malicious executable files could do permanent damage to your site. Others can give hackers access to your site or your server.
Hi,
I'm having a rare issue, suddenly ".csv" files are not allowed, but even ".csv extension" is not listed in the upload file browser, as you can see in attached image, but yesterday I could upload it without any issue.
Edited: Forgot to mention, the file is 1 kb.
The only thing I did today is activate the Multisite feature of WordPress.
Thx
Attached files: 2023-02-25_06h55_35.jpg
Hi, Kelvin.
Sorry for the waiting time, we had a break over the weekend.
-
This error means that there are some specific HTML tags within your .
CSV file that triggers this error.
It is not allowed on WordPress functionality to import some HTML tags for security reasons.
A workaround for this, to allow the majority of the HTML tags, is to add the following line to your wp-config.php file:
Just to note, this restriction comes from the WordPress core itself.
The reason behind these restrictions is to prevent security issues due to file uploading vulnerabilities.
The accidental or purposeful upload of malicious executable files could do permanent damage to your site. Others can give hackers access to your site or your server.
Let us know if this helps.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables