Pfadangaben
Pfadangaben
Hallo versuche seit tagen das Problem zu lösen:
Bei z.B. artikeliste (Liste von Artikeln mit mehreren Daten basierend
* auf 4fb referenz modul ) funktioniert alles wunderbar nur über der Detailausgabe des Bildes ist der ganze Pfad (www. ........jpg) zu sehen
wenn ich irgentein Bildcontainer einfüge...ist unter der Headline eine Pfadangabe zu sehen (auch schon im Editor) woran kanns liegen???
HILFE
Gruß
Tine
Bei z.B. artikeliste (Liste von Artikeln mit mehreren Daten basierend
* auf 4fb referenz modul ) funktioniert alles wunderbar nur über der Detailausgabe des Bildes ist der ganze Pfad (www. ........jpg) zu sehen
wenn ich irgentein Bildcontainer einfüge...ist unter der Headline eine Pfadangabe zu sehen (auch schon im Editor) woran kanns liegen???
HILFE
Gruß
Tine
ich kann dir leider keine vernünftige antwort geben, da ich nicht die geringste ahnung habe, was du meinen könntest...
*** make your own tools (wishlist :: thx)
-
- Beiträge: 1536
- Registriert: Fr 20. Aug 2004, 10:07
- Kontaktdaten:
mach mal nen screenshot und poste ihn hier oder poste mal den code
ansonsten nimm mal die hier
vergiss nicht in deinen thumbnailordner die datei
vorlage.jpg zu legen die die größe des thumbnails haben sollte und gib schreib und leserechte 777 für deinen Thumbnailordner und die vorlage.jpg
diese funktioniert bei mir fast wunderbar
greets
blackmeetswhite
ansonsten nimm mal die hier
Code: Alles auswählen
/**
* CONTENIDO MODUL - INPUT
*
* Erweiterte Artikel liste Version 1.1 mit Seitenzählung
*
* Liste von Artikeln mit mehreren Daten basierend
* auf 4fb referenz modul
* 1.Gibt die Subheadline eines Artikel mit aus
* 2.Anschnitte nur nach ganzen Wörtern
* 3.Thumnails werden vernünftig berechnet
* 4.Image für Erzeugung von Thumbs kann gewählt werden
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain
* Copyright : None
* Created : 13-07-03
* Modified : 16-08-02 /20-09-03 upt /02-02-04 Beau/04-04-04 Beau
*/
// selected category
$selected = "CMS_VALUE[0]";
$seldir = "CMS_VALUE[9]";
$selimg = "CMS_VALUE[11]";
//funktion für die checkboxen
function d_checked($which) {
if ($which != "") {
return "checked";
}
} // end function
echo "<table cellspacing=\"0\" cellpadding=\"2\" border=\"0\">
<tr>
<td></td> <td></td><td width=\"120\">Anzahl Einträge/Seite: </td><td></td>
<td><input type=\"text\" name=\"CMS_VAR[8]\" value=\"CMS_VALUE[8]\"></td></tr>
<tr bgcolor=\"#E8E8EE\" valign=\"top\">
<td></td>
<td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[14]")." name=\"CMS_VAR[14]\"></td>
<td width=\"120\">Ausgabe mit Startartikel</td>
<td></td>
<td>Kategorie wählen:<br>
<select name=\"CMS_VAR[0]\">";
if($selected!="0" && $selected!=""){
echo"<option value=\"0\">--- kein ---</option>";
}else{
echo"<option selected=\"selected\" value=\"0\">--- kein ---</option>";
}
// fetch all categorys
$query = "SELECT A.idcat, A.level, C.name FROM ".$cfg["tab"]["cat_tree"]." AS A, ".
$cfg["tab"]["cat"]." AS B, ".$cfg["tab"]["cat_lang"]." AS C WHERE A.idcat=B.idcat ".
"AND B.idcat=C.idcat AND C.idlang='$lang' AND B.idclient='$client' ".
"AND C.visible=1 ORDER BY A.idtree";
// execute query
$db->query($query);
// loop result and build the options
while ($db->next_record()) {
// indent spacer
$spaces = "|";
// how many levels
$levels = $db->f("level");
for ($i = 0; $i < $levels; $i ++) {
// add 2 spaces for every level
$spaces = $spaces . "--";
} // end for
$spaces .= ">";
if ($selected == $db->f("idcat")) {
// selected category
echo "<option selected=\"selected\" value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>";
} else {
// category
echo "<option value=\"". $db->f("idcat") ."\">". $spaces . $db->f("name") ."</option>";
} // end if
} // end while
echo "</select>";
echo "</td>
<td></td>
</tr>
<tr valign=\"top\">
<td></td>
<td></td>
<td width=\"120\"></td>
<td></td>
<td>Überschrift: (wenn leer, keine Ausgabe)<br>
<input type=\"text\" name=\"CMS_VAR[2]\" value=\"CMS_VALUE[2]\" size=\"24\"></td>
</tr>
<tr bgcolor=\"#E8E8EE\" valign=\"top\">
<td></td>
<td> <input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[4]")." name=\"CMS_VAR[4]\"> </td>
<td width=\"120\">Ausgabe der Artikel-Headline</td>
<td></td>
<td>Angezeigte Zeichen Artikel-Headline:<br>
<input type=\"text\" name=\"CMS_VAR[3]\" value=\"CMS_VALUE[3]\" size=\"24\"></td>
</tr>
<tr valign=\"top\">
<td></td>
<td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[5]")." name=\"CMS_VAR[5]\"></td>
<td width=\"120\">Ausgabe der Artikel-Subheadline:</td>
<td></td>
<td>Angezeigte Zeichen Artikel-Subheadline:<br>
<input type=\"text\" name=\"CMS_VAR[6]\" value=\"CMS_VALUE[6]\" size=\"24\"></td>
</tr>
<tr bgcolor=\"#E8E8EE\" valign=\"top\">
<td></td>
<tr bgcolor=\"#E8E8EE\" valign=\"top\">
<td></td>
<td><input type=\"checkbox\" value=\"on\" ".d_checked("CMS_VALUE[7]")." name=\"CMS_VAR[7]\" ></td>
<td width=\"120\">Ausgabe der Thumbnails:</td>
<td></td>
<td>Bildcontainer für Thumbnail Quelle:<br>";
$db = new DB_Contenido;
$query = "SELECT output AS out, name AS beschreibung FROM ".$cfg["tab"]["mod"]." ";
$db->query($query);
echo"<select name=\"CMS_VAR[11]\">";
echo"<option value=\"kein\">-- kein --</option> ";
while ($db->next_record()) {
$frontendpath = $db->f("out");
$name = $db->f("beschreibung");
$rest = substr("$frontendpath", 3, 30);
$find = strpos($rest,"CMS_IMG");
if ($find === false) {
}
else {
$ok = substr($rest, $find, 10);
$nummer = substr($ok, 8, 1);
?>
<option value="<?php echo $nummer ?>"<?php if ($selimg == $nummer) echo " selected" ?>><?php echo $db->f("beschreibung") ?>
<?
}
}
echo" </option> </select> ";
echo"</td>
</tr>
<td></td><td></td>
<td width=\"120\">Thumbnail Ordner</td>
<td></td><td>Bitte wählen:<br><select name=\"CMS_VAR[9]\" size=\"1\">";
echo"<option value=\"kein\">-- kein --</option>";
$db = new DB_Contenido;
$query = "SELECT DISTINCT dirname FROM ".$cfg["tab"]["upl"]." ORDER BY dirname ASC";
$db->query($query);
while ($db->next_record()) {
?>
<option value="<?php echo $db->f("dirname") ?>"<?php if ($seldir == $db->f("dirname")) echo " selected" ?>><?php echo $db->f("dirname") ?></option>
<?php
}
echo "</select></td>
<tr valign=\"top\">
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
"; //Ende
Code: Alles auswählen
<?
<?
/***********************************************
* CONTENIDO MODUL - OUTPUT
*
* Erweiterte Artikel liste Version 1.1 mit Seitenzählung
*
* Liste von Artikeln mit mehreren Daten basierend
* auf 4fb referenz modul
* 1.Gibt die Subheadline eines Artikel mit aus
* 2.Anschnitte nur nach ganzen Wörtern
* 3.Thumnails werden vernünftig berechnet
* Author : Evert Smit / Dirk Uptmoor / Peter Beauvain
* Copyright : None
* Created : 13-07-03
* Modified : 16-08-02 /20-09-03 upt /31-01-04 Beau/04-04-04 Beau
************************************************/
switch ($eintrag) { // das erste mal beim aufruf ist $eintrag undefiniert
case "";
$eintrag = "0"; // deswegen wertzuweisung 0
}
//Frontendpfad ermitteln
$query = "SELECT frontendpath FROM ".$cfg["tab"]["clients"]." WHERE idclient='".$client."'";
$db->query($query);
$db->next_record();
$frontendpath = $db->f("frontendpath");
$zps = "CMS_VALUE[8]"; // Anzahl der Einträge
$max = ($eintrag + $zps);
$meineseite=$auth->url();
//------------- erstmal zählen wieviel Artikel vorhanden sind --------------------
$startarton = "AND CATART.is_start = '0' AND";
//soll der startartikel mit ausgegeben werden?.
$print_startartikel = "CMS_VALUE[14]";
if($print_startartikel !=""){
$startarton = "AND";
}
$selcat = "CMS_VALUE[0]";
if($selcat!="0" && $selcat!=""){
// select all articles in category widthout start article
$query = "SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM ".$cfg["tab"]["cat_art"]." AS CATART, ".
$cfg["tab"]["art_lang"]." AS ARTLANG ".
"WHERE CATART.idcat = '$selcat' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '$lang' "." $startarton " ."ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC ";
// execute query
$db->query($query);
unset($articleID);
unset($linkID);
// get id's of sub articles
while ($db->next_record()) {
$articleID[] = $db->f("idartlang");
$linkID[] = $db->f("idart");
$eintraege = $eintraege+1;
} // end while
}
//---------------------------------Unternavigation zusammenbauen------------------------------
$gbnav = "";
$gbnav .= "<table width=390px cellspacing=0 cellpadding=0 align=right ><tr>";
if ($max >= $eintraege)
$gbnav .= "<td class=text ></td>";
else
$gbnav .= "<td class=text></td>";
$gbnav .= "<td class=text align=right><p>";
$pages = $eintraege / $zps;
if ($pages > 1) {
$gbnav .= "zu Seite ";
for ($ii = 0; $ii < $pages; $ii++) {
if ($ii != ($eintrag / $zps)) {
$gbnav .= "<a href=\"$meineseite&a=view&eintrag="; $gbnav .= ($ii * $zps); $gbnav .= "\">[".($ii+1)."]</a> ";
}
}
}
//-------------------------------- und jetzt gehts los ----------------------------
$startarton = "AND CATART.is_start = '0' AND";
//soll der startartikel mit ausgegeben werden?.
$print_startartikel = "CMS_VALUE[14]";
if($print_startartikel !=""){
$startarton = "AND";
}
//die Überschrift wird ausgegeben wenn sie nicht leer ist.
$print_mainheadline = "CMS_VALUE[2]";
//soll headline ausgegeben werden?
$print_headline = "CMS_VALUE[4]";
//soll subheadline ausgegeben werden?
$print_subheadline = "CMS_VALUE[5]";
//soll ein thumnail ausgegeben werden?
$print_thumbnail = "CMS_VALUE[7]";
//thumbnail breite
$thumbnail_width = "CMS_VALUE[8]";
//wenn thumbnails = 0
$imagetag = "";
// second db class instance
$db2 = new DB_Contenido;
// selected category
$selcat = "CMS_VALUE[0]";
if($selcat!="0" && $selcat!=""){
// select all articles in category widthout start article
$query = "SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM ".$cfg["tab"]["cat_art"]." AS CATART, ".
$cfg["tab"]["art_lang"]." AS ARTLANG ".
"WHERE CATART.idcat = '$selcat' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '$lang' "." $startarton " ."ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT $eintrag,$zps";
// execute query
$db->query($query);
unset($articleID);
unset($linkID);
// get id's of sub articles
while ($db->next_record()) {
$articleID[] = $db->f("idartlang");
$linkID[] = $db->f("idart");
} // end while
$gbnav .= "</p></td>";
/****************** start table **************************/
echo '
<table border="0" cellpadding="0" cellspacing="0" width="410px"> ';
/**** Überschrift der Artikelliste wird ausgegeben, wenn nicht leer ********/
if($print_mainheadline !=""){
echo '
<tr>
<td colspan="2" class="headart" style="padding-bottom:3px;background-image: url(images/trennline.gif);background-repeat:no-repeat;background-position:bottom;">;CMS_VALUE[2]
</td>
</tr>
';
}
if($print_mainheadline ==""){
echo '
<tr>
<td colspan="2"></td>
</tr>
';
}
// Loop through articles
if (is_array($articleID)) {
foreach ($articleID as $key => $value) {
// select all CMS variables of the article
if($print_headline!="0" && $print_headline!=""){
$sql = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '1'";
$db->query($sql);
$db->next_record();
$headline = urldecode($db->f("value"));
for ($j=CMS_VALUE[3]; $j < CMS_VALUE[3]+20; $j++)
{
$headline1 = substr($headline , 0, $j);
$cut = substr($headline, $j);
if ((ord ($cut) == 32)||(ord ($cut) == 44)||(ord ($cut) == 45)) {
$headline= substr($headline , 0, $j);
$headline .= ' .....';
}
}
}
$cfgTab_art_lang = $cfg['tab']['art_lang'];
$cfgTab_content = $cfg['tab']['content'];
$sql = "SELECT A.author AS author, B.created AS lastmod FROM $cfgTab_art_lang AS A, $cfgTab_content AS B WHERE A.idart='$value' AND B.idartlang=A.idartlang ORDER BY B.lastmodified DESC";
$db->query($sql);$db->next_record();
$modifydate= date("d.m.y",strtotime($db->f("lastmod")));
$modifytime= date("H:i",strtotime($db->f("lastmod")));
if($print_subheadline!="0" && $print_subheadline!=""){
$sql_subheadline = "SELECT * FROM ".$cfg["tab"]["content"]." WHERE idartlang = '$value' AND idtype = '1' AND typeid = '2'";
$db->query($sql_subheadline);
$db->next_record();
$subheadline = urldecode($db->f("value"));
for ($i=CMS_VALUE[6]; $i < CMS_VALUE[6]+100; $i++)
{
$subheadline1 = substr($subheadline , 0, $i);
$cut = substr($subheadline, $i);
if ((ord ($cut) == 16)||(ord ($cut) == 44)||(ord ($cut) == 45)) {
$subheadline= substr($subheadline , 0, $i);
$subheadline .= ' .....';
}
}
}
/******************* begin thumbnails **********************************/
if($print_thumbnail !="0" && $print_thumbnail !=""){
// select and resolve image path
$imagesql="select value from ".$cfg["tab"]["content"]." where idartlang='$value' and idtype='4' and typeid='CMS_VALUE[11]'";
$db2->query($imagesql);
$db2->next_record();
$image_id= $db2->f("value");
// get image name and path
$imagesql="select * from ".$cfg["tab"]["upl"]." where idupl='$image_id'";
$db2->query($imagesql);
$db2->next_record();
$webdir='upload/';
$thumbdir='CMS_VALUE[9]';
$filedir=$frontendpath;
$imagelocation=$filedir.$webdir.$db2->f('dirname').$db2->f('filename');
$thumblocation=$filedir.$webdir.$thumbdir.$db2->f('filename');
if (!file_exists($thumblocation)){
// create thunbnail
$fileinformation=getimagesize($imagelocation);
$imagewidth = $fileinformation[0];
$imageheight = $fileinformation[1];
$imagetype=$db2->f('filetype');
$imageattributes = $fileinformation[3];
//$newfile= $last_id."-image.".$imagetype;
$target=$thumblocation;
if ( !(copy($imagelocation,$target)))
{
echo "Could not copy file to destintaion., Command returned Error Message. Please check your log files. ".$imagelocation." ".$target;
die;
}
//create thumbnails 80xrelational height; neu $thumbnail_width x proportionale Höhe
// Determine what filetype and set pointer to source image
$original_image=ImageCreateFromJPEG($target);
if (!$original_image){
echo 'Error getting image from '.$target.'.';
}
$palette_image =$filedir.$webdir.$thumbdir.'vorlage2.jpg';
$thumbsize = getImageSize($palette_image);
$maxdim = $thumbsize[0];
$draw_from = $imagelocation;
$dim = GetImageSize($draw_from);
if($dim[0]>$dim[1])
{
$to_w = $maxdim;
$to_h = round($dim[1]*($maxdim/$dim[0]));
$to_x = 0;
$to_y = round($maxdim-$to_h)/2;
}
else
{
$to_h = $maxdim;
$to_w = round($dim[0]*($maxdim/$dim[1]));
$to_y = 0;
$to_x = round($maxdim-$to_w)/2;
}
if($dim[2]==1) {$from = ImageCreateFromGIF($draw_from);}
elseif($dim[2]==2) {$from = ImageCreateFromJPEG($draw_from);}
elseif($dim[2]==3) {$from = ImageCreateFromPNG($draw_from);}
$thumb = ImageCreateFromJPEG($palette_image);
// $set_bg_colour = ImageColorAllocate($thumb,255,0,0);
// $fill_bg_colour = ImageFill($thumb,0,0,$set_bg_colour);
imagecopyresampled($thumb, $from, $to_x, $to_y, 0,
0, $to_w, $to_h, $dim[0], $dim[1]);
//echo $target;
// set image width and height of thunbnail and put pointer for filesytsem
$thumbfile= $db2->f('filename');
$target_thumb=$thumblocation;
$t_width=$thumbnail_width;
// calculating height to maintain ratio
$t_height=($thumbnail_width/$imagewidth)*$imageheight;
// remove digits to get solid number
list ($t_height,$notimportand)=explode('.',$t_height);
// create blank image
$thumb_image=imagecreatetruecolor($t_width,$t_height);
// $thumb_image=imagecreate($t_width,$t_height);
// $thumb_image=ImageCreateFromJPEG($palette_image);
// resize image based on height and width
imagecopyresampled($thumb_image,$original_image,0,0,0,0,$t_width,$t_height,$imagewidth,$imageheight);
// store image on file system
// requires different functionf for either gif or jpeg
imagejpeg($thumb,$target_thumb);
imagedestroy($thumb);
imagedestroy($original_image);
}
$image=$webdir.$thumbdir.$db2->f('filename');
//wenn Artikel kein Bild hat
if (!$db2->f('filename')){
$image=$webdir.$thumbdir.'vorlage2.jpg';
}
//Ende
$imagetag="<img src=\" $image \" border=0>";
} // ende wenn keine thumbs gewünscht
/**************** Ende Thumbnails ***********************/
// link
$link = $sess->url("front_content.php?client=$client&lang=$lang&idcat=$selcat&idart=$linkID[$key]&m=$m&s=$s");
/***********************Anfang Tablezeile für Artikelliste**********************/
echo '
<tr>
<td class="headart" colspan="2" style="padding-bottom:3px;background-image: url(images/trennline.gif);background-repeat:no-repeat;background-position:bottom;text-align:left;"><img src="images/mehr.gif" width="20" height="20" />'.$headline.'</td>
</tr>
<tr>
<td style="padding-right:4px;padding-left:20px;padding-top:4px;width:80px;" rowspan="2" height="*px" valign="top" ><A HREF="'.$link.'">'.$imagetag.'</a></td>
</tr>
<tr>
<td valign="top" style="width:330px;padding-left:4px;background-image: url(images/righttrenn.gif);background-repeat:repeat-y;">'.$subheadline.'
<b><a href="'.$link.'">...zum Produkt...</a></b>
</tr>
';
} // end while
unset($headline);
unset($headline1);
unset($subheadline);
unset($subheadline1);
} // end foreach
// -------------- Ausgabe der Seiten Navigation ----------------------
echo $gbnav;
// --------------- Ende der Seiten Navigation -------------------------
} // end if (is_array)
echo '</table>';
/***********************ende Table**********************/
?>
vorlage.jpg zu legen die die größe des thumbnails haben sollte und gib schreib und leserechte 777 für deinen Thumbnailordner und die vorlage.jpg
diese funktioniert bei mir fast wunderbar
greets
blackmeetswhite
so hier nun meine screenshots...habe es auch mal mit deinem code versucht ..passiert leider das selbe - grummel meiner hat ja auch wunderbar funktioniert...bis auf das Anzeigen des Pfads - Rechte habe ich gesetzt, Vorlage verwand und ansonsten auch alle Tipps aus den How to beachtet - na jedenfalls dachte ich das (z.B. nur die Kategorie konfigurieren ecp.) aber irgentwo steckt doch der wurm drin nur WO fange ich an zu suchen ???
merci vorob
Gruß
Tine![Bild](http://www.country-redaktion.de/cms/upload/design/sreeens.gif)
![Bild](http://www.country-redaktion.de/cms/upload/design/scr2.gif)
merci vorob
Gruß
Tine
![Bild](http://www.country-redaktion.de/cms/upload/design/sreeens.gif)
![Bild](http://www.country-redaktion.de/cms/upload/design/scr2.gif)
mehr info :)
Also nun habe ich neben der Erweiterten Artikelliste version 1.1 mit seitenzählung auch noch die Artikelliste w3 v1 von Kummer ausprobiert-
letzteres funktioniert in der Bildausgabe nur leider wird das weiterblättern und zurück nicht angezeigt- bei der ersten Artikelliste habe ich nach wie vor das problem der Pfadangabe des jpg in der Detailansicht -
so und hier nun mal mein error log in der frohen hoffnung das man mir auf die sprünge helfen kann
letzteres funktioniert in der Bildausgabe nur leider wird das weiterblättern und zurück nicht angezeigt- bei der ersten Artikelliste habe ich nach wie vor das problem der Pfadangabe des jpg in der Detailansicht -
so und hier nun mal mein error log in der frohen hoffnung das man mir auf die sprünge helfen kann
![Laughing :lol:](./images/smilies/icon_lol.gif)
Code: Alles auswählen
[20-Aug-2004 17:05:10] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 1
[20-Aug-2004 17:05:11] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 1
[20-Aug-2004 17:09:15] PHP Warning: fopen(): Unable to access useronline.dat in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 240
[20-Aug-2004 17:09:15] PHP Warning: fopen(useronline.dat): failed to open stream: No such file or directory in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 240
[20-Aug-2004 17:09:15] PHP Warning: fgets(): supplied argument is not a valid stream resource in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 245
[20-Aug-2004 17:09:15] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 253
[26-Aug-2004 20:47:08] PHP Warning: Division by zero in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 155
[26-Aug-2004 20:47:08] Invalid SQL: SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1' AND CATART.is_start = '0' AND ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT 0,<br><br>
[26-Aug-2004 20:47:08] next_record called with no query pending.
[27-Aug-2004 19:52:27] PHP Warning: Division by zero in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 155
[27-Aug-2004 19:52:27] Invalid SQL: SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1' AND CATART.is_start = '0' AND ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT 0,<br><br>
[27-Aug-2004 19:52:27] next_record called with no query pending.
[30-Aug-2004 13:33:05] PHP Warning: Division by zero in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 155
[30-Aug-2004 13:33:05] Invalid SQL: SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1' AND CATART.is_start = '0' AND ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT 0,<br><br>
[30-Aug-2004 13:33:05] next_record called with no query pending.
[30-Aug-2004 14:15:46] PHP Warning: Division by zero in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 295
[30-Aug-2004 14:15:46] Invalid SQL: SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1' AND CATART.is_start = '0' AND ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT 0,<br><br>
[30-Aug-2004 14:15:46] next_record called with no query pending.
[30-Aug-2004 14:15:59] PHP Warning: Division by zero in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 295
[30-Aug-2004 14:15:59] Invalid SQL: SELECT ARTLANG.idart, ARTLANG.idartlang, ARTLANG.lastmodified FROM con_cat_art AS CATART, con_art_lang AS ARTLANG WHERE CATART.idcat = '12' AND ARTLANG.idart = CATART.idart AND ARTLANG.idlang = '1' AND CATART.is_start = '0' AND ARTLANG.online = '1' ORDER BY ARTLANG.lastmodified DESC LIMIT 0,<br><br>
[30-Aug-2004 14:15:59] next_record called with no query pending.
[30-Aug-2004 14:26:23] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 168
[30-Aug-2004 14:26:25] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 168
[30-Aug-2004 14:29:08] PHP Parse error: parse error in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 479
[30-Aug-2004 14:29:15] PHP Parse error: parse error in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 479
[31-Aug-2004 08:37:45] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 3
[31-Aug-2004 08:37:46] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 3
[31-Aug-2004 08:38:13] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 3
[31-Aug-2004 08:38:17] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 3
[31-Aug-2004 08:38:18] PHP Parse error: parse error in /home/32/mhcountd/contenido/includes/functions.mod.php(155) : eval()'d code on line 3
[31-Aug-2004 08:49:40] PHP Warning: getimagesize(): Unable to access /home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 354
[31-Aug-2004 08:49:40] PHP Warning: getimagesize(/home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg): failed to open stream: No such file or directory in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 354
[31-Aug-2004 08:49:40] PHP Warning: imagecreatefromjpeg(/home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg): failed to open stream: No such file or directory in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 376
[31-Aug-2004 08:49:40] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 380
[31-Aug-2004 08:49:40] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 405
[31-Aug-2004 08:49:40] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 407
[31-Aug-2004 09:37:47] PHP Warning: imagejpeg(): Unable to open '/home/32/mhcountd/cms/upload/bilder/auto_thumbnails/90_24.jpg' for writing in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 498
[31-Aug-2004 09:38:46] PHP Warning: imagejpeg(): Unable to open '/home/32/mhcountd/cms/upload/bilder/auto_thumbnails/90_24.jpg' for writing in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 357
[31-Aug-2004 09:46:46] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 246
[31-Aug-2004 09:46:18] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 246
[31-Aug-2004 09:46:23] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 246
[31-Aug-2004 09:46:31] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 246
[31-Aug-2004 09:47:13] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 106
[31-Aug-2004 09:47:33] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 106
[31-Aug-2004 09:47:44] PHP Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/32/mhcountd/contenido/includes/include.con_editcontent.php(571) : eval()'d code on line 246
[31-Aug-2004 09:48:34] PHP Warning: getimagesize(): Unable to access /home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 354
[31-Aug-2004 09:48:34] PHP Warning: getimagesize(/home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg): failed to open stream: No such file or directory in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 354
[31-Aug-2004 09:48:34] PHP Warning: imagecreatefromjpeg(/home/32/mhcountd/cms/upload/News/thumb/vorlage2.jpg): failed to open stream: No such file or directory in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 376
[31-Aug-2004 09:48:34] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 380
[31-Aug-2004 09:48:34] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 405
[31-Aug-2004 09:48:34] PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/32/mhcountd/cms/front_content.php(563) : eval()'d code on line 407
-
- Beiträge: 1536
- Registriert: Fr 20. Aug 2004, 10:07
- Kontaktdaten:
hat ich auch schon dran gedacht:
aber auch hier fällt mir nichts auf ![Sad :(](./images/smilies/icon_sad.gif)
fällt denn keinem schlauen kopf was zum error log ein?
wäre auch dankbar überr einen Hinweis wo ich mich gegebenenfalls schlau machen könnte....dumm aber willig!![Smile :)](./images/smilies/icon_smile.gif)
Code: Alles auswählen
<?php
if ("CMS_IMG[5]" != "") {
$img = '<img src="CMS_IMG[5]" border="0">';
if ("CMS_LINK[5]" != "http://") {
$img = sprintf('<a href="%s" target="%s">%s</a>',"CMS_LINK[5]", "CMS_LINKTARGET[5]", $img);
}
echo $img;
}
echo "<br>";
echo "CMS_IMGDESCR[5]";
echo "<br>";
echo "CMS_LINKDESCR[5]";
echo "<br>";
?>
![Sad :(](./images/smilies/icon_sad.gif)
fällt denn keinem schlauen kopf was zum error log ein?
wäre auch dankbar überr einen Hinweis wo ich mich gegebenenfalls schlau machen könnte....dumm aber willig!
![Smile :)](./images/smilies/icon_smile.gif)