Closed (duplicate)
Project:
Avatar Selection
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2009 at 09:24 UTC
Updated:
8 Feb 2009 at 22:21 UTC
File: avatar_selection.module
Message: user warning: query: SELECT count(*) FROM avatar_selection avs LEFT JOIN avatar_selection_roles avsr ON avs.aid = avsr.aid WHERE avsr.rid IS NULL OR avsr.rid IN (2,3) ORDER BY weight, name, avatar in [...]\sites\all\modules\avatar_selection\avatar_selection.module on line 453.
Solution: Delete ORDER BY Clause in sql sentences type SELECT count(*). Ex: SELECT count(*) FROM avatar_selection avs LEFT JOIN avatar_selection_roles avsr ON avs.aid = avsr.aid WHERE avsr.rid IS NULL OR avsr.rid IN (2,3)
Lines: 398, 402, 410, 415, 433, 438, 448, 453, 461
I attach fixed file. Rename avatar_selection.module.txt to avatar_selection.module and replace in your site.
| Comment | File | Size | Author |
|---|---|---|---|
| avatar_selection.module.txt | 24.34 KB | dvdsantana |
Comments
Comment #1
stella commentedDuplicate of #338227: PostgreSQL support