Seiten: 1 2 3 4 5 6 7 8 9 10
Theoretisch schon, aber dadurch wird das Problem mit der Konvertierung nicht weggehen. Am besten du machst du eine genaue Fehlerbeschreibung in einem neuen Thema.
themen suchen, gabs schon zuuuuuu oft!
Hallo,
Bei der UTF8 Konvertierung bekomme ich folgende Meldung:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
Könnte Ihr mir sagen was das bedeutet ?
Bisher habe ich folgendes gemacht
Datenbank und Forum auf eigenen PC gesichert.
Laut Upgrade-Anleitung Altes Forum gelöscht und neues aufgespielt.
die Dateien config.php & settings.php zurückgespielt ins forum und das upgrade laufen lassen.
Dann utf8_header.php ins PlugIn verzeichnis kopiert und aktiviert
zu guter letzt die Datei convert-encoding.php
Dabei tauchte dann folgende Meldung auf:
Konvertierung des Datenbankencodings für MyBB
---------------------------------------------------------------
Modus: Konvertierung
Neues Encoding: UTF-8
Neues Encoding für MySQL: utf8
Neue Collation für MySQL: utf8_general_ci
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_adminlog ............
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_adminoptions ...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_adminsessions .
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_announcements
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_attachments ..
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_attachtypes ...............
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_awaitingactivation ...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_badwords ....
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_banned
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_captcha .........
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_datacache
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_downloadcategories
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_downloads
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_events ....................................................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_favorites ...................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_forumpermissions ........................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_forums .........................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_forumsubscriptions
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_groupleaders
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_helpdocs .......
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_helpsections ..
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_icons .............
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_joinrequests
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_mailqueue
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_membermap
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_moderatorlog ..............................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_moderators
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_modtools
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_mycode
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_pmarchive
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_polls ....
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_pollvotes .......................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_posts ..........................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_privatemessages ..................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_profilefields ....
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_profileviewers
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_profileviewers_views
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_reportedposts
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_reputation ....................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_searchlog ........................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_sessions ....................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_settinggroups ................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_settings ............................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_shouts
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_smilies .............................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_templategroups ..........................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_templates .............................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_templatesets
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_themes ..
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_threadratings .......
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_threads ...............................................................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_threadsread .................................................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_upgrade_data ...
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_userfields ..................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_usergb
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_usergroups ...........
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_users ..................
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/web1/html/MYBB/convert-encoding.php on line 170
mybb_usertitles .....
Alle Schritte durchgeführt.
Bitte löschen Sie dieses Skript vom Server!
Mein Forums text sieht jetzt so aus:
"Dieses Forum ist zur Zeit geschlossen. Der Administrator hat folgenden Grund angegeben:
Wegen Wartungsarbeiten und Update's ist das Forum vorr�bergehend geschlossen. Bitte schaut zu einem sp�teren Zeitpunkt wieder vorbei. Euer Webmaster"
was bedeutet das jetzt für mich ??
Kann mir bitte jemand schnell helfen ?
Dank im Vorraus
Gruß Maitre
Kannst du bitte mal die Datei convert-encoding.php mit einem Editor öffnen und die Zeile
PHP-Code:
$sql = 'SHOW CREATE TABLE `' . ek($row[0]).'`';
durch diese ersetzen?
PHP-Code:
$sql = 'SHOW CREATE TABLE ' . ek($row[0]);
Geht es dann?
Michael schrieb:@lexington: Der einfachste Weg ist nur die geänderten Dateien auf den Webspace zu laden. Im Paket ist der Order "install" enthalten, d.h. du kannst das Upgradeskript ganz normal durchlaufen lassen. Es kann zu Problemen mit Plugins kommen, das ist aber sehr selten.
@modercol: Im Template header oder headerinclude scheint ein Fehler mit einer Variablen zu sein. Prüfe das bitte nach.
Also nochmal für die ganzen "simplen Gemüter" wie mich.
1) diese Datei
https://www.mybb.de/forum/attachment.php?aid=1696 downloaden
2) entpacken
3) im ASCI Modus per FTP in meinen Forums ordner hochladen (und immer ja sagen, wenn er sagt Datei schon vorhanden)
Fertig ???
lg
Baumi
PS: und es kann wirklich nix passieren !!! Meine neuen Forenmitglieder lynchen mich sonst............oder gibts noch was sicheres ?
Michael schrieb:Kannst du bitte mal die Datei convert-encoding.php mit einem Editor öffnen und die Zeile
PHP-Code:
$sql = 'SHOW CREATE TABLE `' . ek($row[0]).'`';
durch diese ersetzen?
PHP-Code:
$sql = 'SHOW CREATE TABLE ' . ek($row[0]);
Geht es dann?
Genau das war es - Vielen Dank mal wieder an Dich Michael - Wenn wir Dich nicht hätten. - Ist alles sauber durchgelaufen & ohne Fehlermeldungen.
VILEN DANK
Gruß Maitre
Hallo ich habe das Update in meinem Testforum gemacht und bekomme auf dem index folgende fehlermeldung:
Code:
MySQL error: 1054
Unknown column 'b.olddisplaygroup' in 'field list'
Query: SELECT u.*, f.*, b.dateline AS bandate, b.lifted AS banlifted, b.oldgroup AS banoldgroup, b.olddisplaygroup as banolddisplaygroup, b.oldadditionalgroups as banoldadditionalgroups FROM mybb_users u LEFT JOIN mybb_userfields f ON (f.ufid=u.uid) LEFT JOIN mybb_banned b ON (b.uid=u.uid) WHERE u.uid='2'
Rufe das Updgradeskript auf und folge den Anweisungen.
Seiten: 1 2 3 4 5 6 7 8 9 10