Issue Bug Closed

#21780Cannot parse SQL hints

Xavier Perseguers 12/03/09, 09:46 updated 02/05/10, 22:38

Description

RealURL uses SQL hint in method encodeSpURL_encodeCache (line 664 of class.tx_realurl.php):

$res = $GLOBALS[‘TYPO3_DB’]->exec_SELECTquery(‘/*! SQL_NO_CACHE */ content’, …

This cannot be parsed and gives a fatal error in FE:

PHP Catchable Fatal Error: Argument 1 passed to ux_t3lib_DB::_quoteFieldNames() must be an array, string given, called in /path/to/dbal/class.ux_t3lib_db.php on line 978 and defined in /path/to/dbal/class.ux_t3lib_db.php line 990

(issue imported from #M12897)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.