Returning an SQL error on all user pages with both 6.x-6.x-dev and 6.x-0.1-alpha2. I'm running MySQL 5.0.51a on a local host.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') LEFT JOIN nodequeue_subqueue nodequeue_nodes_node__nodequeue_subqueue ON node' at line 4 query: SELECT node.nid AS nid, nodequeue_nodes_node.position AS nodequeue_nodes_node_position FROM node node INNER JOIN nodequeue_nodes nodequeue_nodes_node ON node.nid = nodequeue_nodes_node.nid AND nodequeue_nodes_node.qid IN () LEFT JOIN nodequeue_subqueue nodequeue_nodes_node__nodequeue_subqueue ON nodequeue_nodes_node.qid = nodequeue_nodes_node__nodequeue_subqueue.qid WHERE nodequeue_nodes_node__nodequeue_subqueue.reference = '1' ORDER BY nodequeue_nodes_node_position ASC LIMIT 0, 10 in \sites\all\modules\views\includes\view.inc on line 677.
Comments
Comment #1
dydecker commentedNever mind: it generates this on a fresh install if you've not hook up your queue to a content type. No probs;)
Comment #2
ezra-g commentedCould you clarify what you mean by "not hook up your queue to a content type?" I'll try to recreate this, but there shouldn't be SQL errors, regardless of configuration.
Comment #3
dydecker commentedI meant add the queue type to the smartqueue_user_users relationship in Views. But looking further into it, there seems to be something wrong with my configuration. I'm getting this SQL error on all smartqueue pages except user/1.
warning: array_intersect() [function.array-intersect]: Argument #2 is not an array in \4\sites\all\modules\nodequeue-6.x-2.0-rc16\nodequeue\nodequeue.module on line 1458.Nodes associated with smartqueue also have no smartqueue link & generate:
The user profile pages don't generate the smartqueue title, and instead say 'Nodequeue '' '
I'm going to try deleting nodequeue & smartqueue and starting again. Will report back.
Comment #4
dydecker commentedUninstalled, deleted all refs to nodequeue & smartqueue in database, reinstalled, now there are no more SQL errors.
Comment #5
dydecker commentedNodequeue is working fine, but when I install Smartqueue, it automatically creates a “Manipulate My Nodequeue” link at user/1 linking to admin/content/nodequeue/%252Fview/. The title of the page is Nodequeue “ (with the quote mark)
When I create a Smartqueue, all user pages link to admin/content/nodequeue/%252Fview/. (Display on user profile pages is checked in settings).
Also, for any user, no links show on the nodes associated with the smartqueue.
Currently all permissions are turned on. Is there something wrong with my configuration? I can’t quite work out what is a bug & what is a settings issue…
Comment #6
ezra-g commentedYikes. Sounds like an alpha release ;). I'll look into this.
Comment #7
ezra-g commentedI am able to replicate the malformed link that displays at user/1 and the resulting view. However, users with "manipulate queues" and "manipulate my user queue" permissions are able to manipulate their queues in my testing.
Have you verified that the user you are testing has her own queue? If that user does not have a queue, you can create one by editing the user queue at admin/content/nodequeue and specifying 'Create new NodeQueues'.
Comment #8
ezra-g commentedI just committed a fix to both 5.x and 6.x that prevents the 'manipulate my node queue' link from displaying when the user does not have a queue. Please re-open this issue if you are still having the other issue you described.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.