PrestaShop Forums: Petite erreur assez embetante ! - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Petite erreur assez embetante !


Petite erreur assez embetante !

#1 priceweb

    PrestaShop Newbie

  • 08 Jul 2008
  • Members
  • Pip
  • 2 posts

Posted 13 July 2008 - 02:48 PM

Bonjour,

Dans les produits, j'ai un petit problème :

Warning: Invalid argument supplied for foreach() in /mnt/102/sdb/a/5/priceweb/modules/productscategory/productscategory.php on line 26

Voir l'erreur sur : priceweb.free.fr dans les catalogues des articles lors de l'affichage

Merci de m'aider

A+

#2

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 13 July 2008 - 05:58 PM

Bonjour, il vous faut modifier la ligne 26 du fichier productscategory.php
Ceci
if ($products)


Par ceci
if ($products && count($products) > 0)


;)

#3

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 14 July 2008 - 03:31 PM

Bonjour Julien,
effectuant par hasard une recherche dans la RC4 en local où ce genre de message était présent (j'utilise la RC5 mais aime bricoler en test sur d'autres versions), je ne trouve pas de fichier productscategory.php... je suppose que sur la RC4 où le problème était présent, ce n'est pas sur le même fichier ?

#4

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 14 July 2008 - 03:45 PM

Je dirai que ce fichier ce trouve dans le module productscategory ;)

#5

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 14 July 2008 - 04:00 PM

PS: c'est HS mais je peux aussi mettre en signature ta barre PSFRANCE ?

#6

    PrestaShop Newbie

  • 15 Dec 2011
  • Members
  • Pip
  • 0 posts

Posted 14 July 2008 - 04:14 PM

Tout le monde peut la mettre ! :D





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users