Seite 2 von 3

Verfasst: 03.11.2005 10:24
von Markus67
Hi ...

In der functions_post.php und auch in der functions_selects.php kann ich nichts von dem MOD finden ... da fehlen die ganzen Einträge.

Da solltest du die Installationsanleitung nochmal durchgehen. :wink:

Markus

Verfasst: 03.11.2005 10:29
von DreamPromise
Markus67 hat geschrieben:kann ich nichts von dem MOD finden ... da fehlen die ganzen Einträge.

Da solltest du die Installationsanleitung nochmal durchgehen. :wink:

Markus
Meinst du den Archive MOD ?

Verfasst: 03.11.2005 10:32
von Markus67
DreamPromise hat geschrieben:
Markus67 hat geschrieben:kann ich nichts von dem MOD finden ... da fehlen die ganzen Einträge.

Da solltest du die Installationsanleitung nochmal durchgehen. :wink:

Markus
Meinst du den Archive MOD ?
jep ... genau den ... daher kommt auch die Fehlermeldung wenn du versuchst einen Beitrag zu löschen.

Markus

Verfasst: 03.11.2005 10:32
von DreamPromise
ok..ich schau gleich mal nach...

Verfasst: 03.11.2005 11:15
von DreamPromise
Also diese MOD bringt mich noch ins Grab :oops: :oops: :oops:

Hab alles noch mal kontrolliert...hab auch einiges geändert.

Aber nun kommt :

Code: Alles auswählen

Parse error: parse error, unexpected T_CASE in /www/htdocs/w0056704/posting.php on line 635
posting.php

Verfasst: 03.11.2005 14:05
von Markus67
Hi ...

das hier ist die Stelle wo es klemmt .... wo kommt das her?
Hast du eine Ahung welcher MOD das eingefügt hat?

Code: Alles auswählen

	submit_post($mode, $post_data, $return_message, $return_meta, $forum_id, $topic_id, $post_id, $poll_id, $topic_type, $bbcode_on, $html_on, $smilies_on, $attach_sig, $bbcode_uid, str_replace("\'", "''", $username), str_replace("\'", "''", $subject), str_replace("\'", "''", $message), str_replace("\'", "''", $poll_title), $poll_options, $poll_length);
		case 'newtopic':
		case 'reply':
			$username = ( !empty($HTTP_POST_VARS['username']) ) ? $HTTP_POST_VARS['username'] : '';
			$subject = ( !empty($HTTP_POST_VARS['subject']) ) ? trim($HTTP_POST_VARS['subject']) : '';
			$message = ( !empty($HTTP_POST_VARS['message']) ) ? $HTTP_POST_VARS['message'] : '';
			$poll_title = ( isset($HTTP_POST_VARS['poll_title']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_title'] : '';
			$poll_options = ( isset($HTTP_POST_VARS['poll_option_text']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_option_text'] : '';
			$poll_length = ( isset($HTTP_POST_VARS['poll_length']) && $is_auth['auth_pollcreate'] ) ? $HTTP_POST_VARS['poll_length'] : '';
			$bbcode_uid = '';

			prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);

			if ( $error_msg == '' )
			{
				$topic_type = ( $topic_type != $post_data['topic_type'] && !$is_auth['auth_sticky'] && !$is_auth['auth_announce'] ) ? $post_data['topic_type'] : $topic_type;

if ($lock_subject)
{
	$url = "<a href='viewtopic.$phpEx?" . POST_POST_URL . "=" .$lock_subject."#".$lock_subject."'> ";
	$message = addslashes(sprintf($lang['Link_to_post'],$url,"</a>")).$message;
}
Markus

Verfasst: 03.11.2005 14:23
von DreamPromise
hmmm...also funktionieren tut es ohne diesen Zeilen.

Ich hab die mal auskommentiert.
Aber ich hab keine Ahnung wozu die gehören.

Mal sehen ob in laufe der Zeit mal ne Fehlermeldung kommt.
Dann weiss ich wozu die Zeilen gehören.

Vielen Danke esrtmal für deine Ausdauer...

DP

Verfasst: 03.11.2005 19:21
von DreamPromise
Moin moin

ahaaaa..da ist die Meldung.
Sie kommt wenn man einen Beitrag abschickt.

Code: Alles auswählen

Error in posting

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 ' forum_topics = forum_topics + 1 WHERE forum_id = 3' at line

UPDATE forum_forums SET forum_posts = forum_posts + 1, forum_last_post_id = , forum_topics = forum_topics + 1 WHERE forum_id = 3

Line : 505
File : functions_post.php
functions_post

Verfasst: 03.11.2005 21:00
von Markus67
Hi ...

Nutzt du schon die 2.0.18 oder noch 2.017 ?

Markus

Verfasst: 03.11.2005 22:09
von DreamPromise
Ich hab schon auf 18 geuppt.....
Schon nachdem ich gesehen hab das es eine 18er Version gibt.