Seite 1 von 1

Probleme nach installation von mycalendar mod

Verfasst: 19.02.2007 00:16
von pyromanin
Hallo,

Habe versucht den mycalendar mod zu installieren.

www.diplomarbeitschreiben.at/phpBB2/

Oberflächlich gesehen scheint das Ding zu funktionieren, allerdings kann ich topics nichtmehr ansehen:

Code: Alles auswählen

Fatal error: Call to undefined function: mycal_show_event() in /nfs/web/users/huber621/www/phpBB2/viewtopic.php on line 1196
in dieser Zeile steht:
$message = mycal_show_event($topic_id, $postrow[$i]['post_id'], $message);
bzw im kontext:

Code: Alles auswählen

	//
	// Again this will be handled by the templating
	// code at some point
	//
	$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
	$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
	$message = mycal_show_event($topic_id, $postrow[$i]['post_id'], $message);
	$template->assign_block_vars('postrow', array(
		'ROW_COLOR' => '#' . $row_color,
              'ROW_CLASS' => $row_class,
		'POSTER_NAME' => $poster
bzw wenn ich ein neues thema erstellen will, kommt das:

Code: Alles auswählen

Fatal error: Call to undefined function: mycal_generate_entry() in /nfs/web/users/huber621/www/phpBB2/posting.php on line 1031
die zeile dazu:

Code: Alles auswählen

include($phpbb_root_path . 'includes/page_header.'.$phpEx);mycal_generate_entry($mode, $forum_id, $topic_id, $post_id, $template);
bzw im kontext:

Code: Alles auswählen

// Generate smilies listing for page output
generate_smilies('inline', PAGE_POSTING);

//
// Include page header
//
include($phpbb_root_path . 'includes/page_header.'.$phpEx);mycal_generate_entry($mode, $forum_id, $topic_id, $post_id, $template);

$template->set_filenames(array(
	'body' => 'posting_body.tpl', 
	'pollbody' => 'posting_poll_body.tpl', 
	'reviewbody' => 'posting_topic_review.tpl')
);
make_jumpbox('viewforum.'.$phpEx);

$template->assign_vars(array(
	'FORUM_NAME' => $forum_name,
	'L_POST_A' => $page_title,
	'L_POST_SUBJECT' => $lang['Post_subject'], 

	'U_VIEW_FORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);

würd mich aber freuen, wenn mir jemand sagt, was es mit der fehlermeldung auf sich hat/ wie ich die wieder los werde :)

lg
Anna

Verfasst: 19.02.2007 00:49
von pyromanin

Verfasst: 19.02.2007 07:36
von uwe310
#-------- [ FIND ]------------------------

case 'poll_delete':
delete_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id);

#-------- [ REPLACE WITH ]------------------------

case 'poll_delete':
// we need to do this first just in case it fails...we don't want ghost events
mycal_delete_event($topic_id, $post_id, true);
delete_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id);
Schau noch mal die Anleitung im Fall posting.php durch

#