Skip to main content

Possible Bug dans le helper BackEnd

8 years 9 months ago - 8 years 9 months ago #286323 by nilegoff
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3

Bonjour,

J'ai voulu utiliser la fonction $imageHelper->getThumbnail pour generer des images, mais avec la variable $cachePath.

J'ai pour message d'erreur que la fonction JFolder::clearpath n'existe pas (Ligne 373 du fichier image.php dans le helper du Back end.)

Ne faudrait il pas remplacer:
Code:
$cachePath = rtrim(JFolder::cleanPath($cachePath), DS) . DS;
par
Code:
$cachePath = rtrim(JFolder::makeSafe($cachePath), DS) . DS;

Nicolas

Joomla 3
Last edit: 8 years 9 months ago by nilegoff.

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

8 years 9 months ago #286325 by Jerome
Bonjour,

Comme cela je dirais plutôt "JFolder::clean()" comme on peut le voir dans les lignes alentours.

Cordialement,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

8 years 9 months ago #286369 by nilegoff
Bonjour,

Je ne retrouve pas de JFolder::Clean() dans l'API 3.8
api.joomla.org/cms-3/classes/JFolder.html

Nicolas

Joomla 3

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

8 years 9 months ago #286375 by nicolas
Bonjour,

Jérôme voulait dire JPath::clean()
Nous allons changer cela pour la prochaine version.
Merci du retour.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum