Fehler beim Update von 3.0.2 auf 3.0.5

phpBB 3.0 hat sein "End of Life" erreicht. Eine Neu-Installation wird nicht mehr unterstützt.
Gesperrt
tbkevin2
Mitglied
Beiträge: 5
Registriert: 02.07.2009 18:12

Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von tbkevin2 »

Hallo zusammen, kann mir jemand helfen?

Was könnte dies für ein Fehler sein, bin Anfänger und verstehe nur Bahnhof.

Vielen Dank

LG

Kev

Code: Alles auswählen

SQL ERROR [ mysql4 ]

Unknown column 't.template_inherits_id' in 'field list' [1054]

SQL

SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM phpbb3_styles s, phpbb3_styles_template t, phpbb3_styles_theme c, phpbb3_styles_imageset i WHERE s.style_id = 2 AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: includes/session.php
LINE: 1577
CALL: dbal_mysql->sql_query()

FILE: index.php
LINE: 26
CALL: user->setup()
Benutzeravatar
Dufftown
Mitglied
Beiträge: 696
Registriert: 08.12.2008 14:22
Wohnort: Barsinghausen

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von Dufftown »

Moin,


das heisst ganz einfach dass es in Deiner Tabelle phpbb_styles das Feld template_inherits_id nicht existiert.

Wie machst Du denn das Update von 3.0.2 auf 3.0.5?
Meine SQL-Statements sind immer ohne Tabellen-Prefix. Also ggf. "phpbb_" oder Euer Prefix einfügen.
KEIN Support auf unaufgeforderte PN
tbkevin2
Mitglied
Beiträge: 5
Registriert: 02.07.2009 18:12

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von tbkevin2 »

Hi, habe nur die Dateien kopiert, wie hier beschrieben:

Code: Alles auswählen

4.ii. Changed files only
This package is meant for those wanting to only replace changed files from a previous version to the latest version. This package normally contains the changed files from up to five previous versions.

This package contains a number of archives, each contains the files changed from a given release to the latest version. You should select the appropriate archive for your current version, e.g. if you currently have 3.0.2 you should select the phpBB-3.0.2_to_3.0.5.zip/tar.gz file.

The directory structure has been preserved enabling you (if you wish) to simply upload the contents of the archive to the appropriate location on your server, i.e. simply overwrite the existing files with the new versions. Do not forget that if you have installed any MODs these files will overwrite the originals possibly destroying them in the process. You will need to re-add MODs to any affected file before uploading.

As for the other update procedures you should run install/database_update.php after you have finished updating the files. This will update your database schema and increment the version number.

Wo finde ich den die Tabelle phpbb_styles?

Dank Dir schonmal.
Benutzeravatar
Dufftown
Mitglied
Beiträge: 696
Registriert: 08.12.2008 14:22
Wohnort: Barsinghausen

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von Dufftown »

Die ist in der Datenbank, nicht bei den Dateien.

Und wie ist es mit dem letzten ABsatz Deines Textes? Hast Du den install/database_update.php ausgeführt?

Das Problem ist, Du führst jetzt die Dateien vom 3.0.5 aus, aber in der Datenbank vom 3.0.2 gibt es dieses Feld noch nicht. Das muss durch das database_update erst da rein.
Meine SQL-Statements sind immer ohne Tabellen-Prefix. Also ggf. "phpbb_" oder Euer Prefix einfügen.
KEIN Support auf unaufgeforderte PN
tbkevin2
Mitglied
Beiträge: 5
Registriert: 02.07.2009 18:12

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von tbkevin2 »

Hallo,dank Dir das leuchtet ein, aber wie führe ich den install/database_update.php denn durch?
Benutzeravatar
Dufftown
Mitglied
Beiträge: 696
Registriert: 08.12.2008 14:22
Wohnort: Barsinghausen

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von Dufftown »

Meine SQL-Statements sind immer ohne Tabellen-Prefix. Also ggf. "phpbb_" oder Euer Prefix einfügen.
KEIN Support auf unaufgeforderte PN
tbkevin2
Mitglied
Beiträge: 5
Registriert: 02.07.2009 18:12

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von tbkevin2 »

Hi,dann kommt diese Fehlermeldung:

Code: Alles auswählen

Warning: include() [function.include]: Unable to access ./../config.php in /var/www/vhosts/team-berg.de/httpdocs/forum/database_update.php on line 37

Warning: include(./../config.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/team-berg.de/httpdocs/forum/database_update.php on line 37

Warning: include() [function.include]: Unable to access ./../config.php in /var/www/vhosts/team-berg.de/httpdocs/forum/database_update.php on line 37

Warning: include(./../config.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/team-berg.de/httpdocs/forum/database_update.php on line 37

Warning: include() [function.include]: Failed opening './../config.php' for inclusion (include_path='.:.:.:.:.:') in /var/www/vhosts/team-berg.de/httpdocs/forum/database_update.php on line 37
tbkevin2
Mitglied
Beiträge: 5
Registriert: 02.07.2009 18:12

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Beitrag von tbkevin2 »

Hi, glaube ich habs hinbekommen, 'Vielen Dank Euch allen!
Gesperrt

Zurück zu „[3.0.x] Installation, Update und Konvertierung“