CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:
Pages: [1]

Author Topic: Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:  (Read 2572 times)

Brainwrap

  • Guest
Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:
March 11, 2010, 09:33:22 am
Hi, I recently upgraded Drupal from 6.11 to 6.15, and also upgraded CiviCRM from 2.1 to 3.1.3.

For the most part everything seems to be working properly. However, since the upgrade, I'm experiencing the following errors whenever I make changes within CiviCRM:

Code: [Select]
warning: preg_replace() [function.preg-replace]: Compilation failed: support for \P, \p, and \X has not been compiled at offset 1 in /var/www/vhosts/justice4michigan.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 445.
warning: preg_replace() [function.preg-replace]: Compilation failed: support for \P, \p, and \X has not been compiled at offset 1 in /var/www/vhosts/justice4michigan.org/httpdocs/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 446.

I've seen a couple of other older threads with similar error messages, but since those date back to 2008 and haven't had posts in quite some time, i thought it best to start a new thread.

Any suggestions?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:
March 11, 2010, 10:03:16 am

most likely your pcre library is old and does not support unicode. You'll need to upgrade this library. search on the forums for PCRE

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Brainwrap

  • Guest
Re: Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:
March 11, 2010, 10:16:34 am
Quote from: Donald Lobo on March 11, 2010, 10:03:16 am

most likely your pcre library is old and does not support unicode. You'll need to upgrade this library. search on the forums for PCRE

lobo


Thanks...I just checked, and it looks like my version is:

pcre-6.6-2.el5_1.7

Is that fairly new?

Also, assuming that I'm unable to update the version for whatever reason, is it critical to do so? That is, will CiviCRM not work properly without it, or will it just cause those warning messages?

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:
March 12, 2010, 01:54:24 am
(For people who stumble upon this topic later – the discussion is continued here.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6.15/CiviCRM 3.13 Warning: preg_replace() [function.preg-replace]:

This forum was archived on 2017-11-26.