Warning thrown when displaying term 1 AND 2
marcoBauli - October 26, 2007 - 09:29
| Project: | Taxonomy Introduction |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | MartinSfromB |
| Status: | active |
Jump to:
Description
On links of the kind
/taxonomy/term/2,1
the following Warning is thrown:
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 '1' at line 1 query: SELECT * FROM taxonomy_intro WHERE tid=2,1 in /includes/database.mysql.inc on line 172.
#1
Sorry, didnt know that you can view more than one term with one call.
#2
Hi,
I have this situation also.
By the way.. you can view lots of terms with one call:
/taxonomy/term/1,2,3,4 etc..
or
/taxonomy/term/1+2+3 etc..
Do you need more info to get into this?
Greetings,
Martijn
#3
Martin, yes, concatenation is possible both with AND (+) and OR (,)
Sorry i'm no php expert, so was just pointing this out for anyone savvy enough to solve it.
Cheers
#4
Has there been any more on this issue?
I hate to post a "me too", but I'm also seeing this issue....
//TB
#5
Subscribing, i have the same issue.
#6
Description (Introduction) of wich term should be shown if more then one is selected? Or should nothing be shown in this case?
#7
Would it be possible to show both introductions, and have a theming possibility where to put the introductions through page.tpl.php?
May be one as starting, and the other as ending? Or just as many as there are arguments with all theming possibility to show or not to show?
Thanks in advance for trying to solve this!
greetings,
Martijn
#8
look here :
http://drupal.org/node/325085