Seite 1 von 1

Probleme beim Update

Verfasst: 23.03.2011 15:56
von Luuq
Hallo Leute,

seit kurzem versuche ich mein Forum auf den neusten Stand zu bringen. Aber immer wieder kommt es zu folgendem Fehler:
Die Datenbank wird auf die neueste Version aktualisiert

Code: Alles auswählen

Datenbanktyp :: mysql4
Vorherige Version :: 3.0.7-PL1
Aktualisierte Version :: 3.0.8


Datenbankstruktur wird aktualisiert

Fortschritt :: Kein Update notwendig


Daten werden aktualisiert

Fortschritt :: . . . . . . . . . . SQL ERROR [ mysql4 ]

Unknown column 'user_robbery_pm' in 'field list' [1054]

SQL

INSERT INTO phpbb_users (username, username_clean, user_password, user_pass_convert, user_email, user_email_hash, group_id, user_type, user_permissions, user_timezone, user_dateformat, user_lang, user_style, user_actkey, user_ip, user_regdate, user_passchg, user_options, user_new, user_points, user_robbery_pm, user_inactive_reason, user_inactive_time, user_lastmark, user_lastvisit, user_lastpost_time, user_lastpage, user_posts, user_dst, user_colour, user_occ, user_interests, user_avatar, user_avatar_type, user_avatar_width, user_avatar_height, user_new_privmsg, user_unread_privmsg, user_last_privmsg, user_message_rules, user_full_folder, user_emailtime, user_notify, user_notify_pm, user_notify_type, user_allow_pm, user_allow_viewonline, user_allow_viewemail, user_allow_massemail, user_sig, user_sig_bbcode_uid, user_sig_bbcode_bitfield, user_form_salt) VALUES ('Bing [Bot]', 'bing [bot]', '', 0, '', '00', '6', 2, '', 0, 'D j. M Y, H:i', 'de', '6', '', '', 1300891865, 1300891865, 1919, 0, 0, '', 0, 0, 1300891865, 0, 0, '', 0, 0, '9E8DA7', '', '', '', 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 1, 0, 1, 1, 1, 0, '', '', '', '886da97bf7e57788')

BACKTRACE

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

FILE: includes/functions_user.php
LINE: 273
CALL: dbal_mysql->sql_query()

FILE: install/database_update.php
LINE: 1781
CALL: user_add()

FILE: install/database_update.php
LINE: 398
CALL: change_database_data()
Ich habe leider echt keine Ahnung woran das liegt.
Ich hatte bisher nie Probleme, auch beim benutzen des Forum.

Wenn ich den Debug-Mode anschalte kommt folgende Fehlermeldung:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1074: Undefined variable: pointslock
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1075: Undefined variable: banklock
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1076: Undefined variable: has_account
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1186: Undefined variable: pointslock
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1187: Undefined variable: banklock
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1188: Undefined variable: has_account
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 69: Undefined index: user_permissions
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 387: Undefined index: user_type
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1605: Undefined index: pb_holding
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 757: Undefined index: display_t_inviter
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 761: Undefined index: display_p_inviter
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4408: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3526)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4410: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3526)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4411: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3526)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4412: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3526)
Ich bin die Anleitungen vom Ultimate Points MOD, Shop MOD und Invite a friend MOD durchgegangen. Ist alles richtig verbaut.

Ich hoffe, es kann einer helfen.

Gruß,
Luuq

Re: Probleme beim Update

Verfasst: 23.03.2011 17:20
von Würzi
Moin,

das Unknown column 'user_robbery_pm' in 'field list' [1054] besagt eine Komplikation mit Ultimate Points. Ich vermute du nutzt die Version 1.1.0, hast du bei dem Update zu 1.1.0 auch die install_ultimate_points.php aufgerufen? Weil da wird eigentlich das Feld user_robbery_pm angelegt (sowie übrigens auch andere).


Mfg dat Wuerzi

Re: Probleme beim Update

Verfasst: 23.03.2011 17:33
von Luuq
Hi,

hab wohl beim Update vergessen die Datei auszuführen.
Nun erscheint folgende Meldung:

Code: Alles auswählen

Daten werden aktualisiert

Fortschritt ::
UPDATE phpbb_extension_groups SET group_name = 'ARCHIVES' WHERE group_name = 'Archiv-Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'DOCUMENTS' WHERE group_name = 'Dokumente'
.
UPDATE phpbb_extension_groups SET group_name = 'DOWNLOADABLE_FILES' WHERE group_name = 'Herunterladbare Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'FLASH_FILES' WHERE group_name = 'Flash-Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'IMAGES' WHERE group_name = 'Bilder'
.
UPDATE phpbb_extension_groups SET group_name = 'PLAIN_TEXT' WHERE group_name = 'Text-Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'QUICKTIME_MEDIA' WHERE group_name = 'QuickTime-Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'REAL_MEDIA' WHERE group_name = 'RealMedia-Dateien'
.
UPDATE phpbb_extension_groups SET group_name = 'WINDOWS_MEDIA' WHERE group_name = 'Windows Media-Dateien'
.
UPDATE phpbb_modules SET module_auth = 'cfg_allow_avatar && (cfg_allow_avatar_local || cfg_allow_avatar_remote || cfg_allow_avatar_upload || cfg_allow_avatar_remote_upload)' WHERE module_class = 'ucp' AND module_basename = 'profile' AND module_mode = 'avatar'
. SQL ERROR [ mysql4 ]

Incorrect integer value: '' for column 'user_robbery_pm' at row 1 [1366]

SQL

INSERT INTO phpbb_users (username, username_clean, user_password, user_pass_convert, user_email, user_email_hash, group_id, user_type, user_permissions, user_timezone, user_dateformat, user_lang, user_style, user_actkey, user_ip, user_regdate, user_passchg, user_options, user_new, user_points, user_robbery_pm, user_inactive_reason, user_inactive_time, user_lastmark, user_lastvisit, user_lastpost_time, user_lastpage, user_posts, user_dst, user_colour, user_occ, user_interests, user_avatar, user_avatar_type, user_avatar_width, user_avatar_height, user_new_privmsg, user_unread_privmsg, user_last_privmsg, user_message_rules, user_full_folder, user_emailtime, user_notify, user_notify_pm, user_notify_type, user_allow_pm, user_allow_viewonline, user_allow_viewemail, user_allow_massemail, user_sig, user_sig_bbcode_uid, user_sig_bbcode_bitfield, user_form_salt) VALUES ('Bing [Bot]', 'bing [bot]', '', 0, '', '00', '6', 2, '', 0, 'D j. M Y, H:i', 'de', '6', '', '', 1300897864, 1300897864, 1919, 0, 0, '', 0, 0, 1300897864, 0, 0, '', 0, 0, '9E8DA7', '', '', '', 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 1, 0, 1, 1, 1, 0, '', '', '', '0e9307706e46057f')

BACKTRACE

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

FILE: includes/functions_user.php
LINE: 273
CALL: dbal_mysql->sql_query()

FILE: install/database_update.php
LINE: 1781
CALL: user_add()

FILE: install/database_update.php
LINE: 398
CALL: change_database_data()

Habe echt keine Ahnung woran das liegt.
Ich hoffe du kannst helfen.

Gruß,
Luuq

Re: Probleme beim Update

Verfasst: 23.03.2011 18:09
von Würzi
Weiss nicht, ob ich helfen kann bin grad auf der Arbeit. :lol:

Was steht denn in der: includes/functions_user.php Zeile 273?

Hast du diesen Eintrag so drin?

Code: Alles auswählen

'user_robbery_pm'		=> 1,

Re: Probleme beim Update

Verfasst: 23.03.2011 18:26
von Luuq
Hi,

der Eintrag ist drinne.
In der Zeile ist folgender Code:

Code: Alles auswählen

	$sql = 'INSERT INTO ' . USERS_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary);
Gruß,
Luuq

Re: Probleme beim Update

Verfasst: 25.03.2011 14:27
von Luuq
Hallo,

keiner eine Idee?

Gruß,
Luuq