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

decafdennis’s picture

The 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.

matthew_ellis24’s picture

Status: Active » Fixed

ah ok, that sounds easy enough to fix (providing the host are accomodating!!!)

Many thanks

decafdennis’s picture

You're welcome!

matthew_ellis24’s picture

Status: Fixed » Active

hmmm, 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?

matthew_ellis24’s picture

Status: Active » Fixed

this 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!

decafdennis’s picture

To 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

gdd’s picture

I 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.