The center for all Wikitravel images!

Tech:IsIn failure on shared

From Wikitravel Shared
Revision as of 16:16, 26 February 2007 by Evan (talk | contribs) (fixed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 (".

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