Verfasst: 01.10.2005 00:13
ja ..Markus67 hat geschrieben:
Kam der Fehler erst mit dem Einbau des Kalenders?
2 und 3 sind noch nicht installiert ...
also wenn "du" den -->

hilfe

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
ja ..Markus67 hat geschrieben:
Kam der Fehler erst mit dem Einbau des Kalenders?
Code: Alles auswählen
ALTER TABLE phpbb_topics ADD topic_calendar_time INT(11);
ALTER TABLE phpbb_topics ADD topic_calendar_duration INT(11);
ALTER TABLE phpbb_topics ADD INDEX (topic_calendar_time);
ALTER TABLE phpbb_auth_access ADD auth_cal TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_forums ADD auth_cal TINYINT(2) DEFAULT '0' NOT NULL;
UPDATE phpbb_auth_access SET auth_cal = auth_sticky;
UPDATE phpbb_forums SET auth_cal = auth_sticky;
Code: Alles auswählen
#-----[ SQL ]-------------------------------------------------
#
# This part is optional : do it only if you want your users to be able to choose their setup
# if you want so, you'll have to install the MOD-mods_settings mod included in the pack
#
ALTER TABLE phpbb_users ADD user_calendar_display_open TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_header_cells TINYINT(1) DEFAULT '7' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_week_start TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_nb_row TINYINT(2) UNSIGNED DEFAULT '5' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_birthday TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_forum TINYINT(1) DEFAULT '1' NOT NULL;
#
Code: Alles auswählen
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_calendar_time, topic_calendar_duration, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_calendar_time, $topic_calendar_duration, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type, topic_calendar_time = $topic_calendar_time, topic_calendar_duration = $topic_calendar_duration " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";
was für möglichkeiten könnte ich denn testen ? ..das liegt an der Zeile aus der functions_post.php
Code:Code: Alles auswählen
$sql = ($mode != "editpost") ? "INSERT INTO " . TOPICS_TABLE . " (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_calendar_time, topic_calendar_duration, topic_vote) VALUES ('$post_subject', " . $userdata['user_id'] . ", $current_time, $forum_id, " . TOPIC_UNLOCKED . ", $topic_type, $topic_calendar_time, $topic_calendar_duration, $topic_vote)" : "UPDATE " . TOPICS_TABLE . " SET topic_title = '$post_subject', topic_type = $topic_type, topic_calendar_time = $topic_calendar_time, topic_calendar_duration = $topic_calendar_duration " . (($post_data['edit_vote'] || !empty($poll_title)) ? ", topic_vote = " . $topic_vote : "") . " WHERE topic_id = $topic_id";