Seite 1 von 1

[Erledigt] Fehler nach RPG-Mod einbau.

Verfasst: 20.08.2006 11:55
von Xaez
Hallo ich habe folgenden Fehler, wenn ich ein Thema erstellen will:

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 ' 0, 1, 0)' at line 1

INSERT INTO rpg_topics (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type, topic_vote) VALUES ('asd', 2, 1156067617, , 0, 1, 0)

Line : 227
File : functions_post.php
Ich weiß das ich einen Fehler in der postings.php habe.
Der Fehler lautet:
[48] Fatal error: Call to undefined function mysql_connect()
Hier die 10 zeilen davor und die 10 dannach (aus der posting.php)

Code: Alles auswählen

                $$var = ( !empty($HTTP_POST_VARS[$param]) ) ? htmlspecialchars($HTTP_POST_VARS[$param]) : htmlspecialchars($HTTP_GET_VARS[$param]);
        }
        else
        {
                $$var = '';
        }
}

$confirm = isset($HTTP_POST_VARS['confirm']) ? true : false;

// Zeile 48 // $params = array('forum_id' => POST_FORUM_URL, 'topic_id' => POST_TOPIC_URL, 'post_id' => POST_POST_URL);
while( list($var, $param) = @each($params) )
{
        if ( !empty($HTTP_POST_VARS[$param]) || !empty($HTTP_GET_VARS[$param]) )
        {
                $$var = ( !empty($HTTP_POST_VARS[$param]) ) ? intval($HTTP_POST_VARS[$param]) : intval($HTTP_GET_VARS[$param]);
        }
        else
        {
                $$var = '';
        }
Es ist der CBACK RPG-Mod in Version 1.0.1, den ich schon einmal erfolgreich eingebaut habe, allerdings auf einem CBACK Orion.

Auf dem Board sind folgende Mods installiert:
colorize forumtitle 1.0.0 von Oxpus (glaub ich)
confirmation topic 2.0.1 auch von Oxpus
Forum Icon with ACP Control von k.A.
forumtitle as weblink 1.2.1 von (auch) keine Ahnung
Olympus ColorGroup MOD