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
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

MartinSfromB - November 13, 2007 - 12:56

Sorry, didnt know that you can view more than one term with one call.

#2

Summit - December 12, 2007 - 13:37

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

marcoBauli - December 15, 2007 - 11:31

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

brewreview.info - February 11, 2008 - 00:02

Has there been any more on this issue?

I hate to post a "me too", but I'm also seeing this issue....
//TB

#5

ethanre - June 20, 2008 - 15:09

Subscribing, i have the same issue.

#6

MartinSfromB - August 18, 2008 - 06:02
Assigned to:Anonymous» MartinSfromB

Description (Introduction) of wich term should be shown if more then one is selected? Or should nothing be shown in this case?

#7

Summit - August 18, 2008 - 07:32

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

DaMaster - October 24, 2008 - 08:05
 
 

Drupal is a registered trademark of Dries Buytaert.