Seite 3 von 4

Verfasst: 01.10.2005 00:13
von henrik
Markus67 hat geschrieben:

Kam der Fehler erst mit dem Einbau des Kalenders?
ja ..

2 und 3 sind noch nicht installiert ...

also wenn "du" den --> :-? <-- smilie benutzt .. sh!t
hilfe ;)

Verfasst: 01.10.2005 00:45
von Markus67
Hi ...

lol ... lass dich nicht vom Smilie irritieren :wink:

Hast du den Categories MOD oder den Split Ttopic MOD. Falls nicht rein mit Part 2 & 3 .... und dann bekommen wir den Rest auch noch gebacken :wink:

Markus

Verfasst: 01.10.2005 01:13
von henrik
2 & 3 installiert ... nada :(
same same -- but different 8)

Verfasst: 01.10.2005 02:08
von Markus67
Hi ...

hast du eigentlich die ganzen SQL-Queries die in der Installationsanleitung stehen ausgeführt?

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;
Markus

Verfasst: 01.10.2005 02:17
von henrik
ja die habe ich ausgeführt 8) .. über phpmyadmin

da gibt es ja noch eine möglichkeit

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;
#
die hab ich aber nicht gemacht

technik die begeistert ^^ .. oohhman :(
was könnte man denn noch angehen ?

Verfasst: 01.10.2005 02:19
von Markus67
Hi ...

hast du denn irgendeinen Log Action MOD (oder so ähnlich eingebaut) ... da kann man im Forum des Autors einges über mögliche Fehler lesen.

Markus

Verfasst: 01.10.2005 02:25
von henrik
ne.. hör ich zum erstenmal :grin:
aber ich mach mich mal auf die suche..
neuen mod installieren wenn der von davor nicht funzt :-?

kann es an der DB selbst liegen ? .. also wenn die sql syntax ok ist .. veleicht liegt da das übel .. also hab auch mal drauf geguckt aber mein ungeschultest auge ..tztztz

würde ein blick helfen ?

Verfasst: 01.10.2005 02:36
von Markus67
Hi ...

ich kann mir nicht vorstellen dass es an der DB liegt ...

das liegt an der Zeile aus der functions_post.php

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";
Markus

Verfasst: 05.10.2005 22:33
von henrik
:-? .. also hab mal ein paar tage pause gebraucht ..
hab mich jetzt nochmal schlau gemacht, aber so wirklich "konkrete" hilfe konnte ich nicht finden ..

mir ist halt auch nicht ganz klar wie ich jetzt vorgehen sollte .
der geschriebene code scheint zu stimmen, aber die ausgabe bzw. verarbeitung nicht .

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";
was für möglichkeiten könnte ich denn testen ? ..
diese passage verändern?
verzweiflung pur :(

Verfasst: 16.10.2005 17:43
von henrik
....äähhh.. keine ahnung .. schieb .. :-?

hab nach einem log mod gesucht, aber nur einen gefunden der moderatoren und user protokolliert ... aber keiner der den code prüft .. hhmm

vieleicht hat ja jemand noch ne idee..