wet-boew / wet-boew-drupal

Drupal variant of the Web Experience Toolkit (WET)
137 stars 74 forks source link

Upgrading modules #1713

Closed lpgascon closed 9 years ago

lpgascon commented 9 years ago

I've updated some modules by mistake and now i get the following error trying to launch my site:

Fatal error: Cannot redeclare field_collection_entity_uuid_load() (previously declared in C:\xampp\www\wetkit\profiles\wetkit\modules\contrib\field_collection\field_collection_uuid\field_collection_uuid.module:14) in C:\xampp\www\wetkit\profiles\wetkit\modules\contrib\uuid\uuid.core.inc on line 365

Any idea how i can revert back or migrate my db to a new install?

sylus commented 9 years ago

You probably have an identical field_collection module in sites/all/modules as well as profiles/wetkit/modules/contrib. Try to remove the one in sites/all/modules. If you have a db backup which you should whenever updating modules then can just revert to that one.

sylus commented 9 years ago

Guessing that solved the issue! Let me know if missed anything, thx!

lpgascon commented 9 years ago

In the end I rebuilt the site (it was only at an early phase). I will make sure I backup my db more often. (and not do the module upgrades)

Thanks

From: William H [mailto:notifications@github.com] Sent: September-15-15 11:12 AM To: wet-boew/wet-boew-drupal Cc: Louis-Philippe Gascon Subject: Re: [wet-boew-drupal] Upgrading modules (#1713)

Guessing that solved the issue! Let me know if missed anything, thx!

— Reply to this email directly or view it on GitHubhttps://github.com/wet-boew/wet-boew-drupal/issues/1713#issuecomment-140424423.

sylus commented 9 years ago

Yeah backups often are key. You can of course do module updates yourself (often in the case of security releases). The distro tries to stay up to date but of course for security I can understand a manual upgrade of a module. The best advice I can give is check our *.make files under profiles/wetkit/custom and see if any patches are being used for the module in question. Always here to help!