Hallo,
Ich benutze datamints feuser extension im edit mode, um meinen Benutzern zu ermöglichen einen Lebenslauf ihrem Profil hinzufügen zu können. Seit dem Sicherheitsupdate bekomme ich jedoch diese Meldung, sobald ich den Lebenslauf speichere:
Warning: Missing argument 2 for t3lib_DB::fullQuoteStr(), called in /var/www/www.test/typo3conf/ext/datamints_feuser/pi1/class.tx_datamintsfeuser_pi1.php on line 516 and defined in /var/www/typo3_src-4.2.12/t3lib/class.t3lib_db.php on line 566
Warning: Cannot modify header information - headers already sent by (output started at /var/www/typo3_src-4.2.12/t3lib/class.t3lib_db.php:566) in /var/www/typo3_src-4.2.12/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3229
Warning: Cannot modify header information - headers already sent by (output started at /var/www/typo3_src-4.2.12/t3lib/class.t3lib_db.php:566) in /var/www/typo3_src-4.2.12/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3242
Wie gesagt vor dem update gab es diese Meldung noch nicht. Die anscheinend betroffene Zeile lautet:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('COUNT(uid) as count', 'fe_users', 'pid = ' . intval($this->storagePid) . ' AND ' . $fieldName . ' = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr(strip_tags($this->piVars[$fieldName], 'fe_users')) . $where . ' AND deleted = 0', '', '');
Vor dem Update hiess sie noch:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('COUNT(uid) as count', 'fe_users', 'pid = ' . $this->conf['register.']['userfolder'] . ' AND ' . $fieldName . ' = "' . trim(mysql_real_escape_string(strip_tags($this->piVars[$fieldName]))) . '"' . $where . ' AND deleted = 0', '', '');
Wie bekomme ich es hin, dass die Sicherung über fullQuoteStr erhalten bleibt und die Warnungsmeldungen verschwinden?
Bin für jeden Hinweis dankbar
Gruß
Poom