Hab beim neuen typo3 3.6.1 folgende Fehler beim vergrößern von Thumbs, mit der option eingeschaltet im Backend "bei Klick vergrößern"
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 216
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 665
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 216
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 665
Was kann ich dagegen machen hab alles ausprobiert:
Compare with Required Data-Fields 2x mal gemacht
3.6.1 2mal draufgespielt
.... weis net mehr weiter.
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 216
also ich würd ma folgendes vorschlagen, da ich mich typo 3 net auskenne, aber ein bissl in php 😉
geh in class.t3lib_db.php und schreibe in zeile 215
folgendes hinein.
echo mysql_error();
das dürfte dir sehr viel veraten, was da nicht stimmt.
ich denke mir mal das die verbindung zu db gar nicht aufgebaut wurde, oder halt vorher geschlossen wurde mit mysql_close();
hab deinen echo code eingefügt.
Parse error: parse error, unexpected T_ECHO, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 215
parse error?!
poste ma den auschnitt auch bitte..
http://www.freelancerfan.de/scifi/class.t3lib_db.txt
Ich hab dir gleich die ganze Datei hochgeladen, ohne echo mysqlerror()
ok, tausch die funktion "exec_SELECTquery" gegen die hier ma aus und poste ma das result.
function exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='') {
$error = "";
$error = mysql_error();
$res = mysql_query($this->SELECTquery($select_fields,$from_table,$where_clause,$groupBy,$orderBy,$limit), $this->link);
$error .= mysql_error();
if($error!=""){
$sql = "";
$sql = $this->SELECTquery($select_fields,$from_table,$where_clause,$groupBy,$orderBy,$limit);
echo "sql: ".$sql." ->".$error."<br>";
}
if ($this->debugOutput) $this->debug('exec_SELECTquery');
return $res;
}
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 221
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 679
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 221
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 679
und nochma austauschen 😉
function exec_SELECTquery($select_fields,$from_table,$where_clause,$groupBy='',$orderBy='',$limit='') {
$error = "";
$error = mysql_error();
if($error != ""){
echo $error;
}
$res = mysql_query($this->SELECTquery($select_fields,$from_table,$where_clause,$groupBy,$orderBy,$limit));
$error = "";
$error = mysql_error();
if($error != ""){
echo $error;
}
if ($this->debugOutput) $this->debug('exec_SELECTquery');
return $res;
}
Warning: mysql_query(): Access denied for user: 'nobody@localhost' (Using password: NO) in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 223
Warning: mysql_query(): A link to the server could not be established in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 223
Access denied for user: 'nobody@localhost' (Using password: NO)
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 680
Access denied for user: 'nobody@localhost' (Using password: NO)
Warning: mysql_query(): Access denied for user: 'nobody@localhost' (Using password: NO) in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 223
Warning: mysql_query(): A link to the server could not be established in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 223
Access denied for user: 'nobody@localhost' (Using password: NO)
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 167
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /is/htdocs/13523/www.freelancerfan.de/scifi/t3lib/class.t3lib_db.php on line 680
ich glaub wir sind damit weiter gekommen 😃 [/quote]
was muss jetzt ändern, irgendwie nimmt er einen anderen login, wo änder ich das? 🙁
trag da mal hartcore die daten ein und poste ma was kommt.
also aus
mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password);
wird
mysql_pconnect("localhost", "db_username", "db_passwort");
du musst nur noch den db usernamen und passwort austauschen
1. die Zeile lautet:
$res = mysql_query($this->SELECTquery($select_fields,$from_table,$where_clause,$groupBy,$orderBy,$limit),this->$link);
2. habe ich den Fehler jetzt behoben, indem ich vor die Zeilen folgendes geschrieben habe:
if (this->$link != null) ...
Kann mir jemand erklären, warum der Pointer nicht initiert wurde?