Closed (fixed)
Project:
Taxonomy CSV import/export
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 21:24 UTC
Updated:
3 Nov 2008 at 19:26 UTC
Hi I get this error:
Fatal error: Call to undefined function: mb_detect_encoding() in /home/content/c/a/r/carabusonline/html/sites/all/modules/taxonomy_csv/taxonomy_csv.module on line 231
When trying to upload an excel csv (looked at the file and it is properly csv'ed, no semi colons or quotes etc) into a single hierarchy vocab.
Any ideas?
Comments
Comment #1
decafdennis commentedThe taxonomy CSV import module needs to determine the encoding of your file, and therefore requires the PHP Mbstring extension. Apparently, you don't have this extension. If you take a look at Drupal's Status report page (Administer > Logs > Status report) you'll also see a warning about "Unicode library".
Ask your web hosting provider to have the Mbstring extension installed. It is installed on most hosts.
Comment #2
matthew_ellis24 commentedah ok, that sounds easy enough to fix (providing the host are accomodating!!!)
Many thanks
Comment #3
decafdennis commentedYou're welcome!
Comment #4
matthew_ellis24 commentedhmmm, well the host swears blind that mbstring is installed but I'm getting the unicode error in my status report. Could there be anything else?
Comment #5
matthew_ellis24 commentedthis actually turned out to be a php version problem. It only works if you have php5. This was easy enough to change on my host when I knew to try it. But if it's not something you can set on your host then be warned!
Comment #6
decafdennis commentedTo prevent confusion for other users: I don't believe PHP 5 is required, it's just that matthew_ellis24's webhost only has the mbstring extension installed on their PHP 5 installation. As far as I know, mbstring can be installed for PHP 4 too.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
gddI just ran into this as well. I knew what i was, but I can see where people might not. Might be worth mentioning on project page and/or in the README with a link to the php.net page on how to enable mbstring.