[3.1] Problem mit dem Datenbank update

Fragen rund um die Installation, Administration und Benutzung von phpBB.
Forumsregeln
Bitte im Thementitel den Präfix deiner phpBB-Version angeben
Antworten
Benutzeravatar
chris1278
Mitglied
Beiträge: 3532
Registriert: 12.11.2007 06:20
Wohnort: Euskirchen
Kontaktdaten:

[3.1] Problem mit dem Datenbank update

Beitrag von chris1278 »

Also Folgendes:

Ich habe ein forum von phpbb 3.0.12 auf 3.0.14 geupdatet. Das hat ohne probleme Funktioniert. Leider komme ich aber ab dort nicht mehr weiter, egal was ich versuche.

Wenn ich auf phpbb 3.1.0 Updaten will meldet der Update erfolgreich mit Datenbank Version 3.0.14 obwohl die Datenbank_update.php von dem Installationspaket für phpbb 3.1.0 aufgerufen habe. Ich gehe vor nach manueller Anleitung der Update Anweisung aus der Knowled Base.

Wenn ich Versuche ein Update direkt auf 3.2.0 oder 3.2.11 zu machen bricht das Datenbank Update bei der Migration von der Style uopdate datei von 3.1 ab mit Rotem Bildschirmmeldung:

Code: Alles auswählen

General Error:SQL ERROR [ mysqli ]Unknown column 'style_path' in 'field list' [1054]SQLSELECT style_path, style_id FROM phpbb_styles in file C:\xampp\56\htdocs\probe\phpbb\db\driver\driver.php on line 999BACKTRACEFILE: (not given by php)LINE: (not given by php)CALL: installer_msg_handler()FILE: [ROOT]/phpbb/db/driver/driver.phpLINE: 999CALL: trigger_error()FILE: [ROOT]/phpbb/db/driver/mysqli.phpLINE: 193CALL: phpbb\db\driver\driver->sql_error()FILE: [ROOT]/phpbb/db/driver/factory.phpLINE: 329CALL: phpbb\db\driver\mysqli->sql_query()FILE: [ROOT]/phpbb/db/migration/data/v31x/style_update.phpLINE: 38CALL: phpbb\db\driver\factory->sql_query()FILE: (not given by php)LINE: (not given by php)CALL: phpbb\db\migration\data\v31x\style_update->update_installed_styles()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 711CALL: call_user_func_array()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 658CALL: phpbb\db\migrator->run_step()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 436CALL: phpbb\db\migrator->process_data_step()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 351CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 288CALL: phpbb\db\migrator->try_apply()FILE: [ROOT]/phpbb/db/migrator.phpLINE: 241CALL: phpbb\db\migrator->update_do()FILE: [ROOT]/phpbb/install/module/update_database/task/update.phpLINE: 160CALL: phpbb\db\migrator->update()FILE: [ROOT]/phpbb/install/module_base.phpLINE: 149CALL: phpbb\install\module\update_database\task\update->run()FILE: [ROOT]/phpbb/install/installer.phpLINE: 219CALL: phpbb\install\module_base->run()FILE: [ROOT]/phpbb/install/controller/update.phpLINE: 133CALL: phpbb\install\installer->run()FILE: (not given by php)LINE: (not given by php)CALL: phpbb\install\controller\update->phpbb\install\controller\{closure}()FILE: [ROOT]/vendor/symfony/http-foundation/StreamedResponse.phpLINE: 113CALL: call_user_func()FILE: [ROOT]/vendor/symfony/http-foundation/Response.phpLINE: 374CALL: Symfony\Component\HttpFoundation\StreamedResponse->sendContent()FILE: [ROOT]/install/app.phpLINE: 57CALL: Symfony\Component\HttpFoundation\Response->send()
Ich weis leider nicht genau wo das Problem liegt. Habe bei phpbb 3.0.12 das stk durchlaufen lassen bis auf die Säuberung der Bots. Das würde ca. 8000 Beiträge löschen. Sonst alles bereinigt.

Hat einer hier vieleicht eine Idee.

Es Wird mit dem Xammp und php 5.6 gearbeitet. Das wäre die Version die bis phpbb 3.2.11 auch geht.
Benutzeravatar
Mike-on-Tour
Supporter
Supporter
Beiträge: 1075
Registriert: 13.01.2020 21:09
Kontaktdaten:

Re: [3.1] Problem mit dem Datenbank update

Beitrag von Mike-on-Tour »

Hast du denn schon mal nachgesehen, ob in der Tabelle phpbb_styles die Spalte style_path vorhanden ist? Er meckert ja, weil die nicht gefunden wird.
In den 3.2.x-Versionen von phpBB sieht die Tabelle phpbb_styles übrigens so aus:

Code: Alles auswählen

# 	Name 		Typ		Kollation 		Attribute 	Null 	Standard 	 Extra
1 	style_id	Primärschlüssel mediumint(8) 		UNSIGNED 	Nein 	kein(e) 	AUTO_INCREMENT
2 	style_name	Index	 	varchar(255) 		utf8_bin 	Nein
3 	style_copyright 		varchar(255)	 	utf8_bin 	Nein 
4 	style_active 			tinyint(1) 		UNSIGNED 	Nein 	1
5 	style_path 			varchar(100)	 	utf8_bin 	Nein
6 	bbcode_bitfield 		varchar(255) 		utf8_bin 	Nein 	kNg=
7 	style_parent_id 		int(4) 			UNSIGNED 	Nein 	0
8 	style_parent_tree 		text 			utf8_bin 	Nein 	kein(e)
Damit solltest du in der Lage sein, die ggf. fehlende Spalte einzufügen bzw. zu reparieren.
Benutzeravatar
chris1278
Mitglied
Beiträge: 3532
Registriert: 12.11.2007 06:20
Wohnort: Euskirchen
Kontaktdaten:

Re: [3.1] Problem mit dem Datenbank update

Beitrag von chris1278 »

Das Problem hat sich erledigt. hab das phpbb8 backup in phpbb 3.0.5 importiert aber nur die Tabellen für Foren User und gruppen Rest Basis. dann update auf 3.0.14. Dann stk und dann die weiteren Updates.

Das Problem ist im Moment ein anderes.

ich kann unter Wartung keine Protokolle löschen obwohl ich Güner bin und alle Admin rechte da sind.
Antworten

Zurück zu „Support-Forum“