Exception in PHP Script
/controller.php
PHP Version: 5.4.4-14+deb7u12;  Zend Engine Version: 2.4.0;  Qcodo Version: 0.3.42 (Qcodo Beta 3)
Application: Apache;  Server Name: www.crosswordpuzzles.net
HTTP User Agent: CCBot/2.0 (http://commoncrawl.org/faq/)
MySqli Error: 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 's-hereditary-crosswords-puzzle'' at line 1
Exception Type:   QMySqliDatabaseException

Source File:   /www/sites/www.crosswordpuzzles.net/includes/data_classes/Item.class.php     Line:   219

Line 214:            $objDatabase = Item::GetDatabase();
Line 215:    
Line 216:            $strQuery = "SELECT `url`, `long_name`, `name` ";
Line 217:            $strQuery .= "FROM pregenerated_crosswords pc LEFT JOIN category ca ON pc.category = ca.category_id WHERE pc.slug = '" . $crosswordName . "'; ";
Line 218:    
Line 219:            $objDbResult = $objDatabase->Query($strQuery);
Line 220:            $objItem = $objDbResult->FetchArray();
Line 221:    
Line 222:            return $objItem;
Line 223:        }
Line 224:    

Database Error Number:  1064

Query:   Show/Hide


Call Stack:

#0 /www/sites/www.crosswordpuzzles.net/includes/data_classes/Item.class.php(219): QMySqli5Database->Query('SELECT `url`, `...')
#1 /www/sites/www.crosswordpuzzles.net/includes/controller/solve-crosswords.php(62): Item::getCrosswordBreadcrumb('it's-hereditary...')
#2 /www/sites/www.crosswordpuzzles.net/htdocs/controller.php(89): require('/www/sites/www....')
#3 {main}

Variable Dump:   Show/Hide



Exception Report Generated:  Tuesday, July 29 2014, 1:38:48 AM