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 had an issue with enabling aat_legacy after an upgrade from drupal 5->6, I kept getting an error message much like this:
Anyhow changing line 13 of aat_legacy.install from:
db_query($insert, $asin['nid'], -1, $asin['asin'], 'aat_legacy');
to:
db_query($insert, $asin->nid, -1, $asin->asin, 'aat_legacy');
Solved the issue for me.
Comment | File | Size | Author |
---|---|---|---|
#6 | amazon.aat_legacy_db_fix.patch | 4.36 KB | rfay |
Comments
Comment #1
asb CreditAttribution: asb commenteda) Confirming this issue (aat_legacy submodule can't be enabled).
b) Confirming the workaround from above (aat_legacy submodule can now be enabled).
F'up issues: #555624: aat_legacy fixes
Thanks & greetings, -asb
Comment #2
asb CreditAttribution: asb commentedOne short addition: Nodes of the legacy "Amazon review" content type do not display anything, not even a node titel, an author or any tags - at least in my migration test site.
Greetings, -asb
PS: Changed node title to be more descriptive; changed status to "needs work".
Comment #3
Chad_Dupuis CreditAttribution: Chad_Dupuis commentedsubscribing
Comment #4
rfayAAT support is not ready, and may never be, Please see #231612: Upgrade path for Amazon associate tools module?. Marking this issue as a duplicate.
Comment #5
rfayI shouldn't have marked this as a dup.
Comment #6
rfayOK, so this is the one thing I said I wasn't going to work on.
It's working now.
There were lots of things wrong.
Please try it out in the dev release and report back on how it works for you.
What the module does so far is take nodes of type "amazonnode" and presents them as formatted nodes. The presentation is probably different from D5, but it is themable.
When you do an upgrade from D5, here are the steps:
1. Set the theme to a core theme like garland.
2. Remove all modules from sites/all/modules
3. Update core with update.php
4. Now move cck into sites/all/modules and enable most of the modules (normally not content_access)
5. Update.php
6. Now move Amazon module into sites/all/modules
7. Enable all the amazon modules except aat_legacy.
8. Update.php
9. Enable aat_legacy.
It might work for you.
Committed to HEAD: http://drupal.org/cvs?commit=308178
Will be in the next dev release. Please try it out.
Comment #7
rfayI reverted this and took a completely different approach in #231612: Upgrade path for Amazon associate tools module?