I’ve got following error when clicking on nodes.
"user warning: 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 'DISTINCT(n.nid), a.visibility, a.note FROM test_annotations a INNER JOIN test_no' at line 1 query: SELECT n.title, u.name, u.uid, DISTINCT(n.nid), a.visibility, a.note FROM test_annotations a INNER JOIN test_node n ON a.nid= n.nid INNER JOIN test_users u ON a.uid=u.uid LEFT JOIN test_i18n_node i18n ON n.nid = i18n.nid WHERE (i18n.language ='en' OR i18n.language ='' OR i18n.language IS NULL) AND ( a.nid = 9 AND 1=1) in /hsphere/local/home/volmark/....../drupal/includes/database.mysql.inc on line 172."
I happen after enabling Annotate module 5.x-1.x-dev
Comments
Comment #1
clemens.tolboomI still cannot reproduce this.
I installed i18n and expected that on the annotations tab the error should be produced.
The version of annotate.module on demo site when testing is '1.6.2.7'
Any suggestions?
Comment #2
clemens.tolboom(changed my nonsense and dead link)
I can find annotate_ym in error. But not annotate.
Comment #3
volmark commentedIm still getting a bug, now on the local development server
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Servers\xampp\htdocs\drupal\modules\annotate\annotate.module on line 328
Comment #4
clemens.tolboomThe version used on http://annotate.build2be.com/nl/node/104/annotations right now is:
// $Id: annotate.module,v 1.6.2.9 2008/01/19 09:22:02 clemenstolboom Exp $
Can you please check this.
Comment #5
clemens.tolboomI see no other option then to close this issue.
- no user feedback.
- unable to reproduce.
Comment #6
deliriumbg commentedI have such problem. How i can solve it?
Comment #7
clemens.tolboomThis has nothing to do with annotate right?
I would try to run the query directly on the database with ie phpmyadmin and then try to fix it first. Then maybe file a bug @ votingapi module?