Hab mir jetzt mal aufgrund einer deiner Links den Code von database.php genauer angeschaut.
Der betreffende Codeschnippsel ist folgender (Line 661-679):
PHP-Code:
/**
* Build the query string
* @param array
* @throws Exception
*/
protected function replaceWildcards($arrParams)
{
$arrParams = $this->escapeParams($arrParams);
// Clean wildcards
$this->strQuery = preg_replace('/%([^bcdufosxX])/', '%%$1', $this->strQuery);
$this->strQuery = preg_replace('/%%+/', '%%', $this->strQuery);
// Replace wildcards
if (($this->strQuery = @vsprintf($this->strQuery, $arrParams)) == false)
{
throw new Exception('Too few arguments to build the query string');
}
}
Die angemahnte Line 677 beinhaltet "throw new Exception('Too few arguments to build the query string');". Was mir auch logisch erscheint.
Aber was ich daran nun ändern soll ist mir trotz der Links schleierhaft, da ich totaler PHP-Frischling bin.
Lesezeichen