Forum

Forum feed

» zum Forum | » aktuelle Diskussionen

Kommentare

Forum feed

[wieder neu] Pagemaster kein Bildupload - Fehlermeldung von Thumbnail  Unten

  • Bei zwei Homepageprojekten, die bei 1und1 gehostet werden nutze ich wie immer Zikula 1.2.8, Pagemaster 0.42 und Thumbnail 1.2.1 - PHP 5.2.17

    Will ich nun ein Bild hochladen kommt folgende Fehlermeldung:

    Code

    Thumbnail generation failed (RenderToFile):

    phpThumb() v1.7.8-200709161750 in file "phpthumb.class.php" on line 216

    setSourceFilename(pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) set $this->sourceFilename to "pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 243

      file_exists() = 0 in file "phpthumb.class.php" on line 1099

    is_executable() = 0 in file "phpthumb.class.php" on line 1100

    using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1119

    ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1146

    ImageMagick did not return recognized version string (Version: ImageMagick 6.6.0-4 2010-11-16 Q16 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
    Features: OpenMP) in file "phpthumb.class.php" on line 1152

    ImageMagick convert --version says "" in file "phpthumb.class.php" on line 1154

    $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 882

    $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 893

    $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 910

    $this->sourceFilename set to "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 811

    setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 917

    $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 953

    SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2999

    starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2856

    $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1223

    phpThumb_tempnam() returning "/homepages/6/d100336828/htdocs/zikula/pThumbawPXjP" in file "phpthumb.class.php" on line 3829

    ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1186

    ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1186

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) SUCCEEDED: a:7:{i:0;i:1024;i:1;i:640;i:2;i:2;i:3;s:25:"width="1024" height="640"";s:4:"bits";i:8;s:8:"channels";i:3;s:4:"mime";s:10:"image/jpeg";} in file "phpthumb.class.php" on line 1312

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) returned [w=1024;h=640;f=2] in file "phpthumb.class.php" on line 1317

    source dimensions set to 1024x640 in file "phpthumb.class.php" on line 1320

    SetOrientationDependantWidthHeight() starting with "1024"x"640" in file "phpthumb.class.php" on line 2835

    SetOrientationDependantWidthHeight() setting w="200", h="126" in file "phpthumb.class.php" on line 2851

    Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1769

    ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1183

    ImageMagick called as (convert -density 150 -background "#FFFFFF" -thumbnail 200x126 -quality 75 -interlace line  "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg[0]" jpeg:"/homepages/6/d100336828/htdocs/zikula/pThumbawPXjP" 2>&1) in file "phpthumb.class.php" on line 1788

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pThumbawPXjP) returned [w=200;h=125;f=2] in file "phpthumb.class.php" on line 1805

    ImageMagickThumbnailToGD::ImageCreateFromJPEG() succeeded, $this->gdimg_source is now (200x125) in file "phpthumb.class.php" on line 1811

    ImageMagickThumbnailToGD() returning $IMresizedData (6557 bytes) in file "phpthumb.class.php" on line 1812

    Skipping rest of GenerateThumbnail() because $this->useRawIMoutput in file "phpthumb.class.php" on line 318

    !$this->config_allow_src_above_docroot therefore setting "/kunden/homepages/6/d100336828/htdocs/zikula//pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf-tmb.jpg" (outside "/homepages/6/d100336828/htdocs/zikula") to null in file "phpthumb.class.php" on line 1064

    RenderToFile() failed because "/" is not writable in file "phpthumb.class.php" on line 531

    Thumbnail generation failed (RenderToFile):

    phpThumb() v1.7.8-200709161750 in file "phpthumb.class.php" on line 216

    setSourceFilename(pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) set $this->sourceFilename to "pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 243

    $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 882

    $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 893

    $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 910

    $this->sourceFilename set to "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 811

    setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 917

    $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 953

    SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2999

    starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2856

    $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1223

    phpThumb_tempnam() returning "/homepages/6/d100336828/htdocs/zikula/pThumbKD1LCZ" in file "phpthumb.class.php" on line 3829

    ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1186

    ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1186

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) SUCCEEDED: a:7:{i:0;i:1024;i:1;i:640;i:2;i:2;i:3;s:25:"width="1024" height="640"";s:4:"bits";i:8;s:8:"channels";i:3;s:4:"mime";s:10:"image/jpeg";} in file "phpthumb.class.php" on line 1312

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) returned [w=1024;h=640;f=2] in file "phpthumb.class.php" on line 1317

    source dimensions set to 1024x640 in file "phpthumb.class.php" on line 1320

    SetOrientationDependantWidthHeight() starting with "1024"x"640" in file "phpthumb.class.php" on line 2835

    SetOrientationDependantWidthHeight() setting w="538", h="346" in file "phpthumb.class.php" on line 2851

    Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1769

    ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1183

    ImageMagick called as (convert -density 150 -background "#FFFFFF" -thumbnail 538x346 -quality 75 -interlace line  "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg[0]" jpeg:"/homepages/6/d100336828/htdocs/zikula/pThumbKD1LCZ" 2>&1) in file "phpthumb.class.php" on line 1788

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pThumbKD1LCZ) returned [w=538;h=336;f=2] in file "phpthumb.class.php" on line 1805

    ImageMagickThumbnailToGD::ImageCreateFromJPEG() succeeded, $this->gdimg_source is now (538x336) in file "phpthumb.class.php" on line 1811

    ImageMagickThumbnailToGD() returning $IMresizedData (39266 bytes) in file "phpthumb.class.php" on line 1812

    Skipping rest of GenerateThumbnail() because $this->useRawIMoutput in file "phpthumb.class.php" on line 318

    !$this->config_allow_src_above_docroot therefore setting "/kunden/homepages/6/d100336828/htdocs/zikula//pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf-pre.jpg" (outside "/homepages/6/d100336828/htdocs/zikula") to null in file "phpthumb.class.php" on line 1064

    RenderToFile() failed because "/" is not writable in file "phpthumb.class.php" on line 531

    Thumbnail generation failed (RenderToFile):

    phpThumb() v1.7.8-200709161750 in file "phpthumb.class.php" on line 216

    setSourceFilename(pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) set $this->sourceFilename to "pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 243

    $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 882

    $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 893

    $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 910

    $this->sourceFilename set to "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg" in file "phpthumb.class.php" on line 811

    setCacheDirectory() starting with config_cache_directory = "" in file "phpthumb.class.php" on line 917

    $this->config_cache_directory () is not a directory in file "phpthumb.class.php" on line 953

    SetCacheFilename() failed because $this->config_cache_directory is empty in file "phpthumb.class.php" on line 2999

    starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2856

    $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1223

    phpThumb_tempnam() returning "/homepages/6/d100336828/htdocs/zikula/pThumbGJIk5a" in file "phpthumb.class.php" on line 3829

    ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1186

    ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1186

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) SUCCEEDED: a:7:{i:0;i:1024;i:1;i:640;i:2;i:2;i:3;s:25:"width="1024" height="640"";s:4:"bits";i:8;s:8:"channels";i:3;s:4:"mime";s:10:"image/jpeg";} in file "phpthumb.class.php" on line 1312

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg) returned [w=1024;h=640;f=2] in file "phpthumb.class.php" on line 1317

    source dimensions set to 1024x640 in file "phpthumb.class.php" on line 1320

    SetOrientationDependantWidthHeight() starting with "1024"x"640" in file "phpthumb.class.php" on line 2835

    SetOrientationDependantWidthHeight() setting w="800", h="800" in file "phpthumb.class.php" on line 2851

    Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1769

    ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1183

    ImageMagick called as (convert -density 150 -background "#FFFFFF" -thumbnail 800x640 -quality 75 -interlace line  "/homepages/6/d100336828/htdocs/zikula/pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf.jpg[0]" jpeg:"/homepages/6/d100336828/htdocs/zikula/pThumbGJIk5a" 2>&1) in file "phpthumb.class.php" on line 1788

    getimagesize(/homepages/6/d100336828/htdocs/zikula/pThumbGJIk5a) returned [w=800;h=500;f=2] in file "phpthumb.class.php" on line 1805

    ImageMagickThumbnailToGD::ImageCreateFromJPEG() succeeded, $this->gdimg_source is now (800x500) in file "phpthumb.class.php" on line 1811

    ImageMagickThumbnailToGD() returning $IMresizedData (81046 bytes) in file "phpthumb.class.php" on line 1812

    Skipping rest of GenerateThumbnail() because $this->useRawIMoutput in file "phpthumb.class.php" on line 318

    !$this->config_allow_src_above_docroot therefore setting "/kunden/homepages/6/d100336828/htdocs/zikula//pagemaster/gsbcqxbrpbtuj35ccswxm6vku9ajyf-full.jpg" (outside "/homepages/6/d100336828/htdocs/zikula") to null in file "phpthumb.class.php" on line 1064

    RenderToFile() failed because "/" is not writable in file "phpthumb.class.php" on line 531


    Und das Bild wird zwar hochgeladen, aber keine Thumbnails angelegt usw.

    Wer kann das entziffern und mir helfen?

    Gruß
    Thomas

  • Ich würd spontan sagen da stimmt was mit dem "convert" binary nicht.
    In der Klasse "phpthumb.class.php" macht er erst ein paar tests, ob das convert den Anforderungen entspricht.
    Unter anderem fragt er die Version ab. Bei der Abfrage kommt keine Antwort zurück.
    Also bricht er ab.
    Klar dass dann dein Bild hoch geladen wird, aber kein Thumb erstellt wird.
    Ich würd mal mit 1und1 sprechen, ob die bei dem hosting Paket den service überhaupt zur Verfügung stellt.

    Gruß Sebastian
  • Robert (rgasch) hat mir auf die Schnelle per Skype geholfen.

    In der Datei modules/Thumbnail/includes/phpThumb/phpthumb.class.php in Zeile 142 den Wert false auf true setzen:

    Code

    var $config_allow_src_above_docroot = true;


    Und dann gehts!
    Danke Robert

  • Mittlerweile taucht der Fehler wieder bei manchen Webseiten auf und der Lösungsweg wie oben beschrieben greift nicht mehr. Hat noch jemand eine Ahnung?

  • Die meisten Server sind bereits umgestellt auf PHP 5.3... und höher.

    Das Hauptproblem ist das das Thumbnail modul mit PHP 5.3.5 nicht funktioniert. Drak hatte zwar mal versucht etwas da zu machen, dadurch das aber Zikula 1.3... mittlerweile "Imagine" benutzt wird das Thumbnail module nicht mehr benötigt.

    Was Du machen könntest, wäre Mediashare mit Scribite und Xinha zu benützen, und das Mediashare plugin in Xinha zu aktivieren.

    Oder Zikula 1.3.3 und Clip 0.9.2 zu benutzen, funktioniert dort alles einwandfrei.



    Bearbeitet von mazdev am 27. Mai 2012 - 03:37.

    Carl Georg aka Mazdev
  • Mateo hilft mir bereits, aber es ist schon seltsam. Der Fehler tritt auf einmal bei immer mehr Projekten auf. Bin gespannt was Mateo jetzt schon bei dem dritten Projekt herausfindet.

  • 0 Benutzer

Diese Angaben basieren auf den Useraktivitäten der letzten 30 Minuten.