[Skip to main content](#vessel-content)

#   Possible Bug dans le helper BackEnd

##

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

8 years 10 months ago -  8 years 10 months ago [\#286323](#286323) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  *[Possible Bug dans le helper BackEnd](/forum/5-support-en-francais-french-support-/893541-possible-bug-dans-le-helper-backend#286323 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Bonjour,  J'ai voulu utiliser la fonction $imageHelper-&gt;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:  par  Nicolas")* was created by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3

Bonjour,

J'ai voulu utiliser la fonction $imageHelper-&gt;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 10 months ago by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzNTQxLXBvc3NpYmxlLWJ1Zy1kYW5zLWxlLWhlbHBlci1iYWNrZW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 10 months ago [\#286325](#286325) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Possible Bug dans le helper BackEnd](/forum/5-support-en-francais-french-support-/893541-possible-bug-dans-le-helper-backend#286325 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Bonjour,  J'ai voulu utiliser la fonction $imageHelper-&gt;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:  par  Nicolas")*

Bonjour,

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

Cordialement,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzNTQxLXBvc3NpYmxlLWJ1Zy1kYW5zLWxlLWhlbHBlci1iYWNrZW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")**
- [![nilegoff's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11694-nilegoff "View nilegoff's Profile") Topic Author
- [ Offline](/forum/user/11694-nilegoff)

Less More

- Posts: 99
- Thank you received: 3
-
-
-

8 years 10 months ago [\#286369](#286369) by [nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")  Replied by *[nilegoff](/forum/user/11694-nilegoff "View nilegoff's Profile")* on topic *[Possible Bug dans le helper BackEnd](/forum/5-support-en-francais-french-support-/893541-possible-bug-dans-le-helper-backend#286369 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Bonjour,  J'ai voulu utiliser la fonction $imageHelper-&gt;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:  par  Nicolas")*

Bonjour,

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

Nicolas

---

Joomla 3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzNTQxLXBvc3NpYmxlLWJ1Zy1kYW5zLWxlLWhlbHBlci1iYWNrZW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

8 years 10 months ago [\#286375](#286375) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Possible Bug dans le helper BackEnd](/forum/5-support-en-francais-french-support-/893541-possible-bug-dans-le-helper-backend#286375 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3  Bonjour,  J'ai voulu utiliser la fonction $imageHelper-&gt;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:  par  Nicolas")*

Bonjour,

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODkzNTQxLXBvc3NpYmxlLWJ1Zy1kYW5zLWxlLWhlbHBlci1iYWNrZW5kP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
