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 »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Creating an Event generates a warning message
Pages: [1]

Author Topic: Creating an Event generates a warning message  (Read 1048 times)

shinzo

  • Guest
Creating an Event generates a warning message
June 20, 2010, 05:56:30 pm
Hi there

Once I create an event I click "Save and Done" and the event is successfully created and the "Configure Event" page appears. However at the top there are some warning messages.

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/html/drupal-6.17/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/html/drupal-6.17/sites/all/modules/civicrm/packages/IDS/Monitor.php on line 446.

Could you please tell me what this means and how I can fix it?

Thanks


Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Creating an Event generates a warning message
June 21, 2010, 03:57:33 am
Which version of CiviCRM and PHP are you using?

Thanks,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

shinzo

  • Guest
Re: Creating an Event generates a warning message
June 21, 2010, 04:27:58 pm
CiviCRM: 3.1.5
PHP: 5.2.10

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: Creating an Event generates a warning message
June 21, 2010, 07:14:26 pm

seems like your PHP is compiled with an older version of PCRE. check the forums / google for a similar error message and u'll see more posts and maybe some workarounds

i suspect u r on redhat?

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

shinzo

  • Guest
Re: Creating an Event generates a warning message
June 21, 2010, 07:33:28 pm
Yep I'm on CentOS 5.5

Thanks I've got it working now - followed http://forum.civicrm.org/index.php?topic=9316.0 and http://gaarai.com/2009/01/31/unicode-support-on-centos-52-with-php-and-pcre/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Creating an Event generates a warning message

This forum was archived on 2017-11-26.