Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 19:51 UTC
Updated:
16 Jun 2011 at 23:21 UTC
Received the following error when creating a new biblio node. Node was not created. Error is repeatable. "Preview" mode works, "Save" causes the error.
Fatal error: Call to undefined function mb_regex_encoding() in /var/www/mnopedia/sites/all/modules/biblio/includes/biblio.util.inc on line 15
Comments
Comment #1
rjerome commentedThat function requires Multibyte String to be enabled on your server. On Linux machines, it's usually a separate php-mbstring... package. Given that Drupal works with UTF-8 strings exclusively, mbstring is a good one to have enabled.
Ron.
Comment #2
rjerome commentedBy the way, I should have mentioned that if mbstring is a problem, I can (and probably will anyway) create an alternative path if mbstring is not installed.
Ron.
Comment #3
rjerome commentedI've added an check for the existence of mbstring and if it doesn't exist, I use an alternative.
http://drupalcode.org/project/biblio.git/commit/655181e