"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Tech:IsIn failure on shared

From Wikitravel Shared
Jump to: navigation, search

What happens[edit]

I'm trying to set up the isIn for Cote d'Ivoire on shared (see Image:LocationCotedIvoire.png), but the apostrophe causes problems, even if escaped. The error is:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

   (SQL query hidden)

from within function "getCategories". MySQL returned error "1064: 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 'Ivoire')' at line 1 (wikidb.internetbrands.com)".

-- Ryan 01:23, 1 July 2006 (EDT)

When it happens[edit]

What should happen[edit]

How to fix it[edit]

I've cleaned up the code in "getCategories", so that should be OK. I don't see this problem happening any more, so I'm going to mark this bug "fixed". --Evan 11:12, 26 February 2007 (EST)

Variants

Actions

In other languages