close× Call Us +49 (1805) 01 29 59

Datalus
Thread Author: Vampir190
Thread ID: 1044
Thread Info
Es gibt 37 Beiträge zu diesem Thema, und es wurde 5592 mal angesehen.  Es gibt auch Dateianhänge.
Wer ist hier? 1 Gäste

 Thema drucken
Fehler Meldung (Downloads)
Vampir190
Huhu


Ich schon wieder


Ich hab nen Prob. wenn ich auf Download Klicke kommt Diese fehler Meldung

Parse error: syntax error, unexpected '}' in /data/apache/users/kilu.de/dxl/www/downloads.php on line 45

Was bedeutet das und wie bekomme ich das weg???

Meine HP www.die-legionaere.eu.ki
Bearbeitet von Vampir190 am 02.05.2009 00000005 00:19
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
SC-Ad-Bot
 
Blubba
Wie das weg geht, kann man erst sagen wenn man weiß, was in der Zeile (+ / - 2 davor) steht.

grüße
Chrissi
 
Vampir190
???

Das ist Die Fehler Meldung die er mir wie oben geschrieben Anzeigt...mehr hab ich da nit
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
Vampir190
Mhh welches Programm kann ich ab Besten verwenden damit ich die Zeilen Finde???


Weil ich benutze nur stadart Win Programme......

Könnte mir einer was Kostenloses sagen??
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
Blubba
Der ganz normale Editor.
 
Vampir190
Das Steht Bei mir AB Zeile 45



}

if (!isset($_GET['cat_id']) || !isnum($_GET['cat_id'])) {
   opentable($locale['400']);
   echo "<!--pre_download_idx-->\n";
   $result = dbquery("SELECT * FROM ".DB_DOWNLOAD_CATS." WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
   $rows = dbrows($result);
   if ($rows) {
      $counter = 0; $columns = 2;
      echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) { echo "</tr>\n<tr>\n"; }
         $num = dbcount("(download_cat)", DB_DOWNLOADS, "download_cat='".$data['download_cat_id']."'");
         echo "<td valign='top' width='50%' class='tbl download_idx_cat_name'><!--download_idx_cat_name--><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
         if ($data['download_cat_description'] != "") { echo "<br />\n<span class='small'>".$data['download_cat_description']."</span>"; }
         echo "</td>\n" ;
         $counter++;
      }

Bearbeitet von Vampir190 am 02.05.2009 00000005 09:18
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
Vampir190
D.h jetzt?? Die klanmmer muss gelöscht werden oder wie??
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
Vampir190
$res = 1;
if (score_negative("DOWNL")) {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
} else {
if (iMEMBER) {
$res = 0;
} else {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
}}}
}
}
if ($res == 0) { redirect("downloads.php"); }
}

Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
phppower
poste mal bitte den ganzen code ...... da kann ich dir vielleicht weiterhelfen .... im moment sieht es so aus als währen zu wenig offene oder zu viele geschlossene derda
 
Vampir190
Oki das ist der Code




add_to_title($locale['global_200'].$locale['400']);

if (isset($_GET['download_id']) && isnum($_GET['download_id'])) {
   $res = 0;
   if ($data = dbarray(dbquery("SELECT download_url,download_cat FROM ".DB_DOWNLOADS." WHERE download_id='".$_GET['download_id']."'"))) {
      $cdata = dbarray(dbquery("SELECT * FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$data['download_cat']."'"));
      if (checkgroup($cdata['download_cat_access'])) {
$res = 1;
if (score_negative("DOWNL")) {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
} else {
if (iMEMBER) {
$res = 0;
} else {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
}}}
      }
   }
   if ($res == 0) { redirect("downloads.php"); }
}

if (!isset($_GET['cat_id']) || !isnum($_GET['cat_id'])) {
   opentable($locale['400']);
   echo "<!--pre_download_idx-->\n";
   $result = dbquery("SELECT * FROM ".DB_DOWNLOAD_CATS." WHERE ".groupaccess('download_cat_access')." ORDER BY download_cat_name");
   $rows = dbrows($result);
   if ($rows) {
      $counter = 0; $columns = 2;
      echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
      while ($data = dbarray($result)) {
         if ($counter != 0 && ($counter % $columns == 0)) { echo "</tr>\n<tr>\n"; }
         $num = dbcount("(download_cat)", DB_DOWNLOADS, "download_cat='".$data['download_cat_id']."'");
         echo "<td valign='top' width='50%' class='tbl download_idx_cat_name'><!--download_idx_cat_name--><a href='".FUSION_SELF."?cat_id=".$data['download_cat_id']."'>".$data['download_cat_name']."</a> <span class='small2'>($num)</span>";
         if ($data['download_cat_description'] != "") { echo "<br />\n<span class='small'>".$data['download_cat_description']."</span>"; }
         echo "</td>\n" ;
         $counter++;
      }
      echo "</tr>\n</table>\n";
   } else {
      echo "<div style='text-align:center'><br />\n".$locale['430']."<br /><br />\n</div>\n";
   }
   echo "<!--sub_download_idx-->";
   closetable();
} else {
   $res = 0;
   $result = dbquery("SELECT * FROM ".DB_DOWNLOAD_CATS." WHERE download_cat_id='".$_GET['cat_id']."'");
   if (dbrows($result) != 0) {
      $cdata = dbarray($result);
      if (checkgroup($cdata['download_cat_access'])) {
         $res = 1;
         add_to_title($locale['global_201'].$cdata['download_cat_name']);
         opentable($locale['400'].": ".$cdata['download_cat_name']);
         echo "<!--pre_download_cat-->";
         $rows = dbcount("(*)", DB_DOWNLOADS, "download_cat='".$_GET['cat_id']."'");
         if (!isset($_GET['rowstart']) || !isnum($_GET['rowstart'])) { $_GET['rowstart'] = 0; }
         if ($rows != 0) {
            $result = dbquery("SELECT * FROM ".DB_DOWNLOADS." WHERE download_cat='".$_GET['cat_id']."' ORDER BY ".$cdata['download_cat_sorting']." LIMIT ".$_GET['rowstart'].",15");
            $numrows = dbrows($result); $i = 1;
            while ($data = dbarray($result)) {
               if ($data['download_datestamp'] + 604800 > time() + ($settings['timeoffset'] * 3600)) {
                  $new = " <span class='small'>".$locale['410']."</span>";
               } else {
                  $new = "";
               }
               echo "<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'>\n";
               echo "<tr>\n<td colspan='3' class='forum-caption'><strong>".$data['download_title']."</strong> $new</td>\n</tr>\n";
               if ($data['download_description']) { echo "<tr>\n<td colspan='3' class='tbl1'>".nl2br(stripslashes($data['download_description']))."</td>\n</tr>\n"; }
               echo "<tr>\n<td width='30%' class='tbl2'><strong>".$locale['411']."</strong> ".$data['download_license']."</td>\n<td width='30%' class='tbl1'><strong>".$locale['412']."</strong> ".$data['download_os']."</td>\n";
               echo "<td width='40%' class='tbl2'><strong>".$locale['413']."</strong> ".$data['download_version']."</td>\n</tr>\n<tr>\n<td width='30%' class='tbl2'><strong>".$locale['414']."</strong> ".showdate("shortdate", $data['download_datestamp'])."</td>\n";
               echo "<td width='30%' class='tbl1'><strong>".$locale['415']."</strong> ".$data['download_count']."</td>\n<td width='40%' class='tbl2'><a href='".FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;download_id=".$data['download_id']."' target='_blank'>".$locale['416']."</a> (".$data['download_filesize'].")</td>\n</tr>\n";
               echo "</table>\n";
               if ($i != $numrows) { echo "<div style='text-align:center'><img src='".get_image("blank")."' alt='' height='15' width='1' /></div>\n"; $i++; }
            }
            closetable();
            if ($rows > 15) { echo "<div align='center' style=';margin-top:5px;'>\n".makepagenav($_GET['rowstart'], 15, $rows, 3, FUSION_SELF."?cat_id=".$_GET['cat_id']."&amp;")."\n</div>\n"; }
         } else {
            echo "<div style='text-align:center'>".$locale['431']."</div>\n";
            echo "<!--sub_download_cat-->";
            closetable();
         }
      }
   }
   if ($res == 0) { redirect(FUSION_SELF); }
}

require_once THEMES."templates/footer.php";
?>

Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
phppower
schau dir mal das stück genauer an.


$res = 1;
if (score_negative("DOWNL")) {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
} else {
if (iMEMBER) {
$res = 0;
} else {
$result = dbquery("UPDATE ".DB_DOWNLOADS." SET
download_count=download_count+1 WHERE download_id='".$_GET['download_id']."'");
redirect($data['download_url']);
}}

Bearbeitet von phppower am 02.05.2009 00000005 12:53
 
Vampir190
hab das gemacht aber der zeigt immer noch



Parse error: syntax error, unexpected '}' in /data/apache/users/kilu.de/dxl/www/downloads.php on line 43

an wenn ich auf Downloads klicke
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
phppower
hänge mal bitte die Datei an ...
 
Gr@n@dE
@Vampir190: Wenn du die "download.php" noch nicht vor den Einbau des ScoreSystem`s verändert hast. Dann benutze bitte die mitgelieferte Datei vom ScoreSystem.

Normaler Weise sollte man schon einen Code-Baustein wechseln können wenn es ganz genau beschrieben ist. schlechtwüttend
Gruß Ralf
__________________________________
KEIN Support per Mail, ICQ oder PN !
 
Vampir190
Gr@n@de ich weiß du meinst es nur gut happy

Aber du weißt ich hab 00 % ahnung und ich hatte das mit denn Download auch sop noch nie voher ging ja alles


Ich hab mal Die Datein dran gehangen
Träume nicht dein Leben sondern lebe deinen Traum,es könnte dein letzter sein.
 
Khardas
Moin moin @ All, (wont Hilfe)
als nagelneuer "Eigentümer" von php Fusion und keiner Ahnung von php habe ich da ein klitzekleines Problemchen, dass sich auch leider nicht wegdenken lässt!
Ich habe php Fusion V7 heruntergeladen und auch die Deutschen Sprache für dieses Modul.
Gleichzeitig hatte ich mir den Mod: Pro_download_panel-1.8.1 downgeloaded!
Alles installiert und ... nun, es geht, aber - nun kommts - folgende Fehlermeldung steht dort im Infusionspanel oben drüber:

Zitat


Notice: Undefined index: downbereich in /usr/export/www/vhosts/funnetwork/hosting/malprobe/files/infusions/pro_download_panel/include/core.php on line 262

Notice: Undefined index: defektpm in /usr/export/www/vhosts/funnetwork/hosting/malprobe/files/infusions/pro_download_panel/include/core.php on line 263

Notice: Undefined index: use_utf8_locales in /usr/export/www/vhosts/funnetwork/hosting/malprobe/files/infusions/pro_download_panel/include/core.php on line 271


Kann es daran liegen, dass dieses Mod nur für Version 6 zu haben gibt und nicht für Version 7?? Oder woran liegt das?
Nach der Installation ist die Schriftfarbe im Infusions-Bereich von Rot auf Grün gewechselt. Also ein Anzeichen dafür, dass alles geklappt hat! musik

Es wäre schön eine Antwort von euch zu bekommen!

Danke schon mal bye
Khardas
 
Blubba
Herzlich Willkommen hier :-)

Zitat

Kann es daran liegen, dass dieses Mod nur für Version 6 zu haben gibt und nicht für Version 7??


Das musst du doch wissen, welche Version du gedownloadest und installiert hast, darauf achtet man vor dem installieren.

Wo hast du es den her?

grüße
Chrissi
 
Datalus
Huhu,

das System gibt es auch für v7 und zwar hier: http://www.phpfusion-mods.net/infusio...&id=28

LG Micha
.: Computer sind die intelligentesten Idioten, die es gibt :.
 
Khardas
Hallo ihr beiden,
schnelle Antwort! klasse

@Blubba
Nun, woher ich das "Ding" habe weiß ich nicht mehr????
Es gibt ja jede Menge an Seiten im I-Net! Deshalb : k.A! hilflos

@Datalus
Okay, Thx!
Wieder eine Seite bei der ich mich vorest anmelden muß!

Aber moment, ich sehe gerade dies hier:

Zitat


Beautiful download system with many options. Works on both PHP-Fusion v6 and v7.

Nach Adam Riese und Eva Zwerg sollte es dann doch auch auf meinem V7 laufen, oder sehe ich das richtig?

MfG
Khardas
Bearbeitet von Khardas am 03.05.2009 00000005 13:09
 
Khardas
Aaaaach so! lol
Habe noch die 1.8.1

Thx, aber werd's probieren.
Sonst melde ich mich nochmal.

MfG
Khardas
Bearbeitet von Khardas am 03.05.2009 00000005 14:21
 

Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
My Buddysytem-Fehler: Bitte überprüfe die Dateien des Benutzerfeldes Infusionen 3 22.02.2018 00000002 14:56
Datenbank fehler Infusionen 7 24.03.2017 00000003 07:20
Hilfe MWN Geschenke System fehler Infusionen 2 27.12.2016 00000012 20:11
17+4 Fehler Games, Spiele & Co. 1 04.12.2016 00000012 09:41
Fehler - Spiel nie gespielt Games, Spiele & Co. 7 05.05.2016 00000005 13:26
Heiseclan