Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef
Verfasst: 16.11.2015 09:44
HAllo,Charlie_M hat geschrieben:Da die DB von einer älteren, "bereinigten" PHPBB-Version kommt würde ich Dr. Deaths Methode anwenden:
viewtopic.php?p=1324742#p1324742
danke schön für den Tipp, aber nein, leider falsche Annahme: ich habe die Datenbank nicht vorher schon mit einer frischen 3.1 Version benutzt. Passt nicht.
Trotzdem muss ich nochmal von vorne anfangen, da ich mit diesem Beitrag ( viewtopic.php?p=1346070#p1346070 ) die original 3.0.12 DB aufgespielt hatte, wo die MODs noch drin waren. Also alles nochmal von vorne:
3.1 komplett löschen
3.0 komplett restoren
Umstellen von php 5.6 auf php 5.2
Styles löschen
Mods löschen
STK durchlaufen lassen
Auch diese DB backuppen !!!!!!!!!!!!!!!!!!!!!!!
3.0 löschen
3.1 komplett restoren
umstelle von php 5.2 auf 5.6
so und jetzt: database_update: es wird wieder diese Fehlermeldung geben.
FRAGE: Warum nimmt die DB die Codes nicht an, die mir Blackhawk genannt hat? Der 2. Code läuft ja durch, nur scheinbar findet keine Änderung in der TAbelle php-profile-fields statt.
Gibt es eine andere Möglichkeit, das Feld in die TAbelle zu importieren? Vielleicht aus einem anderen, x-beliebigen 3.1 Forum? Wenn ja wie?
Alles ein bisschen viel, was phpBB dem einfachen User hier für ein "einfaches Update" zumutet.

Bitte daher um weitere Hilfe.
Danke.
LG
Kai
......
so, obige Schritte erledigt ( man kommt ja langsam in Übung



Abermalige Fehlermeldung nach database_update wie im allerersten Post:
Code: Alles auswählen
SQL ERROR [ mysqli ]
Unknown column 'field_show_on_pm' in 'field list' [1054]
SQL
INSERT INTO phpbb_profile_fields (field_name, field_type, field_ident, field_length, field_minlen, field_maxlen, field_novalue, field_default_value, field_validation, field_required, field_show_novalue, field_show_on_reg, field_show_on_pm, field_show_on_vt, field_show_profile, field_hide, field_no_view, field_active, field_order) VALUES ('phpbb_interests', 'profilefields.type.text', 'phpbb_interests', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 1, 0, 0, 1, 18)
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/migration/profilefield_base_migration.php
LINE: 98
CALL: phpbb\db\driver\factory->sql_query()
FILE: (not given by php)
LINE: (not given by php)
CALL: phpbb\db\migration\profilefield_base_migration->create_custom_field()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 550
CALL: call_user_func_array()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 496
CALL: phpbb\db\migrator->run_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 322
CALL: phpbb\db\migrator->process_data_step()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 262
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 202
CALL: phpbb\db\migrator->try_apply()
FILE: [ROOT]/phpbb/db/migrator.php
LINE: 185
CALL: phpbb\db\migrator->update_do()
FILE: [ROOT]/install/database_update.php
LINE: 206
CALL: phpbb\db\migrator->update()
Warum hat das mit phpMyadmin nicht funktioniert?
LG
Kai
Nachtrag 2: Wenn ich mit mysql Befehlen eine neue Spalte 'field_show_on_pm' in die Tabelle hinzufüge, geht das.
Allerdings kommt dann beim upgrade der DB folgende Warnmeldung:
Ich weiß wirklich nicht mehr weiter. Kann bitte jemand helfen?Die Konfigurationseinstellung „load_cpf_pm“ existiert unerwarteterweise nicht.