v2.0 RC4 bug du Plugin image

More
12 years 6 months ago #24653 by amphasys
Dans plugins/flexicontent_fields/image/image.php

ajouter la correction suivante :

ligne 290 à ligne 293 :
Code:
$path = JPath::clean(JPATH_SITE . DS . $field->parameters->get('dir') . DS . 'l_' . $value['originalname']); if(!file_exists($path)) continue; $size = getimagesize($path);

Avant de faire un traitement sur un fichier on ajoute toujours un test sur l'existance de celui-ci.

ça évite les erreurs notice

dans notre cas si le fichier n'existe plus (supprimé en ftp) alors on passe à l'itération suivante (foreach)

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

More
12 years 6 months ago #24662 by micker
Replied by micker on topic v2.0 RC4 bug du Plugin image
pouvez vous mettre ca dans le bug tracker ca lui evite de chercher
Merci

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.

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