Zum Inhalt springen

Warnings bei Newsletterregistrierung mit "sr_email_subscribe"

Erstellt am 2. April 2008 · 3 Antworten · letzte Antwort am 28. Oktober 2008

Tags: PHP, TYPO3 4, Frage

blau ·

Hallo Forum,
ich bekomme folgende Warunungen im Frontend 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: session_register(): Cannot send session cache limiter - headers already sent (output started at /typo3_src-4.1.5/t3lib/class.t3lib_db.php:796) in /html/typo3conf/ext/de_phpot/res1/phpot/class.tx_dephpot_phpopentracker_container.php on line 39

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

aber nur auf der "deutschen" Seite. Die "englische" Version funtkioniert ohne jegliche Warnungen oder Fehler.
Was kann ich machen, um diese Warnungen zu beheben.

Dies sind die angesprochenen Bereich in der t3lib_db.php:
Zeilen 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);
	}

Zeilen 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);
	}

Leider ist mein PHP Wissen sehr gering. Ich hoffe mir kann jemnad weiterhelfen - was diese Zeilen bedeuten und wie ich die Warnings entfernen kann.

Ich verwende die Extension "sr_email_subscribe" in der Version 1.2.1. und die Typo3 Version 4.1.5

Vielen Dank für jede Hilfe
Gruß
blau

tonbildtext ·

Hallo!
Ich habe das selbe Problem bei der Ext Mailformplus. gegaaglt ohne Ende, alles ausprobiert und keine Lösung gefunden bisher (COMPARE, cahce in my.cnf erhöhen, etc).

Gibts was Neues? Wäre echt dankbar.

tonbildtext ·

Tja, und nochwas dazu: bei der Ext "Powermail" zeigt mir das Vorschaufenster an, dass mySQL down ist ("MySQL server has gone away").

Und im BE krieg ich Errors, wenn ich den FE-Cache löschen will:

"The current username, password or host was not accepted when the connection to the database was attempted to be established!"

Hängt alles wohl zusammen, da vor kurzem nix davon zu sehen war.

Hat jemand ähnliche Probleme oder gar eine Lösung?