Jump to content

Recommended Posts

Ciao a tutti ho da poco reinstallato exnovo l'ultima release di prestashop, la 1.4.1..

ho attivato il friendly url, ho generato il file .htaccess, ma niente le immagini dei prodotti non si vedono..

si vedono solo dal bo in catalogo..

ho provato a ricaricare il vecchio .htaccess.. ma lo stesso..

gli url friendly sono attivi ma non visualizzo le immagini, ho provato a svuotare piu volte la cache..ma niente..

Link to comment
Share on other sites

prova ad incollare questo nel file .htaccess ciao :)

 

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution

# http://www.prestashop.com - http://www.prestashop.com/forums

 

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]

RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]

RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]

RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]

RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]

 

RewriteRule ^lang-([a-z]{2})/content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$2&isolang;=$1 [L,E]

 

RewriteRule ^lang-([a-z]{2})/order.php(.*)$ /order.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/order-confirmation.php(.*)$ /order-confirmation.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/history.php(.*)$ /history.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/my-account.php(.*)$ /my-account.php?isolang=$1 [L,E]

 

RewriteRule ^lang-([a-z]{2})/order-slip.php(.*)$ /order-slip.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/addresses.php(.*)$ /addresses.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/address.php(.*)$ /address.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/identity.php(.*)$ /identity.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/discount.php(.*)$ /discount.php?isolang=$1 [L,E]

 

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

 

# Catch 404 errors

ErrorDocument 404 /404.php

Link to comment
Share on other sites

Ciao a tutti ho da poco reinstallato exnovo l'ultima release di prestashop, la 1.4.1..

ho attivato il friendly url, ho generato il file .htaccess, ma niente le immagini dei prodotti non si vedono..

si vedono solo dal bo in catalogo..

ho provato a ricaricare il vecchio .htaccess.. ma lo stesso..

gli url friendly sono attivi ma non visualizzo le immagini, ho provato a svuotare piu volte la cache..ma niente..

 

aggiungo che mi da anche come errore in "informazoni di configurazione"...

 

AdminInformation.gif Verifica la tua configurazione

Parametri richiesti: OK

Parametri opzionali: Consulta il/i seguente/i errore/i

  • Definisci l'opzione PHP "register global" su "off"

questa cosa qui sopra..

ho istallato la versione finale e mi appare ancora questo

 

 

 

Your current prestashop version : 1.2.5.0

Last version is 1.4.4.1 final (1.4.4.1)

  • information.png Latest Prestashop version available is: 1.4.4.1 final

Upgrade PrestaShop now !

 

come é possibile?

Link to comment
Share on other sites

prova ad incollare questo nel file .htaccess ciao :)

 

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution

# http://www.prestashop.com - http://www.prestashop.com/forums

 

# URL rewriting module activation

RewriteEngine on

 

# URL rewriting rules

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]

RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]

RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]

RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E]

RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E]

RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E]

 

RewriteRule ^lang-([a-z]{2})/content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$2&isolang;=$1 [L,E]

 

RewriteRule ^lang-([a-z]{2})/order.php(.*)$ /order.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/order-confirmation.php(.*)$ /order-confirmation.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/history.php(.*)$ /history.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/my-account.php(.*)$ /my-account.php?isolang=$1 [L,E]

 

RewriteRule ^lang-([a-z]{2})/order-slip.php(.*)$ /order-slip.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/addresses.php(.*)$ /addresses.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/address.php(.*)$ /address.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/identity.php(.*)$ /identity.php?isolang=$1 [L,E]

RewriteRule ^lang-([a-z]{2})/discount.php(.*)$ /discount.php?isolang=$1 [L,E]

 

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

 

# Catch 404 errors

ErrorDocument 404 /404.php

 

fatto ma ancora non va.....

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...