Probleme phpthumb in flexicontent category

More
12 years 2 weeks ago #44132 by artisanet
Bjr
J'ai un serieux problème avec le phpthumb de Flexicontent
sur le serveur Amen
Je précise bien sur le serveur Amen , car ailleurs ce problème n'exite pas

c'un peu la meme chose que dans ce ticket de GamerLive:
flexicontent.org/forum/index.php?f=20&t=...5dbf2&rb_v=viewtopic

mais seulement sur les page categorie , je n'utilise pas de module
Phpthumb ne sait pas indiqué correctement l'adresse du repertoire images pour afficher les photos vignettes de mes articles exactement comme pour GamerLive

J'ai suivi les conseil de GGPPDK ,
- modifier dans phpthumb la ligne de code :
var $config_disable_debug = true;
en var $config_disable_debug = false;

par contre je n'arrive pas à trouver celle-ci :
$PHPTHUMB_CONFIG = true;

Après je n'arrive pas à comprendre ce que veut expliquer GGPPDK ....

J'ai trouver dans phpthumb.class.php , une ligne de code qui me parait bizarre à la ligne 3844:
$text = 'phpThumb() v'.$this->phpthumb_version."\n".'http://phpthumb.sourceforge.net'."\n\n".($this->config_disable_debug ? 'Error messages disabled' : $text);

GGPPDK , peux tu me donner un coup de main stp ? Merci

Jacky

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

More
12 years 2 weeks ago #44137 by ggppdk
Hello

you edited wrong file, please restore it

the configuration file of phpThumb is (see the FAQ article mention below):
components/com_flexicontent/libraries/phpThumb/phpThumb.config.php

Reasons for error during phpThumb thumbnail creation are explained here:
I get "error messages disabled" during phpThumb thumbnail creation

you either have bad path in your custom template, or wrong ownership of the phpThumb cache folder, or wrong configured path inside your image field, etc

Also the above FAQ article says how to enable printing of error messages

Regards


-- 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 review. Thanks!

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

More
12 years 2 weeks ago #44145 by artisanet
Bjr GGPPDK

mon message d'hier n'était pas bon ...
j'ai trouvé $PHPTHUMB_CONFIG = true;

Par contre , j'ai essayé toutes les solutions trouvé à ce sujet sur le forum , CHMODER en 755 les répertoires et c'est tjs pareil

Je fouille , je fouille dans le code , mais le php , c'est pas mon truc ....

Dans phpThumb.php , ligne 250, cette ligne de code n'est-elle pas à modifier pour indiquer le bon path du serveur ?
if (@$_GET && !@$PHPTHUMB_CONFIG && preg_match('#^http://'.@$_SERVER.'(.+)#i', @$_GET, $matches)) {
$phpThumb->ErrorImage('It is MUCH better to specify the "src" parameter as "'.$matches[1].'" instead of "'.$matches[0].'".'."\n\n".'If you really must do it this way, enable "allow_local_http_src" in phpThumb.config.php');
}

associé peut-etre à une autre modif dans phpThumb.config.php

merci bcp

Jacky

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

More
12 years 2 weeks ago #44146 by ggppdk
Hello

we do not provide support for the source code phpThumb itself,

in your case please copy paste the error message that phpThumb gives you

i still do not know what the error message is


-- 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 review. Thanks!

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

More
12 years 2 weeks ago #44160 by artisanet
merci de t'occuper de mon problème

Je t'envoie une capture d'écran



Bien sur le repertoire images/bureau existe ainsi que le fichier Beatrice_Organi.jpg

Je te mets un lien du site :
www.sauvonslesabeilles.com/2/index.php/l...tion/qui-sommes-nous

Je te remercie

Jacky

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

More
12 years 2 weeks ago #44169 by ggppdk
Hello

the joomla subfolder that your site seems to be
'2'

if you check the FAQ article that i have suggested above, then you will find this:

- your joomla folder path has invalid / bad characters , e.g. it starts with number



please change the name of the subfolder so that it does not start with a number !
e.g. change it to
'site2'


-- 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 review. Thanks!

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

More
12 years 2 weeks ago #44185 by artisanet
Bjr GGPPDK

j'ai changé le nom du repertoire en "site2" , mais c'est tjs la meme chose

www.sauvonslesabeilles.com/site2/index.p...tion/qui-sommes-nous

merci

jacky

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

More
12 years 2 weeks ago #44193 by ggppdk
Hello

there must be a problem with your web server configuration
maybe some problem with the document root of your web server

see the FAQ of phpThumb below:




Q: I'm getting "<filename> does not exist" when I know the
file does exist
A: Check that these two values are present and properly
configured in phpThumb.config.php (introduced in v1.6.0):
$PHPTHUMB_CONFIG (default=false)
$PHPTHUMB_CONFIG (default=true)
If your images are outside DOCUMENT_ROOT (this includes if
you have an image upload form, most likely the images will
get uploaded to "/tmp/<file>" or similar) then you will have
to configure 'allow_src_above_docroot' to true.
Make sure whatever user the webserver is running as has read
permission to the file/directory you're reading from


-- 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 review. Thanks!

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

More
12 years 2 weeks ago #44201 by artisanet
ggppdk

j'avais déjà cette config :
$PHPTHUMB_CONFIG = false;
$PHPTHUMB_CONFIG = true;

Dans la 2e partie , je pense que tu parles des CHMOD
Oui, mon repertoire images est à 755
et j'ai suivi tes conseils que j'ai vu sur le forum pour CHMODER phpthumb (755 repertoire et 644 fichiers , c'est bien ça ?)

merci

Jacky

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

More
12 years 2 weeks ago #44204 by ggppdk
Hello

does PHP variable
$_SERVER
point to the correct path ?

please execute:
<?php
echo "HTTP root folder:".$_SERVER."<br/>";
?>
what is the value of it ?

The value of the above variable must point above the folder ".../site2/..."


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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
Save