Seite 7 von 34

Verfasst: 18.07.2008 19:43
von 4seven
So, PN's sind raus.

Falls ich wen vergessen habe oder noch wer mag, dann bitte per PN anfragen.

lg - 4seven

Verfasst: 18.07.2008 21:41
von chiana1
Fehlermeldung:

[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_1
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_2
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_3
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_4
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_5
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_6
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_7
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_8

Nach Einbau, SQL, leeren des Cache und update der Templates

[edit] achja... kommt beim Aufruf der PN Einstellungen im ACP

Verfasst: 18.07.2008 21:46
von chiana1
Nächste Fehlermeldung:

Code: Alles auswählen

Allgemeiner Fehler
SQL ERROR [ mysql4 ]

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

SQL

UPDATE phpbb_users SET user_sound_pm = 1, user_sound_pm_file = '', user_allow_pm = 1, user_allow_viewemail = 1, user_allow_massemail = 1, user_allow_viewonline = 1, user_notify_type = '0', user_notify_pm = 1, user_options = '895', user_dst = 1, user_dateformat = 'j. M Y, H:i', user_lang = 'de', user_timezone = 1, user_style = '5' WHERE user_id = 2

BACKTRACE

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

FILE: includes/ucp/ucp_prefs.php
LINE: 103
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: ucp_prefs->main()

FILE: ucp.php
LINE: 310
CALL: p_master->load_active()
Kommt beim Versuch Sound at PM im UCP zu aktivieren.
Das Feld zum auswählen der Sounddateien ist übrigens nur ca. 0,5 cm groß und leer.

Verfasst: 18.07.2008 21:52
von chiana1
Mein System:
phpBB 3.0.2 modifiziert (keine der Daten die eingebaut wurden waren modifiziert)
Ein auf Subsilver II basierender Style.
MYSQL 4
PHP 5.2.5
Dedicated Server

Cache wurde geleert, Styles aktualisiert, SQL eingebaut (mysqldumper)

Verfasst: 18.07.2008 22:05
von HEADLINE
Okay, ich hab mich jetzt auch mal daran versucht und bekomme beim aktivieren im persönlichen Bereich fast die gleiche Fehlermeldung:

Code: Alles auswählen

SQL ERROR [ mysql4 ]

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

SQL

UPDATE phpbb_users SET user_sound_pm = 1, user_sound_pm_file = '', user_allow_pm = 1, user_allow_viewemail = 1, user_allow_massemail = 1, user_allow_viewonline = 1, user_notify_type = '0', user_notify_pm = 1, user_options = '1919', user_dst = 1, user_dateformat = 'D j. M Y, H:i', user_lang = 'de', user_timezone = 1, user_style = '7' WHERE user_id = 2

BACKTRACE
1. 
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/ucp/ucp_prefs.php
LINE: 100
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: ucp_prefs->main()

FILE: ucp.php
LINE: 311
CALL: p_master->load_active()
Das Feld für die Sounds auszuwählen fehlt!

Gebe ich jetzt zum Beispiel in das Feld "Hier die Sound Nr. eingeben" `ne 1 ein, bekomme ich die Meldung nicht, spielt aber trotzdem beim Eingang einer PN nicht den 1. Sound ab.

Im ACP sieht alles gut aus! :grin:

*******

Verwendete Version: phpBB 3.0.2
Style basierend auf subsilver2

Verfasst: 18.07.2008 22:14
von chiana1
Mir ist noch was aufgefallen:

Gebe ich im UCP eine Soundnummer ein und ändere gleichzeitig die Einstellung von nein auf ja, kommt keine Fehlermeldung. Die Einstellung wird aber nicht gespeichert. Beim nächsten Aufrufen ist die Einstellung wieder auf nein und das Feld mit der Nummer ist leer.

Das ACP Modul geht bei mir nicht (siehe Fehlermeldung oben)

Verfasst: 18.07.2008 22:26
von 4seven
muss nochmal die anleitung überprüfen.

edit: habe ganz den eintrag in der ucp_pm_popup.html vergessen, update folgt.

frage: der grundsätzliche sql import müsste aber gehen.
ich hab ihn via mysqldumper eingefügt. check das aber nochmal via mysql

Verfasst: 18.07.2008 22:27
von 4seven
chiana1 hat geschrieben:Fehlermeldung:

[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_1
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_2
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_3
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_4
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_5
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_6
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_7
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: pm_sound_file_8
hast du debug per config.php aktiviert?

bei welcher aktion kommt diese meldung?
auf welcher seite?

p.s.: wenn sie bei aktiviertem debug kommt, dann ist es logisch, weil nichts eingetragen ist. fange sie dann ab.

Verfasst: 18.07.2008 22:29
von 4seven
habt ihr de präfix angepasst?

Code: Alles auswählen

#
#-----[ SQL ]------------------------------------------ NOTE! - Change your Prefix: phpbb*_users
#-------------------------------------------------------------------------------------------------
#------------------------------------------------------ For direct Import see contrib/sound_at_pm.sql

ALTER TABLE phpbb3_users ADD COLUMN `user_sound_pm` tinyint(1) unsigned NOT NULL default '0';
ALTER TABLE phpbb3_users ADD COLUMN `user_sound_pm_file` tinyint(1) unsigned NOT NULL default '1';
der befehl muss auf oberster sql-ebene ausgeführt werden. nicht im tabellenbereich users...

Verfasst: 18.07.2008 22:31
von HEADLINE
Ja, bei mir ist das: phpbb_users

Ihr SQL-Befehl wurde erfolgreich ausgeführt.

ALTER TABLE phpbb_users ADD COLUMN `user_sound_pm` tinyint(1) unsigned NOT NULL default '0';# Betroffene Datensätze: 163

ALTER TABLE phpbb_users ADD COLUMN `user_sound_pm_file` tinyint(1) unsigned NOT NULL default '1';# Betroffene Datensätze: 163