Predoi Posted August 6, 2009 Share Posted August 6, 2009 with friendly URL enable, images from modules are not loadedonly works on homepage and categoriesmodules affected:toppagepeel - doesn't load image in product pageswiznav - menu not displayed corectly (is going in header as links) in product pages blockadvertising - doesn't load image in product page help wanted, thanks ! Link to comment Share on other sites More sharing options...
Snol Posted August 6, 2009 Share Posted August 6, 2009 this is sometimes caused by the .htaccess not being correctly written, check its like this# URL rewriting module activationRewriteEngine onAddType x-mapp-php5 .php# URL rewriting rulesRewriteRule ^([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 ^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]RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]# Catch 404 errorsErrorDocument 404 /404.phpthe number 1 s at the beginning are actually hashes.can you tell me how you solved the block advertising pronlem, I have it too.ThanksJohn Link to comment Share on other sites More sharing options...
Predoi Posted August 6, 2009 Author Share Posted August 6, 2009 not working at all with your .htaccessvery nervous about this issue, no one help- block advertising :1 - copied /modules/blockadvertising/advertising.jpg to (root)/img2- modify in /modules/blockadvertising/blockadvertising.php like:$this->name = '';and$smarty->assign('image','/img' .$this->name.'/advertising.jpg');ROMANIA Link to comment Share on other sites More sharing options...
jolvil Posted August 6, 2009 Share Posted August 6, 2009 EDIT: you're right doensnt work on product page, my .htaccess is good Link to comment Share on other sites More sharing options...
Predoi Posted August 6, 2009 Author Share Posted August 6, 2009 i knew it ) ,but someone must solve this quickly Link to comment Share on other sites More sharing options...
chustaweb Posted August 14, 2009 Share Posted August 14, 2009 Hi,I got same problemTHANKS FOR YOUR HELP !!! Link to comment Share on other sites More sharing options...
Dio Posted August 14, 2009 Share Posted August 14, 2009 Its really not working Link to comment Share on other sites More sharing options...
RogerT Posted August 15, 2009 Share Posted August 15, 2009 I have the same problem .... Link to comment Share on other sites More sharing options...
chustaweb Posted August 24, 2009 Share Posted August 24, 2009 Hi,This module its so interesting and its a pity that it doesn´t work on 1.2 version.Can someone solve it?MANY THANKS !! Link to comment Share on other sites More sharing options...
x-pro Posted September 9, 2009 Share Posted September 9, 2009 Me too... I've some problem like thats. Please any body can solved this with simple step. Need please..Thanks before Link to comment Share on other sites More sharing options...
phantomeye Posted October 15, 2009 Share Posted October 15, 2009 Will it help if for all the modules we move the images to the root directory img folder. Then modify all templates to point to the new location and then regenerate the .htaccess Link to comment Share on other sites More sharing options...
muktadir Posted October 20, 2010 Share Posted October 20, 2010 Can you try this fix? If it doesn't work, let me know.http://www.icodebd.com/prestashop-search-engine-friendly-url-error/ Link to comment Share on other sites More sharing options...
Recommended Posts