dringend hilfe bei mod/sql

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Benutzeravatar
Eves21
Mitglied
Beiträge: 119
Registriert: 16.01.2005 14:03

dringend hilfe bei mod/sql

Beitrag von Eves21 »

Hallo ich installiere gerade das
Topic calendar 1.0.1

ich habe alles ohne Hilfe hinbekommen, aber das da unten,wie mache ich das? (bin nicht ganz fit :P )

Danke


#-----[ SQL ]-------------------------------------------------
#
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;
#
#-----[ 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;
Mario Siebert
Mitglied
Beiträge: 2295
Registriert: 09.12.2003 15:02
Wohnort: Irgendwo im Nirgendwo

Beitrag von Mario Siebert »

http://www.phpbb.de/doku/kb/artikel.php?artikel=122 (siehe "SQL ausführen")

Grüße Mario
Wer gegen eine geringe Gebühr (höhe der Gebühr bestimmst du selbst!!) ein phpBB installiert oder Mods eingebaut haben möchte sollte sich melden unter: netcom_service@gmx.net - Bisherige Aufträge 68.071
Auf Anfrage führe ich auch Reparaturen/Updates und Serverumzüge durch oder baue Mods!
Benutzeravatar
Eves21
Mitglied
Beiträge: 119
Registriert: 16.01.2005 14:03

Beitrag von Eves21 »

ich habe jetzt zwei Probleme

erstens zeigt kein einzigen Beitrag im Forum an.

wenn ich einen Beitrag öffne/sehen will steht dieser Fehler:

----
Could not obtain topic information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, , t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments FROM phpbb_topics t, phpbb_forums f WHERE t.topic_id = 15 AND f.forum_id = t.forum_id

Line : 169
File : /srv/www/htdocs/web44/html/viewtopic.php

___

Der Kalendar an sich ist da aber, bearbeiten kann man es nicht und im AP
ist nur ein Button dazugekommen = Configuration+ heisst es und leider steht dort
Template->make_filename(): Error - file does not exist

Kann mir jemand weiterhelfen?
Danke
XtC
Mitglied
Beiträge: 45
Registriert: 12.01.2005 12:49
Kontaktdaten:

Beitrag von XtC »

Das schon in die DB eingefügt??

Code: Alles auswählen

#-----[ SQL ]-------------------------------------------------
#
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;
#
#-----[ 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;
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

Template->make_filename(): Error - file does not exist
deutet darauf hin, dass die .tpl-datei nicht an ihrem platz ist. ;)

und wenn du dann noch deine viewtopic.php mal als .txt-datei hier verlinken könntest?
KB:datei
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

suche:

Code: Alles auswählen

//-- mod : calendar -------------------------------------------------------------------------------- 
// here we added 
// , t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration 
//-- modify 
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, , t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments" . $count_sql . " 


FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . " 
WHERE $join_sql 
AND f.forum_id = t.forum_id 
$order_sql"; 
//-- fin mod : calendar ---------------------------------------------------------------------------- 
und ersetze mit:

Code: Alles auswählen

//-- mod : calendar -------------------------------------------------------------------------------- 
// here we added 
// , t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration 
//-- modify 
$sql = "SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments" . $count_sql . " 


FROM " . TOPICS_TABLE . " t, " . FORUMS_TABLE . " f" . $join_sql_table . " 
WHERE $join_sql 
AND f.forum_id = t.forum_id 
$order_sql"; 
//-- fin mod : calendar ---------------------------------------------------------------------------- 
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
Benutzeravatar
Eves21
Mitglied
Beiträge: 119
Registriert: 16.01.2005 14:03

Beitrag von Eves21 »

Hallo

hier ist Sie.


[url]http:///viewtopic-ttt.txt[/url]

Danke


ach ok,mach ich sofort :grin:
Zuletzt geändert von Eves21 am 06.08.2006 00:42, insgesamt 1-mal geändert.
Benutzeravatar
Eves21
Mitglied
Beiträge: 119
Registriert: 16.01.2005 14:03

Beitrag von Eves21 »

Hallo

im AP steht jetzt bei --> Configuration+ die Fehlermeldung

Fatal error: Call to undefined function: mods_settings_get_lang() in /srv/www/htdocs/web44/html/admin/admin_board_extend.php on line 326

so viele Zeilen hat die o.g. Datei gar nicht,und ich weiss nicht wo der liegt.Bearbeiten kann man dies jetzt nicht :cry:


(Danke Rabbit, meine Beiträge sind wieder da :) )
Benutzeravatar
Eves21
Mitglied
Beiträge: 119
Registriert: 16.01.2005 14:03

Beitrag von Eves21 »

huhu

kann mir jemand helfen :oops:
Benutzeravatar
rabbit
Ehemaliger Übersetzer
Beiträge: 4199
Registriert: 14.06.2003 22:09
Wohnort: Hildesheim
Kontaktdaten:

Beitrag von rabbit »

die sprach-datei wird nicht an ihrem platz sein... ;)
Offizieller Übersetzer des Categories Hierarchy MOD 2.1.x
Deutscher UserGuide für den Categories Hierarchy MOD v2.1.4
Empfohlener Hoster: All-Inkl.com
Antworten

Zurück zu „phpBB 2.0: Mod Support“