On a clean install of Drupal 6.2, I tried to install Amazon 6beta2. The website crashes when I attempt to install the module.
Here's the error code:
Fatal error: Call to undefined function content_notify() in MYSITE/public_html/sites/all/modules/amazon/asin/asin.install on line 7
(Subbed MYSITE for my actual site.)
Going back to Modules on my site, I see that Amazon API has installed but the other components have not.
I first tried to install it as the only contributed module on my site. To make sure it wasn't a problem on my site, I then installed several contributed modules without a problem.
My site config is:
MySQL database 5.0.51a
PHP 5.2.6
PHP memory limit 40M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Web server Apache/1.3.34 Ben-SSL/1.55
I'm not a programmer, but I'll be glad to test. Let me know what I can do to help with this.
Thanks to all who give so much of their time!
Connie
Comments
Comment #1
conniec commentedGuess I'm the only one with this problem? I've reloaded the module. No help, there. Should I be using the developer version? I
Connie
Comment #2
keyone commentedi'm having same problem. any luck figuring it out?
I'm not sure, but I think this has something to do with CCK. Does a CCK module need to be installed along with Amazon? I'm unclear about this, and if so, which CCK module, as there are several avail for drupal 6.
Comment #3
eaton commentedThis should be fixed in the devel version, and will be part of Amazon module beta 3. ASIN module requires CCK, but wasn't properly including a couple of its files when it did some of its installation work.
Comment #4
conniec commentedThanks for the reply. Looking forward to trying the dev module. Love this module in 5.X!
Connie
Comment #5
keyone commentedI'm still getting this same error - I tried the beta3 version. What can I do to make this work? Do I need a CCK module? If so, which CCK module.
Comment #6
devonharper commentedI am using Amazon 6.x-1.0-beta3 as well and was able to install it successfully by first activating the Content 6.x-2.0-beta Module from CCK. I think the other CCK modules are all optional in regards to Amazon.
Comment #7
keyone commentedThanks! That worked, and I also had to update the database schema under Administer > Reports. Now I see the Test under Administer > Site configuration > Amazon API > Test and am able to look up a product. I also see the amazon search in Advance Search. That's nifty!
Not sure how else to use this module, as I'd really like to be able to easily include book information into content.
Comment #8
eaton commentedkeyone, if you have CCK installed, and enable the 'Amazon Field' module, you can add amazon products to nodes and they'll display with cover images, links to amazon, etc.
Comment #9
keyone commentedHow exactly do I do this? When I go to add content (book, story, page) I don't see any extra option for adding Amazon items.I do have CCK installed. The first one is checked as installed (CCK>Content). Do I need others checked?I also have all of the Amazon modules checked as installed. I'm sorry for my ignorance.Never mind, I figured it out! Awesome, but hard to figure out! I had to go to
Home › Administer › Content management › Book pageand manage the fields. Once I added a field for the amazon, and configured it to show what I wanted, it works great!
Comment #10
devonharper commentedAlso don't forget to go to:
Home > Administer > User Management > Permissionsand assign "view" permissions to your new field. Otherwise, only the administrator will be able to see the ASIN information.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.