{"id":50,"date":"2024-02-28T13:55:26","date_gmt":"2024-02-28T12:55:26","guid":{"rendered":"https:\/\/solarxbike.se\/labbet\/wp-api\/?p=50"},"modified":"2024-02-28T13:55:27","modified_gmt":"2024-02-28T12:55:27","slug":"problem-med-mime-type","status":"publish","type":"post","link":"https:\/\/solarxbike.se\/labbet\/wp-api\/2024\/02\/28\/problem-med-mime-type\/","title":{"rendered":"Problem med mime-type"},"content":{"rendered":"\n<p><a href=\"https:\/\/yellotab.zendesk.com\/agent\/tickets\/2965\">Zendesk 2965: <\/a>Problem att importera kontakter.csv fr\u00e5n en multisite Wp svensk, till en single site Wp English<\/p>\n\n\n\n<p>Symptom: Felmeddelande vid import  &#8221;&#8230;.&#8221;<\/p>\n\n\n\n<p>Troubleshooting:  <\/p>\n\n\n\n<p>Workaround1: kommentera ut mime-type check i function &#8221;&#8230;..&#8221;, och k\u00f6r import. D\u00c5 laddas formul\u00e4r f\u00f6r att mappa f\u00e4lten. Efter mappning fungerade importen UA<\/p>\n\n\n\n<p>Workaround 2: install plugin, disable mimecheck (not tested)<\/p>\n\n\n\n<p>N\u00e4r vi skulle flytta data mellan 2 wordpress sajter, fick vi problem att importera filer till CN lokala wordpress installation.Efter lite fels\u00f6kning visade det sig att n\u00e5got inte st\u00e4mde med felhantering av mime type.<br><br>N\u00e4r vi st\u00e4ngde av funktionen programmatiskt lyckades vi importera csv filen.<br><a href=\"https:\/\/yellotab.se\/x056\/2024\/02\/25\/1743\/\">Dokumentation av problemet p\u00e5 Yellotab<\/a><br><br><strong>K\u00e4nda workaround i Jetpack CRM \u00a0KB<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Workaround:&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/disable-real-mime-check\/\">Disable mime-check<\/a><\/li>\n\n\n\n<li>Workaround:&nbsp;<a href=\"https:\/\/kb.jetpackcrm.com\/knowledge-base\/can-csv-importer-pro-deal-with-uncommon-characters-e-g-accents\/\">Uncommon charachters (encoding)<\/a><\/li>\n<\/ul>\n\n\n\n<p>Har skickat bugreport till Jetpack&nbsp;<a href=\"https:\/\/kb.jetpackcrm.com\/reporting-bugs-to-us\/\">https:\/\/kb.jetpackcrm.com\/reporting-bugs-to-us\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zendesk 2965: Problem att importera kontakter.csv fr\u00e5n en multisite Wp svensk, till en single site Wp English Symptom: Felmeddelande vid import &#8221;&#8230;.&#8221; Troubleshooting: Workaround1: kommentera ut mime-type check i function &#8221;&#8230;..&#8221;, och k\u00f6r import. D\u00c5 laddas formul\u00e4r f\u00f6r att mappa f\u00e4lten. Efter mappning fungerade importen UA Workaround 2: install plugin, disable mimecheck (not tested) N\u00e4r &#8230; <a title=\"Problem med mime-type\" class=\"read-more\" href=\"https:\/\/solarxbike.se\/labbet\/wp-api\/2024\/02\/28\/problem-med-mime-type\/\" aria-label=\"L\u00e4s mer om Problem med mime-type\">L\u00e4s mer<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","hentry","category-okategoriserade"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":1,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/posts\/50\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solarxbike.se\/labbet\/wp-api\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}