"warning: preg_match() expects parameter 2 to be string, array given in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\drupal\includes\bootstrap.inc on line 723."

can u help?

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

If you're going to file an issue, provide enough information so I can tell what you were doing when you saw the error, what kind of date field and widget you're using, what kind of system you're on, etc.

This doesn't begin to supply enough information for me to do anything at all.

chasz’s picture

Priority: Normal » Critical

hello,

i am on win2003 with php5.2 apache2

drupal keep trying to use my browser date/time setting when i need it to take the server date/time setting

on a 5 day old drupal install, with a fresh install of the date module

karens’s picture

Priority: Critical » Normal

I still have absolutely no idea what you're trying to report. The things you say in #2 don't match what you said in the original issue, and you haven't told me anything about what you were doing when you saw the error or what kind of date you're using or anything else that would give me even a clue about what's going on here. If you can't tell me step by step what you were doing so I can reproduce your error, I can't help you.

pal_ur’s picture

Same problem, same message.

Drupal 6.4,

warning: preg_match() expects parameter 2 to be string, array given in /var/www/***/*****/*****.**/****/includes/bootstrap.inc on line 723.

Tried to import an iCal file, already have a "date" field in a content type, with "text field with jquery pop-up calendar". The content type select box on the buttom of the "import iCal" page comes up, but this error message appears on the top of the page.

Modules enabled:
Calendar 6.x-2.0-rc1
Calendar iCal 6.x-2.0-rc1
Calendar Popup 6.x-2.0-rc1
Date 6.x-2.0-rc2
Date API 6.x-2.0-rc2
Date Copy 6.x-2.0-rc2
Date PHP4 6.x-2.0-rc2
Date Popup 6.x-2.0-rc2
Date Timezone 6.x-2.0-rc2

System:
MySQL database 5.0.44
PHP 4.4.7-pl0-gentoo
PHP memory limit 64M

chasz’s picture

so i see you dont have the event.module.....eliminates that !

EDIT: i think most of these errors are just empty tables that need to be filled with data

Renee S’s picture

I'm getting this error too... click on Date Import\Export and it shows up above the UI. Drupal 6/CCK/Views/Date/Calendar - PHP5

Also, when I click on "Event", I get : "There is no event table in this database. No event import options are available." ??

(BTW, I let it create a content-type and filled it with some data... still get the error).

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

This is at least three completely unrelated issues.

The original issue appears to be a timezone error you get when you use the Date module with the Event module, and it is fixed by not trying to use them together or by moving up to the very latest -dev code for Date where I think I found a work-around for that problem.

#4 is someone trying to import an ical file using Date Copy, a totally different problem.

#6 is someone trying to import an event using Date Copy, yet another totally different problem.

The original issue is fixed.

The problem with the ical import is addressed in #292967: iCal import and Feed API, which is going to be the new method of doing imports. I'm removing the old method from the code and adding documentation about how to use the Feed API solution. The documentation is in Advanced help, so you need the Advanced help module to see it, plus there are still some patches needed, as noted in that issue. But follow up there.

The last issue message says there are no events to import from -- you can only import from the Event module if there is a table in the database with event data.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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