• Resolved benjamin007

    (@benjamin007)


    I have a strange issue – I keep getting the error “The import file is not a valid CSV file (detected: text/csv).” – I have literally tried everything. I have another site I installed and used this on last week. The import from CSV works fine, in fact, I even tried re-using a file that imported fine into the site it is currently working on, but not with this site. Something is wrong, but I cannot figure it out. I have uninstalled/re-installed, etc. I have tried everything before reaching out. Please help!

    I am using .CSV and UTF-8 encoding. I have even tried a raw (non-excel) csv, no luck.

Viewing 1 replies (of 1 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Site Reviews uses mime_content_type when checking the mime type of uploaded files. It’s possible that your server is not configured to detect mime types correctly.

    If you are using Apache, make sure that the mod_mime and mod_mime_magic modules are enabled. If you are sure that the mod_mime module is already enabled in Apache, you could try adding this to your .htaccess file:

    <IfModule mod_mime.c>
    AddType text/csv csv
    </IfModule>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.