Closed (fixed)
Project:
Amazon associate tools
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
13 Mar 2006 at 11:04 UTC
Updated:
16 Mar 2006 at 15:26 UTC
Your INSTALL.txt still mentions using a .mysql file, yet none is included. I figured out that the amazon.install file is supposed to take it's place, but it doesn't appear to be documented anywhere how to actually use .install files.
I tried running update.php and moving the .install file around to root and /modules, using the little bit of discussion from this: http://drupal.org/node/43492. No luck.
I guess I'll just pull amazon.mysql out of the cvs dead files and hope it works. But please update your docs. Thanks.
Comments
Comment #1
benthere commentedHmm...that didn't seem to work. Got error message:
Sorry if I sounded too abrupt with my first post. Just when I thought I was getting the hang of this... ;-)
Comment #2
Prometheus6 commentedThe frustration is understandable. Changing the docs has been a low priority, but it's looking like folks are out of patience waiting for the official 4.7 release of Drupal.
The install file is cool. All you have to do is enable the module in admin/module and Drupal will run the hook_install() routine. You don't have to mess around with an sql client anymore.
Comment #3
benthere commentedWell I guess I got myself into a bit of a mess with this. I couldn't find any way to get the hook_install() to rerun. Tried setting status and schema_version to '0' in system table, but that didn't work.
Then I rewrote the install file back to a sql statement to run it manually. And I think I got the tables in okay. But I was back to the same error I got when I tried to use the old mysql file:
----
I also fixed an error in amazon.php5.inc related to array2object function gone in 4.7:
Comment #4
Prometheus6 commentedOkay, I'll look at the php5 code. I'll admit I got lazy and didn't check the php5 include as well as I could have.
Comment #5
benthere commentedGreat, thanks a lot Prometheus. I switched my hosting back to php4 and it seems to work fine. I'll try to help find php5 errors if I can, but this works good for now.
Comment #6
Prometheus6 commentedI fixed the php5 include...I was accessing the wrong property when parsing editorial reviews. That and the array2object thing should do it (thanks for catching that).
Comment #7
benthere commentedJust switched back to php5. All good so far. Thanks.
Comment #8
Prometheus6 commented