Bonjour
Après l’installation et la mise en place de Thelia en local (avec MAMP), j'ai migré ma boutique sur un serveur web. Ça a pas été de la tarte, avec transfert de la base de donnée, réinitialisation du mot de passe, petites bidouilles à droite à gauche pour retrouver mes plug-ins, mon catalogue et tout le bazar.
Tout marche, sauf un truc.
Mes images (associées aux rubriques et produits) ont sauté. J'ai des belles lignes de debug en haut des pages qui font appel aux images :
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______14413_crevettes-grises_26.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13856_pave-thon-alba__25.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13854_cœur-colin-al_24.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13851_fil-raie_23.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13849_fil-fletan-gro_22.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13846_fil-eglefin_21.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13844_fil-dorade-seb_20.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13702_moule-deco_19.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______13687_fruit-mer-paella_18.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/htdocs/public/www/thelia/fonctions/../client/cache/produit/140_______11171_queue-langoustine_17.jpg' for writing: No such file or directory in /htdocs/public/www/thelia/fonctions/image.php on line 85
(dans le code, le répertoire htdocs est celui où était le dossier thelia sur mon install locale).
Quand je vais voir dans le code HTML des pages générées, je note qu'il va chercher l'image dans le cache.
J'ai donc essayé de vider le cache, mais rien n'y fait.
Alors je me suis dit que sur chaque produit j'allais supprimer l'image et la ré-uploader, mais la prévisualisation de l'image ne fonctionne pas (dans le BO, les liens vers les images sont brisés. Pourtant, un clic sur la vignette (absente) ouvre une nouvelle page avec mon image. L'upload marche donc bien !
Je suis donc un peu bloqué, d'une part le FO qui va chercher un cache qui n'existe pas, et d'autre part le BO qui n'arrive à pas à prévisualiser mes images...
Euh, je fais quoi ?
Je peux si vous voulez vous donner l'URL et créer un client fictif pour que vous voyiez ce qui se passe.