Closed (fixed)
Project:
Affiliates
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2009 at 03:42 UTC
Updated:
24 Jan 2009 at 17:10 UTC
There's no instruction in use, the UI contains nothing but two text Boxes with no means or instructions as to generating an affiliate link, and on top of that I recieve this error on the affiliate homepage on a new install of drupal:
user warning: Unknown column 'ac.weight' in 'order clause' query: SELECT aa.*, ac.cat_name FROM affiliates_ads aa INNER JOIN affiliates_cats ac ON ac.cat_id = aa.cat_id WHERE status = 'A' ORDER BY ac.weight ASC, aa.order_by ASC in C:\Documents and Settings\Owner\My Documents\site\modules\affiliates\affiliates.module on line 937.
Comments
Comment #1
drupaloSa commentedThere is an update in the .install file but the function has been named incorrectly; it should be affiliates_update_6001() instead of affiliates_update_1(). Fixing this and then running the update.php adds a "weight" column to the affliates_cats table and the errors are gone.
Comment #2
kbahey commentedThanks, fixed in dev. New tarball should be available for download in about 9 hours from now.