Impossible de charger une image dans un champ image

More
12 years 8 months ago #22945 by bmsenlis
Bonjour,
je reviens avec un problème que je n'ai pas réglé depuis 2 ans.
Je viens de faire une MAJ en 1.5.5 et je ne peux plus intégrer d'image dans les articles. J'obtiens systématiquement l'erreur suivante :
Failed2:

phpThumb() v1.7.9-200805132119

"" does not exist

phpThumb() v1.7.9-200805132119 in file "phpthumb.class.php" on line 216

setSourceFilename(/var/www/bmsenlis/sitebmsenlis/jc15/components/com_flexicontent/uploads/thumb-275_m9521.jpg) set $this->sourceFilename to "/var/www/bmsenlis/sitebmsenlis/jc15/components/com_flexicontent/uploads/thumb-275_m9521.jpg" in file "phpthumb.class.php" on line 243

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

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

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

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

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

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

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

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

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

!$this->config_allow_src_above_docroot therefore setting "/var/www/bmsenlis/sitebmsenlis/jc15/components/com_flexicontent/uploads/thumb-275_m9521.jpg" (outside "/var/www/bmsenlis/html") to null in file "phpthumb.class.php" on line 1070

$this->sourceFilename set to "" in file "phpthumb.class.php" on line 817

phpThumb() v1.7.9-200805132119

"" does not exist in file "phpthumb.class.php" on line 3709

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

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

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

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

skipping GetImageSize() because $this->sourceFilename is empty in file "phpthumb.class.php" on line 2932

GetImageSize("") failed in file "phpthumb.class.php" on line 2959

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

ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1295

ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2966

SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2899

SetOrientationDependantWidthHeight() setting w="360", h="480" in file "phpthumb.class.php" on line 2915

EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 3015

starting SourceImageToGD() in file "phpthumb.class.php" on line 3273

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

ImageMagickThumbnailToGD() aborting because $this->sourceFilename is empty in file "phpthumb.class.php" on line 1295

Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3329

$this->gdimg_source is still empty in file "phpthumb.class.php" on line 3381

ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3383

phpThumb() v1.7.9-200805132119

Unable to create image, neither filename nor image data suppplied in SourceImageToGD() [3490] in file "phpthumb.class.php" on line 3709

SourceImageToGD() failed in file "phpthumb.class.php" on line 323"
J'ai soumis ce problème il y a 2 ans après avoir parcouru les différents forums qui évoquent ce problème : sans résultat. Je ne me suis pas étendu vu que j'arrivais à faire de l'intégration d'images depuis 1 poste (et pas des autres).
Mais depuis la MAJ, aucun des postes utilisés ne permet de faire l'intégration d'image.
Il faut absolument que je débrouille ce problème.
SI quelqu'un peut me donner un début d'explication et de solution, je suis preneur.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #22962 by ggppdk
make a copy of site and test with v1.5.6:

code.google.com/p/flexicontent/downloads/list

also provide more details, it occurs in image field or in blog category layout?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #22964 by micker
as tu verifie le chmood du dossier phpthumb
voir faq
www.flexicontent.org/documentati ... ctory.html

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #22984 by bmsenlis
J'ai vérifié le chmod du dossier phpthumb et je l'ai modifié en 0777.
Rien n'a changé.

Et pour répondre à ggppdk, le problème existe en backend lorsque je veux charger une image dans un champ image en édition d'un contenu.

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #22987 by micker
bizarre ... ta regarder coter hebergement ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #22994 by ggppdk
You have missed a fix for this , reported by torkil

www.flexicontent.org/forum/index ... =viewtopic

It seems the imagemagick version in your server has been updated, and the new version changes the characters/format used when reporting version, so phpthumb way of recognizing does not work any more:

in compontents/com_flexicontent/libraries/phpthumb/phpthumb.class.php

replace:
^Version: [^0-9]*([ 0-9\\.\\:Q/]+) (http|file)\:
with (Q/ becomes Q/-)
^Version: [^0-9]*([ 0-9\\.\\:Q/-]+) (http|file)\:

Original Fix proposed here:
stackoverflow.com/questions/1877 ... ck-imagick


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.087 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline