Seite 1 von 2

Fehler meldung beim Download Mod

Verfasst: 14.04.2004 18:26
von Patrickpb
Fatal error: Call to undefined function: bcdiv() in /home/www/ncg192/html/forum/admin/admin_dl_files.php on line 311
Diese Fehlermeldung bekomme ich, wenn ich eine Datei zum Download eintragen will!!!!

Mod Titel: DlMod
Mod Version: 2.1.2
phpBB- Version: 2.0.x
Datum: 21.05.2003/15:55
Autor: Hotschi

Weiss jemand, woran das liegen könnte?

Verfasst: 14.04.2004 18:50
von Henne

Verfasst: 14.04.2004 19:03
von Patrickpb
Hab ich jetzt getan, jetzt bekomme ich diese Fehlermeldung
Warning: main(): Unable to access ./includes/functions_dl_bcmath.php in /home/www/ncg192/html/forum/downloads.php on line 10

Warning: main(./includes/functions_dl_bcmath.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /home/www/ncg192/html/forum/downloads.php on line 10

Verfasst: 14.04.2004 19:46
von Henne
Ist die Datei functions_dl_bcmath.php denn im richtigen Verzeichnis vorhanden und auch vollständig hochgeladen?

Verfasst: 14.04.2004 19:47
von Patrickpb
Ich hab die in Includes reinkopiert!!!

Hab
<?php
function bcmul($a, $b, $scale)
{
$r = $a * $b;
for ( $i=0; $i < $scale; $i++);
$r = 10 * $r;
$r = ((int) $r);
for ( $i=0; $i < $scale; $i++);
$r = 0.1 * $r;
return $r;
}

function bcdiv($a, $b, $scale)
{
$r = $a / $b;
for ( $i=0; $i < $scale; $i++);
$r = 10 * $r;
$r = ((int) $r);
for ( $i=0; $i < $scale; $i++);
$r = 0.1 * $r;
return $r;
}

?>
drin stehen!!!

Verfasst: 14.04.2004 19:54
von Henne
und wie heißt die Datei im ./includes/ Verzeichnis bei dir?

Verfasst: 14.04.2004 20:04
von Patrickpb
function_dl_bcmath.php

Verfasst: 14.04.2004 20:09
von Henne
Dann schau dir nochmal die Fehlermeldung an... :)

*GlücksradDreh* Ich nehme ein S, wie Siegfried... :D

Verfasst: 14.04.2004 20:16
von Patrickpb
Danke, jetzt gehts, aber ein Fehler kommt trotzdem noch
Warning: Cannot modify header information - headers already sent by (output started at /home/www/ncg192/html/forum/includes/functions_dl_bcmath.php:24) in /home/www/ncg192/html/forum/includes/page_header.php on line 515

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ncg192/html/forum/includes/functions_dl_bcmath.php:24) in /home/www/ncg192/html/forum/includes/page_header.php on line 517

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ncg192/html/forum/includes/functions_dl_bcmath.php:24) in /home/www/ncg192/html/forum/includes/page_header.php on line 518

Verfasst: 14.04.2004 20:27
von Henne