Shutiri Posted December 10, 2012 Share Posted December 10, 2012 Hello, I'm on a fresh install of PS 1.5.2 and I can't make several things work. I already reported multi-store functionality not working for me at all, so I desisted for now. I still need this functionality though. Now I can't make friendly URLs work, which can be one of the reason multi-store didn't work (?). mod_rewrite is active on my server, I checked with my hosting company. Under Preferences, I get the message: URL rewriting (mod_rewrite) is not active on your server or it is not possible to check your server configuration. If you want to use Friendly URLs you must activate this mod. I activated the option anyway to try. In my htaccess, this line is present: RewriteEngine on I get page-not-found with a nice 404 on Firefox and a page-not-found with a broken page on IE9 Please advise. BTW, I'm finding a lot of bugs in PS 1.5.2. Any ideas when 1.5.3 willbe available ? I'm considering PS, OC and even Magento to move my business out from OsCMax; it's looking like troubles with PS so far. Thank you. Link to comment Share on other sites More sharing options...
deepee Posted December 10, 2012 Share Posted December 10, 2012 I've been using Friendly URL's but with some issues. It always gives the warning about mod_rewrite (even if it's switched on) so you can probably assume it is active. Try switching the three options on and off a few times in different sequences and remember to clear your browser cache after each test. Link to comment Share on other sites More sharing options...
Muad'Dib Posted December 10, 2012 Share Posted December 10, 2012 (edited) Hello, If you updated from an earlier version or if you already had .htaccess in the folder you need to make sure you .htaccess is not polluted with old and useless stuff. When updating and then regenerating your .htaccess from BO, it only append some stuff at the end, however previous rules you had are useless now and not only they make the new rules not work properly (loop). Make a backup of your .htaccess, and get rid off anything before the 'start'. Hope this helps. Cheers. Edited December 10, 2012 by Muad'Dib (see edit history) Link to comment Share on other sites More sharing options...
Shutiri Posted December 10, 2012 Author Share Posted December 10, 2012 Thank you both. As I said, this is a fresh 1.5.2 install. Still not working. I'll keep trying; if somebody has any other idea, please don't hesitate. Link to comment Share on other sites More sharing options...
Tomin Posted December 10, 2012 Share Posted December 10, 2012 I have some problem with URL rewrite as well. It kinda works.. In FO switching to second language works ok. Switching back to main language gives 404 error. As we are using ngnix based server, .htaccess has been manually rewritten and our hosting provider say's that this is PRESTASHOP problem, not serverside. Link to comment Share on other sites More sharing options...
Shutiri Posted December 10, 2012 Author Share Posted December 10, 2012 I switched on and off several times, changed the htaccess (it only had 2 blank lines before start). Now it kinda works too. It only works with the cat ID before the friendly URL, like 3-ipods for example, which is not what I really need (I don't want the number before the cat name, but I guess this is something I can set somewhere). Newly created root category won't work though. And multi-store is trying to work also, switching it off and on again. But I can't access the alternate shop because its 'friendly' URL won't work either (i.e website.com/folder). Still struggling. Link to comment Share on other sites More sharing options...
sebduc Posted December 10, 2012 Share Posted December 10, 2012 i have the same problem impossible to use url rewriting i have an iis server with the 1.4.3 all are good but not with 1.5.2... do you have an idea? Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 10, 2012 Share Posted December 10, 2012 sebduc, I use Windows Server as well. I was able to translate 1.4 but not 1.5 into url rewrite 2.0. Finally I installed, http://www.helicontech.com/isapi_rewrite/ V. 3 and it's great! It uses the .htaccess file directly so no need to import. Link to comment Share on other sites More sharing options...
Puriom Posted December 11, 2012 Share Posted December 11, 2012 I've heard it's bug. We were asked to be patient till next release. I cannot confirm the above, as I have to re-search the forum again for the link. Link to comment Share on other sites More sharing options...
sebduc Posted December 11, 2012 Share Posted December 11, 2012 sebduc, I use Windows Server as well. I was able to translate 1.4 but not 1.5 into url rewrite 2.0. Finally I installed, http://www.heliconte.../isapi_rewrite/ V. 3 and it's great! It uses the .htaccess file directly so no need to import. I don't install because i have other application and it's not compatible i prefer wait prestashop heard this bug...) Thanks Link to comment Share on other sites More sharing options...
nellybongo Posted December 16, 2012 Share Posted December 16, 2012 (edited) Had the same problem and it was definitely the theme I was using, The Doctype is was creating was the wrong one, the theme was creating this <!doctype html> and affecting the way the .htaccess file was working, but should have been this, <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> Please try this on a test site before changing any metatags etc, Read more here http://www.alistapar...ticles/doctype/ Ps You can see this doctype on this website, view source, http://www.quit-smoking-ecigs.com Using ps 1.5.2.0 and LAMP Edited December 16, 2012 by nellybongo (see edit history) Link to comment Share on other sites More sharing options...
nellybongo Posted December 16, 2012 Share Posted December 16, 2012 (edited) Ps You can see this doctype on this website, view source, http://www.quit-smoking-ecigs.com Using ps 1.5.2.0 and LAMP Edited December 16, 2012 by nellybongo (see edit history) Link to comment Share on other sites More sharing options...
nellybongo Posted December 16, 2012 Share Posted December 16, 2012 Just an update when I added products again the problem came back, I jumped to conclusion that it was doctype, but this is not the case, sorry guys, this is really baffling now. Trying to figure out the last steps. Link to comment Share on other sites More sharing options...
nellybongo Posted December 16, 2012 Share Posted December 16, 2012 (edited) I have found that under Advanced Parameters>Performance the Smart Cache for CSS, when this was changed to Use CCC for CSS the problem was solved, i`ll keep you updated. Edited December 16, 2012 by nellybongo (see edit history) Link to comment Share on other sites More sharing options...
toninovak66 Posted January 21, 2013 Share Posted January 21, 2013 sebduc, I use Windows Server as well. I was able to translate 1.4 but not 1.5 into url rewrite 2.0. Finally I installed, http://www.heliconte.../isapi_rewrite/ V. 3 and it's great! It uses the .htaccess file directly so no need to import. Hi Bill, is there anything else you need to do to get this working in a windows server environment? Do you need to create any templates on the server or anything or just install this and let the software regenerate the .htaccess file? Or do you need to do anything with that file to get the server to read it? I just did a new install of v 1.5.3.1 and am using the default template for now with the test products and need to get the friendly urls working before I try to import thousands of products and find out it won't work. Here is my server config just FYI. Server information: Windows NT build 7601 (Windows Server 2008 R2 Web Server Edition Service Pack 1) i586 Server software version: Microsoft-IIS/7.5 PHP version: 5.3.13 I think right now all we did was enable the url rewrite that is standard with IIS7 and it's not working at all. I've tried enabling and disabling all three choices in the friendly URL section and none of them work. Images do not show when it's enabled either. The template that was created for the default when this was enabled is this: index.php?id_product={R:1}&controller={R:2}&id_lang={R:3} and I'm not the server admin so I don't know anything about this really but I'm trying to find a fix and any info you could provide would be greatly appreciated. Link to comment Share on other sites More sharing options...
KSteele Posted June 27, 2013 Share Posted June 27, 2013 Hello, If you updated from an earlier version or if you already had .htaccess in the folder you need to make sure you .htaccess is not polluted with old and useless stuff. When updating and then regenerating your .htaccess from BO, it only append some stuff at the end, however previous rules you had are useless now and not only they make the new rules not work properly (loop). Make a backup of your .htaccess, and get rid off anything before the 'start'. Hope this helps. Cheers. This solution worked for me... however, I must say that I did NOT upgrade or have a previous installation.. this was a fresh install, Yet I had code within my .htaccess file that needed to be removed before this would work. THE FIX: I removed everything above this section: # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums Link to comment Share on other sites More sharing options...
abhijeetkumar Posted July 13, 2013 Share Posted July 13, 2013 Can anyone please check the post http://www.prestasho...ly-url-enabled/ and suggest what needs to be done? Our system is already has use the legacy image filesystem as no. Also we are using all custom images. Will moving images to new file system help? mod-rewrite is also enabled on our server and URLs are also getting created properly. Images are showing properly in admin panel. Regards, Abhijeet Link to comment Share on other sites More sharing options...
flyclothing Posted August 7, 2013 Share Posted August 7, 2013 I guess this is still an issue. Has a solution be found or will the bug be fixed? Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2013 Share Posted August 8, 2013 in the prestashop 1.5.4.1 everything works fine may i know what ps version you use? 1.5.2 ? Link to comment Share on other sites More sharing options...
flyclothing Posted August 8, 2013 Share Posted August 8, 2013 I am on version 1.5.4.1 Link to comment Share on other sites More sharing options...
nienha Posted October 15, 2013 Share Posted October 15, 2013 I am on a fresh install on version 1.5.6..0 and got this exact problem, working on finding a fix... Link to comment Share on other sites More sharing options...
nienha Posted October 16, 2013 Share Posted October 16, 2013 Found the solution here: http://www.jarrodoberto.com/articles/2011/11/enabling-mod-rewrite-on-ubuntu 1 Link to comment Share on other sites More sharing options...
Recommended Posts