Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I keep getting this message:
ec_anon module can not be updated. Its schema version is 0. Updates up to and including 4001 have been removed in this release. In order to update ec_anon module, you will first need to upgrade to the last version in which these updates were available.
but my D5 store has "Anonymous purchasing 5.x-3.6" enabled and all updates have been run. I upgrade D5 to D6, then update CCK and then enable the Store and run update.php and I get that message. Without this update, however, the rest of the store can't be updated.
Any ideas what's wrong here?
Comments
Comment #1
gordon CreditAttribution: gordon commentedI am not sure where ec_anon_update_4001() has gone to. It should be there, I most likely got a bit over zeldious.
If you remove ec_anon_update_last_removed() from ec_anon.install and it will run.
I will investigate this further and I will put this into the next release.
Gordon.
Comment #2
gordon CreditAttribution: gordon commentedThanks for pointing this out. I have checked into this and ec_anon_update_4001() was in 5.x-4.x-dev and was actually made obsolete during the development.
To fix this removed ec_anon_update_last_removed() from ec_anon.install
This will be included in 4.6
Comment #3
hershel CreditAttribution: hershel commentedThanks for the response. I still get:
user warning: Table 'k_drupal6.ec_product_ptypes' doesn't exist query: select * FROM ec_product_ptypes in /home/k/www/dev/sites/all/modules/ecommerce/ec_product/ec_product.module on line 391.
even though all updates have now run successfully. I also get
user warning: Table 'k_drupal6.ec_receipt_types' doesn't exist query: SELECT * FROM ec_receipt_types in /home/k/www/dev/sites/all/modules/ecommerce/ec_receipt/ec_receipt.module on line 292.
now.
I actually also get
but when I click through to admin/ecsettings/rtypes/settings I get
Fatal error: Call to undefined function ec_product_form_is_product() in /home/k/www/dev/sites/all/modules/ecommerce/ec_availability/ec_availability.module on line 118
Thank you.
PS: currency is spelled wrong in Update #5406
Comment #4
ferriol CreditAttribution: ferriol commentedI commented ec_anon_update_last_removed() and then I executed update.php to update ec_anon, and then another time to update the other modules.
After, all drupal doesn't work, all return a blank page and the update.php page displays this messages:
Comment #5
gordon CreditAttribution: gordon commentedI have done some work on this today and it has been fixed in 6.x-4.x-dev
Please try that and let me know the results.
Gordon.
Comment #6
ferriol CreditAttribution: ferriol commentedI installed the git version.
When I enable, displays this message, and then all pages displays this message:
I attach the update.php that result for first execution,
then I executed for 2nd time and all drupal pages returns blank page (I attach the update result too)
Comment #7
gordon CreditAttribution: gordon commentedBecause this is such a huge upgrade, the are many things that need to be run in the right order, so the upgrade is stopped from time to time to allow other updates to be run.
I think that you should be running 4-5 times before the upgrade is complete.
Don't worry about the php errors during the update process, as they will generally be fixed as more of the upgrade has been run.
Comment #8
ferriol CreditAttribution: ferriol commentedI tried to re-run update.php, but when I click on continue button on first page I receive this message:
Fatal error: Call to undefined function ec_product_form_is_product() in /home/ferriol/Escriptori/guardar/estrella/web/localhost/sites/all/modules/ecommerce/ec_availability/ec_availability.module on line 118