phpBB Calendar 0.1.0 (alightner)

Pomoc w przypadku kłopotów z modyfikacjami: instalacją, konfiguracją, błędami. Zakładając nowy temat pamiętaj o odpowiednim prefiksie!
Regulamin forum
Na tym forum wymagane jest stosowanie prefiksów w tytułach tematów. Prefiks tematu musi składać się nazwy modyfikacji, której dotyczy problem. Dla modyfikacji phpBB Gallery poprawna nazwa tematu to przykładowo [phpBB Gallery] Problem z wgrywaniem zdjęć. Tematy niespełniające wymogu będą przenoszone do kosza.
MysticTroloq
Posty: 13
Rejestracja: 10 października 2010, 20:09

phpBB Calendar 0.1.0 (alightner)

Post autor: MysticTroloq » 20 października 2010, 16:14

Witam. Próbowałem wgrać tego moda pod forum phpbb3 3.0.7 przez Automoda lecz wyskakują dwa problemy z bazą danych:

Kod: Zaznacz cały

Błąd:Duplicate entry 'a_calendar' for key 'auth_option'
/* WARNING: do NOT execute the SQL commands on the phpbb_acl_options table more than once if you're upgrading or trying to repair a previous installation of the calendar mod. Executing this command more than once will add duplicate entries to the table breaking your current permissions and causing the calendar to malfunction */ INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('a_calendar', 1, 0, 0), ('m_calendar_edit_other_users_events', 1, 0, 0), ('m_calendar_delete_other_users_events', 1, 0, 0), ('u_calendar_view_events', 1, 0, 0), ('u_calendar_edit_events', 1, 0, 0), ('u_calendar_delete_events', 1, 0, 0), ('u_calendar_create_public_events', 1, 0, 0), ('u_calendar_create_group_events', 1, 0, 0), ('u_calendar_create_private_events', 1, 0, 0), ('u_calendar_nonmember_groups', 1, 0, 0), ('u_calendar_track_rsvps', 1, 0, 0), ('u_calendar_allow_guests', 1, 0, 0), ('u_calendar_view_headcount', 1, 0, 0), ('u_calendar_view_detailed_rsvps', 1, 0, 0), ('u_calendar_create_recurring_events', 1, 0, 0), ('m_calendar_edit_other_users_rsvps', 1, 0, 0)

Kod: Zaznacz cały

Błąd:Duplicate entry '1' for key 'PRIMARY'
INSERT INTO `phpbb_calendar_event_types` (`etype_id`,`etype_index`,`etype_full_name`,`etype_display_name`,`etype_color`,`etype_image`) VALUES (1,1,'Generic Event','','','')
Po wymuszeniu instalacji zamiast indexu wyskakuje:

Kod: Zaznacz cały

Błąd ogólny
SQL ERROR [ mysqli ]

Unknown column 'group_id_list' in 'where clause' [1054]

SQL

SELECT * FROM phpbb_calendar_events WHERE ( (event_access_level = 2) OR (poster_id = 2 ) OR (event_access_level = 1 AND (group_id = 8 OR group_id_list LIKE '%,8,%' OR group_id = 5 OR group_id_list LIKE '%,5,%' OR group_id = 4 OR group_id_list LIKE '%,4,%' OR group_id = 2 OR group_id_list LIKE '%,2,%') ) ) AND ((( event_start_time >= 1287587336 AND event_start_time <= 1319123336 ) OR ( event_end_time > 1287587336 AND event_end_time <= 1319123336 ) OR ( event_start_time < 1287587336 AND event_end_time > 1319123336 )) OR (sort_timestamp > 1287500937 AND event_all_day = 1) ) ORDER BY sort_timestamp ASC LIMIT 5

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: includes/functions_calendar.php
LINE: 1283
CALL: dbal->sql_query_limit()

FILE: includes/functions_calendar.php
LINE: 1244
CALL: display_next_events()

FILE: index.php
LINE: 114
CALL: calendar_display_calendar_on_index()
Domyślam się że problem podczas instalacji polega na tym że automod nie może nadpisać wpisu w bazie. Sprawdziłem więc bazę i te dane się w niej znajdują, stąd nie wiem gdzie leży problem. Kolejnym problemem jest to że jestem zielony w temacie php i sql dlatego poprosił bym Was o pomoc w rozwiazaniu tego problemu.

Zablokowany

Wróć do „Pomoc”