Closed (fixed)
Project:
Amazon Product Advertisement API
Version:
7.x-1.0-beta6
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2011 at 09:57 UTC
Updated:
18 Aug 2011 at 21:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
rfayNo, this is a problem with your install profile. I don't know much about install profiles to help you.
Comment #2
eclipsegc commentedIt is quite possible that your hook_requirements is killing the profile. Services module actually does a db call right there, and causes the same issue, I'm not 100% sure, but if commenting out the hook_requirements fixes the issue, you've found your culprit.
Comment #3
rfayThanks, EclipseGC. @DrupalRevisited, we look forward to your results.
Comment #4
rfaySo according to DamZ, hook_requirements('install') *cannot* use the database, and a variable_get() does, of course.
So we need to improve hook_requirements.
Comment #5
rfayThis patch should solve the problem.
Committed to D7: 9ea1808
And to D6: 7016a16