Seite 1 von 1

Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:14
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()

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:18
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?

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:20
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.

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:28
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.

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:33
von tbkevin2
Hallo,dank Dir das leuchtet ein, aber wie führe ich den install/database_update.php denn durch?

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:35
von Dufftown

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:38
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

Re: Fehler beim Update von 3.0.2 auf 3.0.5

Verfasst: 02.07.2009 19:43
von tbkevin2
Hi, glaube ich habs hinbekommen, 'Vielen Dank Euch allen!