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) »
  • Preg_Match error when enabling blocks
Pages: [1]

Author Topic: Preg_Match error when enabling blocks  (Read 3143 times)

casseusa

  • Guest
Preg_Match error when enabling blocks
August 20, 2008, 09:29:59 pm
Installed CivicCRM 2.1 into Drupal 6.4 stable. Everything installed OK (had to manually create a few dir's).

I enabled the module. Everything is fine.

I go to blocks and I get the following message:

warning: preg_match() expects parameter 2 to be string, array given in /usr/local/4admin/apache/vhosts/casseusa.com/httpdocs/includes/bootstrap.inc on line 723.
warning: preg_match() expects parameter 2 to be string, array given in /usr/local/4admin/apache/vhosts/casseusa.com/httpdocs/includes/bootstrap.inc on line 723.
warning: preg_match() expects parameter 2 to be string, array given in /usr/local/4admin/apache/vhosts/casseusa.com/httpdocs/includes/bootstrap.inc on line 723.
warning: preg_match() expects parameter 2 to be string, array given in /usr/local/4admin/apache/vhosts/casseusa.com/httpdocs/includes/bootstrap.inc on line 723.


and a 4 blank blocks in the bottom. I am assuming this is a CivicCRM error because when I disable the module this error goes away.

Anyone have any suggestions? Thanks in advance!

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: Preg_Match error when enabling blocks
August 20, 2008, 10:58:43 pm

this will be fixed in the next alpha (or first beta release)

You can get the patch here (if u'd like to fix manually):

http://fisheye.civicrm.org/changelog/CiviCRM/trunk?cs=16759

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

casseusa

  • Guest
Re: Preg_Match error when enabling blocks
August 21, 2008, 06:14:14 am
Worked like a charm! Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Preg_Match error when enabling blocks

This forum was archived on 2017-11-26.