Seite 1 von 1

Problem mit points mod und Activity mod

Verfasst: 16.07.2004 23:40
von bigthing
Hallo,

Wenn ich im Activity mod die Belohnungsmöglichkeit in Form des Points mod´s verwenden will bekomme ich die Fehlermeldung
Warning: main(./includes/functions_points.php): failed to open stream: No such file or directory in /home/bu017ged/www/home/forum/activity.php on line 58
und dann noch jede menge die sich immer auf die /includes/functions_points.php beziehen.

Es war aber mit sicherheit keine fuctions_points.php im Hack dabei.

Bitte euch um Hilfe.
lg Franz

Verfasst: 16.07.2004 23:57
von Leuchte
Diese Einstellungsmöglichkeiten beziehen sich auch darauf, dass der Mod bereits installiert ist.

Verfasst: 17.07.2004 06:42
von bigthing
und zwar tritt der Fehler ganz genau auf, wenn ich im ACP Games Configuration einen Belohnungsmod auswähle und dann meinen Pointsmod anklicke.

lg Franz

Verfasst: 17.07.2004 16:32
von bigthing
so jetzt habe ich mir die functions.php besorgt und dazugeladen.
Jetzt bekomme ich aber einen anderen Fehlercode wenn der Highscore erreicht wird :

Could not update user's points

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '' at line 3

UPDATE phpbb_users SET user_points = user_points + 127.67 WHERE user_id =

Line : 85
File : /home/bu017ged/www/home/forum/includes/functions_points.php
das müßte eigentlich der Teil sein, wo der points update durchgeführt wird.
function add_points($user_id, $amount)
{
global $db;

$sql = "UPDATE " . USERS_TABLE . "
SET user_points = user_points + $amount
WHERE user_id = $user_id";
if (!$db->sql_query($sql))
{
message_die(GENERAL_ERROR, "Could not update user's points", '', __LINE__, __FILE__, $sql);
}

return;
}
was könnte da falsch sein?

lg franz

Verfasst: 18.07.2004 09:03
von bigthing
wirklich niemand eine Idee??

schade

Verfasst: 19.07.2004 17:50
von bigthing
bitte um Hiiiiiiiilfe. :(