Hi,

i tried to install Commons on my webhost, but the installer hangs when at #129 of 130 when installing the profile. I dropped my database and tried to do it again, but it did not change.

I then tried to access the install.php again and I was able to continue, but when setting up the user I got the following error:

Notice: Undefined index: use text format filtered_html in user_role_grant_permissions() (line 3056 of /www/htdocs/w0103f42/modules/user/user.module).

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null

I am not sure if this has something to do with install profile 130, but I can't exclude it.

Can you help me out here?

Thanks

Comments

freiwerk’s picture

I uploaded Drupal Commons via FTP again and dropped the database, now I was suddenly able to install it. Nevertheless the script still dies during the install process (tried it twice):

Fatal error: Call to undefined function preg_filter() in /www/htdocs/w0103f42/profiles/commons/modules/contrib/commons_events/commons_events.module on line 477

Update: Just found that bug somewhere else (http://drupal.org/node/1955318). Will continue the discussion there...

ezra-g’s picture

Assigned: freiwerk » Unassigned
Status: Active » Postponed (maintainer needs more info)

Can you confirm whether this happens with a fresh 3.2 codebase?

Commons events no longer includes preg_filter() in 3.2.

freiwerk’s picture

Hi,

sorry for the late answer. Out of some reason my commons_events module did not contain the patch that took preg_filter out, although i redownloaded it. I've taken the relevant code changes from GIT and put it in manually, after that it worked.

csc4’s picture

Same here - brand new install downloaded from project page 7.x-3.x-dev tar.gz (11.95 MB) | zip (14.63 MB) 2013-May-16 has error calling preg_filter() and message_subscribe_process_message instead of message_subscribe_send_message this is turning into a long install process! on attempt 6 now!

Think a new dev snapshot would be a kindness!

ezra-g’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Marking as fixed, per the dev snapshot release notes:

Nightly development snapshot of Commons 7.x-3.x. Please note that to get an up-to-date snapshot, you need to package Commons locally with the command:

drush make build-commons-dev.make

until #1983606: Move some of the Commons_* modules into the Commons distro repo is resolved.

Status: Fixed » Closed (fixed)

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

hafis’s picture

Status: Closed (fixed) » Active

I got 2 errors in the last stage of installing Commons 7.x-3.2 on July 16th:

Fatal error: Call to undefined function preg_filter() in /.../atco1/profiles/commons/modules/contrib/commons_events/commons_events.module on line 477

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'Default Footer' for key 'info'.

And the error is fatal, the application does not start at all and is not to be reached by any address.

ezra-g’s picture

Status: Active » Closed (fixed)