Panels is included in Drupal Commons and the last update REQUIRE uuid module and a function that doesn't exists : ctools_uuid_generate. So my migration from Commons 3.3 to Commons 3.4 failed. I tried to comment all ctools_uuid_generate calls and it works but I think the database is broken!

UPDATE : after some research, it appears that Drupal use my version of ctools placed in sites/all/modules/ctools/ how can I easily force to use profiles/commons/modules/contrib/ctools/ version for my instance? Is the problem solvable?

Comments

Flohw’s picture

Issue summary: View changes
Anonymous’s picture

I have experienced the same issue during upgrade from Commons 3.3 to 3.4.

After various attempts to use module_load_include() and require_once() I just copy pasted function ctools_uuid_generate() code from ctools into panels.module and completed the installation.

Then if I delete the pasted code I get again a fatal error telling me that function ctools_uuid_generate() was not found.

lsolesen’s picture

Project: Panels » Drupal Commons
Category: Bug report » Support request

I believe this should be handled by Drupal Commons?

You shoul delete your version of the module in sites/all to force it to use the version in profiles.

ezra-g’s picture

Priority: Critical » Normal
Status: Active » Fixed

UPDATE : after some research, it appears that Drupal use my version of ctools placed in sites/all/modules/ctools/ how can I easily force to use profiles/commons/modules/contrib/ctools/ version for my instance? Is the problem solvable?

The correct practice is to have only one copy of a module or theme in a single location. For modules and themes included in Commons, don't duplicate them in sites/all/modules.

ezra-g’s picture

Title: last panel update » Issues with modules duplicated in sites/all/modules and profiles/commons/modules/

Status: Fixed » Closed (fixed)

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