I recently updated drupal 6.22 to 7.2. Most things work, but after installing the latest webform module, I get the following error message when I go to update.php:
Some of the pending updates cannot be applied because their dependencies were not met.
If I uninstall webform then the problem goes away. I gather from this bug report (http://drupal.org/node/834848) that this can happen if I didn't update to the latest 6.x webform module before I upgraded drupal. Apparently the real error message is
'webform module can not be updated. Its schema version is 6205. Updates up to and including 6313 have been removed in this release. In order to update webform module, you will first need to upgrade to the last version in which these updates were available.'
However I'm not sure how to go about this. If I uninstall the 7.x webform & drop in the 6.x one, then drupal simply tells me it's not compatible. Can you help?
Thanks!
Comments
Comment #1
quicksketchYou will need to run the ugprade process all over again in order to upgrade Webform. You must first upgrade Webform to the latest 3.x release in Drupal 6 before upgrading to Drupal 7. In short, what you've tried to do is upgrade from Webform 2.x in D6 to Webform 3.x in D7, which is too big of a jump for the upgrade path to support (unless all the update functions were rewritten again for Drupal 7). See #1069424: Can't upgrade from webform 6.x-2.10 to 7.x-3.x.
Comment #2
richstant commentedOK - is that possible? If I connect drupal 6 to my database, which is now drupal 7, will that not screw up everything else?
Comment #3
richstant commentedScratch that, I see from the bug report you linked to that I have to go back to a drupal 6 backup db, and do everything over again, but include upgrading webform. That's going to be a fun afternoon :-)
Comment #4
quicksketchYou should also make sure you upgrade all your other modules to the latest versions also, otherwise you may experience similar problems with them upgrading.
Comment #5
richstant commentedNext question - what happens if my backup Db has already been overwritten by a backup of the drupal 7 version? Yes, I know, bad backup practice etc etc. Be that as it may, what are my options if I don't have a drupal 6 Db to go back to? I don't currently use webform on my site, but may need to in the future. Can I manually purge all webform details from the Db, so that the new module works when I need to re-enable it?
Comment #6
quicksketchClosing after lack of activity. The Webform queue isn't a general support forum.
Comment #7
brandy.brown commentedI don't think that is the answer to this problem. I get this error as well and I am not upgrading from drupal 6, I am using a fresh drupal 7 site. Please help!
Comment #8
brandy.brown commentedComment #9
quicksketchIf you're on a fresh install, why are you running updates? If you don't have any existing Webform data, I'd suggest disabling, uninstalling, then re-enabling the Webform module.
Comment #10
quicksketchClosing after lack of activity.
Comment #11
weka commentedI am experiencing the same issue while upgrading from Webform 6.x-3.23 to 7.x.4.16.
Drupal upgrade 6.38 to 7.56.
The whole website (almost 60 modules) is now upgraded and all errors resolved.
As soon I upgrade Webforms the Drupal database update script reports:
Some of the pending updates cannot be applied because their dependencies were not met.