Seite 1 von 1

Probleme mit Thumbnail generierung

Verfasst: Mi 4. Aug 2004, 03:13
von GoofyUlm
Hallo Contenido`s

habe die Artikelliste von Kemmer mit überarbeiteter Version
von Uli Stein (vom 31.07.04) eingebunden.
Code siehe hier: http://www.contenido.de/forum/viewtopic.php?t=5167


Habe Probleme mit den Thumnails.
Die werden nämlich nicht geschrieben.

Anbei meine Error Log.
Wäre nett wenn mir jemand helfen könnte.
Oder eine Funtionierende Artikelliste zur Verfügung stellt. ( Die Liste von Snoopy weist bei mir die selben Probleme auf)

  • [04-Aug-2004 04:05:03] PHP Warning: session_register(): Cannot send session cookie - headers already sent by (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:03] PHP Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:03] PHP Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
    [04-Aug-2004 04:05:05] PHP Warning: session_register(): Cannot send session cookie - headers already sent by (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:05] PHP Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:05] PHP Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
    [04-Aug-2004 04:05:07] PHP Warning: session_register(): Cannot send session cookie - headers already sent by (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:07] PHP Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code:9) in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 55
    [04-Aug-2004 04:05:07] PHP Warning: getimagesize(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/dachsanierung1.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2236
    [04-Aug-2004 04:05:07] PHP Warning: Division by zero in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2238
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2244
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatefromgd(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/dachsanierung1.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2251
    [04-Aug-2004 04:05:07] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2254
    [04-Aug-2004 04:05:07] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2255
    [04-Aug-2004 04:05:07] PHP Warning: getimagesize(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/00_09008.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2236
    [04-Aug-2004 04:05:07] PHP Warning: Division by zero in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2238
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2244
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatefromgd(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/00_09008.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2251
    [04-Aug-2004 04:05:07] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2254
    [04-Aug-2004 04:05:07] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2255
    [04-Aug-2004 04:05:07] PHP Warning: getimagesize(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/phaus1.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2236
    [04-Aug-2004 04:05:07] PHP Warning: Division by zero in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2238
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2244
    [04-Aug-2004 04:05:07] PHP Warning: imagecreatefromgd(/srv/www/htdocs/web12/html/cmsys/cmsys/fritschle/upload/bilder/phaus1.jpg): failed to open stream: No such file or directory in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2251
    [04-Aug-2004 04:05:07] PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2254
    [04-Aug-2004 04:05:07] PHP Warning: imagejpeg(): supplied argument is not a valid Image resource in /srv/www/htdocs/web12/html/cmsys/fritschle/front_content.php(563) : eval()'d code on line 2255
    [04-Aug-2004 04:05:07] PHP Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
[/url]

Verfasst: Mi 4. Aug 2004, 09:46
von emergence
anscheinend hast du den pfad beim modul falsch konfiguriert...

wie sehen dein pfade aus ?
welche php version ?
ist gd library ordnungsgemäß installiert ?

Verfasst: Mi 4. Aug 2004, 12:19
von GoofyUlm
Hallo

Apache/1.3.28 (Linux/SuSE) PHP/4.3.3

Den Pfad habe ich nicht absolut angegeben.

Ich glaube eher das er die Bilder nicht generiert.

Wie geht das denn mit der GD-Lib
genau, kenne mich da leider garnicht aus.
Wie kann ich prüfen ob das teil installiert ist
und ob es einwandfrei funktioniert ?
Danke für die Hilfe..

Verfasst: Mi 4. Aug 2004, 12:50
von emergence
gd einstellungen -> administration - system

wie sieht deine konfiguration bei dem modul aus ?
wie sehen dort die pfade aus ?

steht dort was mit
/cmsys/fritschle/upload/bilder

es wird nämlich versucht ein bild zu öffnen das an der angegeben position nicht vorhanden.

-> cmsys/cmsys/fritschle/upload/bilder/dachsanierung1.jpg

Verfasst: Mi 4. Aug 2004, 13:32
von GoofyUlm
@emergency

Also nachfolgend ein Auszug aus dem Bereich Administrator->System
von Contenido 4.4.4

Bild

Zu den Pfadangaben:

Ich habe für Thumbnails
folgenden Pfad angegeben:

$uploadpfad = "/cmsys/fritschle/upload/"; // relativ zum root-verzeichnis (mit slash am anfang und am ende)
$thumbnailpfad = "/cmsys/fritschle/upload/auto_thumbnails/";

_____________________________
Das müsste meiner Meinung nach passen,
denn wenn ich die Artikelliste aufrufe möchte
er das Bild was ja normalerweise generiert werden soll
genau in diesem Ordner öffnen.

Die Ausgabe der Liste sieht folgendermaßen aus.

Bild

Hat mir vielleicht jemand eine Andere Artikelliste die auch Bilder anzeigt
und dei funktioniert ???

Verfasst: Mi 4. Aug 2004, 14:10
von Halchteranerin
ich wuerde sagen, dass Du bei Deiner Pfadangabe das cmsys weglassen sollst, denn das ist im Pfad offensichtlich doppelt.

Verfasst: Mi 4. Aug 2004, 15:03
von GoofyUlm
ohm mann was für ein sch.....


hier ist die Lösung - jetzt habe ich es endlich geschaft

// manuelle konfiguration des moduls
$uploadpfad = "/fritschle/upload/"; // relativ zum root-verzeichnis (mit slash am anfang und am ende)
$thumbnailpfad = "/cmsys/fritschle/upload/auto_thumbnails/"; //relativ zum root-verzeichnis (mit slash am anfang und am ende)


beim Uploadpfas muss ich das cmsys weglassen
bei Thumbnail jedoch dazuschreiben

Macht irgendwie keinen sinn..