I had an issue with enabling aat_legacy after an upgrade from drupal 5->6, I kept getting an error message much like this:

http://drupal.org/node/273696

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.

CommentFileSizeAuthor
#6 amazon.aat_legacy_db_fix.patch4.36 KBrfay
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asb’s picture

Title: aat_legacy sub-module can't be enabled » aat_legacy
Status: Needs work » Active

a) 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

asb’s picture

Title: aat_legacy » aat_legacy sub-module can't be enabled
Status: Active » Needs work

One 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".

Chad_Dupuis’s picture

Title: aat_legacy » aat_legacy sub-module can't be enabled
Status: Active » Needs work

subscribing

rfay’s picture

Status: Needs work » Closed (duplicate)

AAT support is not ready, and may never be, Please see #231612: Upgrade path for Amazon associate tools module?. Marking this issue as a duplicate.

rfay’s picture

Version: » 6.x-1.0-rc2
Status: Closed (duplicate) » Active

I shouldn't have marked this as a dup.

rfay’s picture

Status: Active » Fixed
FileSize
4.36 KB

OK, 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.

rfay’s picture

Status: Fixed » Closed (duplicate)

I reverted this and took a completely different approach in #231612: Upgrade path for Amazon associate tools module?