[TYPO3-german] Newsletterregistrierung mit "sr_email_subscribe"
TYPO3 Gunther
typo3 at online.de
Tue Apr 8 16:10:03 CEST 2008
Liebe Liste,
ich nutze die Extension "sr_email_subscribe" für die Registrierung des
Newsletters.
Leider bekomme ich bei der Anzeige im Frontend folgende Warnings angezeigt:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 796
Warning: mysql_free_result(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 823
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 796
Warning: mysql_free_result(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 823
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 796
Warning: mysql_free_result(): supplied argument is not a valid MySQL result
resource in /typo3_src-4.1.5/t3lib/class.t3lib_db.php on line 823
Warning: Cannot modify header information - headers already sent by (output
started at /typo3_src-4.1.5/t3lib/class.t3lib_db.php:796) in
/typo3_src-4.1.5/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907
Die angesprochenen Zeilen in der t3lib_db.php lauten folgendermaßen:
Zeilenbereich 796:
/**
* Returns an associative array that corresponds to the fetched row, or
FALSE if there are no more rows.
* mysql_fetch_assoc() wrapper function
* Usage count/core: 307
*
* @param pointer MySQL result pointer (of SELECT query) /
DBAL object
* @return array Associative array of result row.
*/
function sql_fetch_assoc($res) {
$this->debug_check_recordset($res);
return mysql_fetch_assoc($res);
}
Und Zeilenbereich 823:
/**
* Free result memory
* mysql_free_result() wrapper function
* Usage count/core: 3
*
* @param pointer MySQL result pointer to free / DBAL
object
* @return boolean Returns TRUE on success or
FALSE on failure.
*/
function sql_free_result($res) {
$this->debug_check_recordset($res);
return mysql_free_result($res);
}
Die Zeilen aus der lslib_fe.php:
Zeilenbereich 2907:
/**
* Processes the output before it's actually outputted. Sends headers also.
* This includes substituting the USERNAME comment, getMethodUrlIdToken,
sending additional headers (as defined in the TypoScript
"config.additionalheaders" object), tidy'ing content, XHTML cleaning content
(if configured)
* Works on $this->content
*
* @return void
*/
function processOutput() {
// Set header for charset-encoding unless disabled
if (!$this->config['config']['disableCharsetHeader']) {
$headLine =
'Content-Type:text/html;charset='.trim($this->metaCharset);
header($headLine);
}
...}
Leider kann ich mit diesen Zeilen nichts anfangen bzw. herauslesen.
Das Komische ist auch, dass diese Warnungen nur auf der "deutschen" Seite
und nicht auf der "englisch" Seite ausgegeben werden.
Die einzelnen Versionen sind:
"sr_email_subscribe" Version 1.2.1.
"tt_address" Version 2.2.1
"sr_feuser_register" Version 2.5.8
"direct_mail" Version 2.5.3
"typo3" Version 4.1.5
Ich hoffe mir kann jemand weiterhelfen.
Vielen Dank für jeden Tipp und Hilfe.
Gruß
Gunther
More information about the TYPO3-german
mailing list