Probleme phpthumb in flexicontent category

More
10 years 3 months 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
10 years 3 months 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...

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

More
10 years 3 months 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
10 years 3 months 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...

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

More
10 years 3 months ago #44206 by micker
apres AMEN c'est bien pourri comme hebergeur ... :lol:

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
10 years 3 months ago #44224 by artisanet
Bjr GGPPDK

Merci pour ton coup de main

Comment fais-je pour executer la commande php :
<?php
echo "HTTP root folder:".$_SERVER."<br/>";
?>

J'ai trouvé une information pour changer la variable :
$_SERVER

j'ai modifié ainsi (ligne 75)
var $config_document_root = '/htdocs/public/www/site2';

sachant que mes paramètres serveur dans ma config generale sont /htdocs/public/www/site2

et j'ai aussi commenté la ligne 220 $this->config_document_root = (!empty($_SERVER) ? $_SERVER : $this->config_document_root);

jacky

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.588 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