Seite 5 von 7

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 22:42
von abelius-kiel
Leider auch eine Fehlermeldung im phpmyadmin:

Code: Alles auswählen

MySQL meldet: Dokumentation

#1054 - Unknown column 'field_show_on_pm' in 'field list' 
Hm ... ich bin völlig ahnungslos.

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 22:46
von Lehrling
kannst du die Tabelle phpbb_profile_fields mal exportieren, vorzugsweise im Format PHP array, und hier in den Pastebin einstellen?

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 22:50
von abelius-kiel
So, heruntergeladen ist sie, aber wie erstelle ich ein ... Pastebin?
LG
KAi

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 22:52
von Lehrling
schau mal oben in der hellgrauen Navigationsleiste gibt es rechts vom Persönlichen Bereich irgendwo einen Link zum Pastebin.

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 22:52
von abelius-kiel

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 23:00
von Lehrling
Die Tabelle ist leer. Im Moment weiß ich auch nicht weiter. Tut mir leid.

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 23:03
von abelius-kiel
Ja, kann das vom Befehl 'Truncate' gekommen sein?

Ich versuche nochmal, die DB neu aufzuspielen. Vlt ist die Tabelle dann gefüllt. DAnke für die Hilfe!

LG
Kai

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 23:03
von Crizzo
Geh mal in die Tabelle: phpbb_profile_fields
und führe dann per SQL aus:

Code: Alles auswählen

INSERT INTO `phpbb_profile_fields` (`field_id`, `field_name`, `field_type`, `field_ident`, `field_length`, `field_minlen`, `field_maxlen`, `field_novalue`, `field_default_value`, `field_validation`, `field_required`, `field_show_on_reg`, `field_hide`, `field_no_view`, `field_active`, `field_order`, `field_show_profile`, `field_show_on_vt`, `field_show_novalue`, `field_show_on_pm`, `field_show_on_ml`, `field_is_contact`, `field_contact_desc`, `field_contact_url`) VALUES
(1, 'phpbb_location', 'profilefields.type.string', 'phpbb_location', '20', '2', '100', '', '', '.*', 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, '', ''),
(2, 'phpbb_website', 'profilefields.type.url', 'phpbb_website', '40', '12', '255', '', '', '', 0, 0, 0, 0, 1, 2, 1, 1, 0, 1, 1, 1, 'VISIT_WEBSITE', '%s'),
(3, 'phpbb_interests', 'profilefields.type.text', 'phpbb_interests', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, '', ''),
(4, 'phpbb_occupation', 'profilefields.type.text', 'phpbb_occupation', '3|30', '2', '500', '', '', '.*', 0, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0, 0, '', ''),
(5, 'phpbb_aol', 'profilefields.type.string', 'phpbb_aol', '40', '5', '255', '', '', '.*', 0, 0, 0, 0, 0, 5, 1, 1, 0, 1, 1, 1, '', ''),
(6, 'phpbb_icq', 'profilefields.type.string', 'phpbb_icq', '20', '3', '15', '', '', '[0-9]+', 0, 0, 0, 0, 0, 6, 1, 1, 0, 1, 1, 1, 'SEND_ICQ_MESSAGE', 'https://www.icq.com/people/%s/'),
(7, 'phpbb_wlm', 'profilefields.type.string', 'phpbb_wlm', '40', '5', '255', '', '', '.*', 0, 0, 0, 0, 0, 7, 1, 1, 0, 1, 1, 1, '', ''),
(8, 'phpbb_yahoo', 'profilefields.type.string', 'phpbb_yahoo', '40', '5', '255', '', '', '.*', 0, 0, 0, 0, 0, 8, 1, 1, 0, 1, 1, 1, 'SEND_YIM_MESSAGE', 'ymsgr:sendim?%s'),
(9, 'phpbb_facebook', 'profilefields.type.string', 'phpbb_facebook', '20', '5', '50', '', '', '[a-zA-Z0-9.]+', 0, 0, 0, 0, 1, 9, 1, 1, 0, 1, 1, 1, 'VIEW_FACEBOOK_PROFILE', 'http://facebook.com/%s/'),
(10, 'phpbb_twitter', 'profilefields.type.string', 'phpbb_twitter', '20', '1', '15', '', '', '[\\w]+', 0, 0, 0, 0, 1, 10, 1, 1, 0, 1, 1, 1, 'VIEW_TWITTER_PROFILE', 'http://twitter.com/%s'),
(11, 'phpbb_skype', 'profilefields.type.string', 'phpbb_skype', '20', '6', '32', '', '', '[a-zA-Z][\\w\\.,\\-]+', 0, 0, 0, 0, 1, 11, 1, 1, 0, 1, 1, 1, 'VIEW_SKYPE_PROFILE', 'skype:%s?userinfo'),
(12, 'phpbb_youtube', 'profilefields.type.string', 'phpbb_youtube', '20', '3', '60', '', '', '[a-zA-Z][\\w\\.,\\-]+', 0, 0, 0, 0, 1, 12, 1, 1, 0, 1, 1, 1, 'VIEW_YOUTUBE_CHANNEL', 'http://youtube.com/user/%s'),
(13, 'phpbb_googleplus', 'profilefields.type.googleplus', 'phpbb_googleplus', '20', '3', '255', '', '', '[a-zA-Z0-9]+', 0, 0, 0, 0, 1, 13, 1, 1, 0, 1, 1, 1, 'VIEW_GOOGLEPLUS_PROFILE', 'http://plus.google.com/%s');
Geht das?

PS: Wenn nicht,

dann bitte erst das:

Code: Alles auswählen

CREATE TABLE IF NOT EXISTS `phpbb_profile_fields` (
  `field_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `field_name` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_type` varchar(100) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_ident` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_length` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_minlen` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_maxlen` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_novalue` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_default_value` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_validation` varchar(64) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_required` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_show_on_reg` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_hide` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_no_view` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_order` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `field_show_profile` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_show_on_vt` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_show_novalue` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_show_on_pm` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_show_on_ml` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_is_contact` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `field_contact_desc` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `field_contact_url` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  PRIMARY KEY (`field_id`),
  KEY `fld_type` (`field_type`),
  KEY `fld_ordr` (`field_order`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=14 ;
und dann den Code von oben.

Danach mal das Update erneut probieren.

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 15.11.2015 23:09
von abelius-kiel
Danke schön.

Zwischenzeitlich hier die richtige (gefüllte) Tabelle zur Ansicht: https://www.phpbb.de/support/pastebin.p ... iew&s=1547

LG
Kai

Nachtrag:

Der zweite von Dir, Blackhawk, gezeigte Befehl funktioniert, der erste leider nicht. Es kommt immer die Fehlermeldung:

Code: Alles auswählen

MySQL meldet: Dokumentation

#1054 - Unknown column 'field_show_on_pm' in 'field list' 
 SQL-Befehl(e) in Datenbank dbXXXXXXXXX ausführen:

Re: Richte Daten ein: \phpbb\db\migration\data\v310\profilef

Verfasst: 16.11.2015 08:19
von Charlie_M
Da die DB von einer älteren, "bereinigten" PHPBB-Version kommt würde ich Dr. Deaths Methode anwenden:
viewtopic.php?p=1324742#p1324742

Grund:
Ich denke daß HIER iwas schief gelaufen ist.

Ein Versuch wäre es wert...