Jump to content

Immagini non visibili frontoffice


daninapoli

Recommended Posts

Salve a tutti. Vi è mai capitato che i prodotti nel backoffice hanno le immagini e invece nel frontoffice non si vedono ?cliccando sull'immagine il link da immagine non esistente. Ho rigerato le miniature, svuotato la cache, disattivato e riattivato i Friendly Url..

qualcuno può aiutarmi ?

Link to comment
Share on other sites

3 minuti fa, ComGrafPL dice:

Versione PHP e Presta? Hai controllato la fonte delle immagini? Svuota la cache nella cartella VAR, prova su un altro browser.

versione PHP 7.3 prestashop 1.7.6.9 - (ho provato ad aggiornare alla 1.7.8.7) stesso problema.
cache svuotata dalla cartella VAR, provato con 3 browser 

Hai controllato la fonte delle immagini? consigli ?

 

Edited by daninapoli (see edit history)
Link to comment
Share on other sites

Riesci a controllare nel file manager del tuo sito se sono state create le immagini?

Non ricordo l'esatta posizione, però mi sembra che quando carichi un'immagini Prestashop crea una cartella specifica all'interno della cartella "img" con un percorso che dipende dal numero che trovi nel campo "riferimento" del tuo articolo.

Quindi se il riferimento è 1234 dovrebbe inserirti tutte le immagini create in una cartella simile a /img/1/2/3/4 

Dovresti vedere qui se ci sono e se le visualizzi.

 

Riesci poi a vedere eventuali errori nell'error_log.php ?

Edited by daniele dexter (see edit history)
Link to comment
Share on other sites

ho questi errori:

[10-Nov-2022 13:28:24 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:12:55 Europe/Rome] PHP Warning: Error while sending QUERY packet. PID=28382 in /home/saingros/public_html/classes/db/DbPDO.php on line 156 [10-Nov-2022 14:16:57 Europe/Rome] PHP Warning: Error while sending QUERY packet. PID=32743 in /home/saingros/public_html/classes/db/DbPDO.php on line 156 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:10:33 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:52:32 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:59:25 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177

sai consigliarmi qualcosa ?

Link to comment
Share on other sites

4 minutes ago, daninapoli said:

ho questi errori:

[10-Nov-2022 13:28:24 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:12:55 Europe/Rome] PHP Warning: Error while sending QUERY packet. PID=28382 in /home/saingros/public_html/classes/db/DbPDO.php on line 156 [10-Nov-2022 14:16:57 Europe/Rome] PHP Warning: Error while sending QUERY packet. PID=32743 in /home/saingros/public_html/classes/db/DbPDO.php on line 156 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 14:19:17 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:10:33 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:52:32 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177 [10-Nov-2022 15:59:25 Europe/Rome] PHP Fatal error: Uncaught --> Smarty: 0():Missing '$template' parameter <-- thrown in /home/saingros/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php on line 177

sai consigliarmi qualcosa ?

Sinceramente no, questo va oltre alle mie conoscenze...

Link to comment
Share on other sites

Continuando il controllo, le miniature vengono generate nelle varie sotto cartelle, ma l'url non funziona..
qualcuno mi sa dare consigli ?

esempio: 

10115199-small_default/candele-soggetti-natalizi.jpg

immagini presente nelle cartelle img/p/1/0/1/1/5/1/9/9

ma url non visibile nel front-end

 

Edited by daninapoli (see edit history)
Link to comment
Share on other sites

4 hours ago, daninapoli said:

Continuando il controllo, le miniature vengono generate nelle varie sotto cartelle, ma l'url non funziona..
qualcuno mi sa dare consigli ?

esempio: 

10115199-small_default/candele-soggetti-natalizi.jpg

immagini presente nelle cartelle img/p/1/0/1/1/5/1/9/9

ma url non visibile nel front-end

 

Ciao, ho provato a controllare di nuovo, ho trovato questo problema in un'altra discussione:

Dovresti a seguire la soluzione proposta, prima ti consiglio però di farti un backup del sito.

Poi per sicurezza pulisci sempre la cache prima di testare.

 

Link to comment
Share on other sites

44 minuti fa, daniele dexter dice:

Ciao, ho provato a controllare di nuovo, ho trovato questo problema in un'altra discussione:

Dovresti a seguire la soluzione proposta, prima ti consiglio però di farti un backup del sito.

Poi per sicurezza pulisci sempre la cache prima di testare.

 

ho effettuato la rigenerazione del htaccess ma non ho risolto il problema

Link to comment
Share on other sites

facendo varie prove, l'unica soluzione funzionate che mi ha ripristinato le immagini dove non si vedevano e tenere disattivato riscrittura degli URL.
non so se questa cosa è  giusta .

Ho provato diverse volte a riattivare l'opzione ma appena la abilito le immagini non sono + visibili.

Qualcuno sa consigliarmi qualcosa in merito ?

 

Link to comment
Share on other sites

  • 7 months later...
  • 2 months later...
On 7/10/2023 at 3:31 PM, daninapoli said:

veramente non so risponderti... un altro sviluppatore mi ha risolto il problema ma non mi ha voluto dire cosa ha fatto.
cmq credo sia un problema di Friendly Url

Ciao, io ho risolto seguendo le istruzioni di questo link che trovi nel post di @scarletl

"

trasferendo un negozio da un server all'altro puo' accadere che le immagini non vengano visualizzate cosi' come nel caso di Fabio

dopo aver rigenerato le miniature e pulito la cache

sono andata su Parametri Negozio>Traffico e SEO

via FTP ho cancellato il vecchio .htaccess

da BackOffice ho disabilitato Friendly URL e salvato

(gia' facendo un refresh del FrontOffice a questo punto dovrebbero ricomparire le immagini)

ho nuovamente abilitato Friendly Url permettendo cosi' la rigenerazione dell'.htaccess

problema risolto

"

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...