itbranson Posted December 4, 2010 Share Posted December 4, 2010 Hi all,Well, this often upgrading PS is not easy task for beginners like me. My PS is 1.3.2 and i'm waiting 1.4 final.But then this 1.3.3 has come and i wonder if there's any security related fixings there? If not, i'd like to stay with my 1.3.2 and wait the final 1.4. Thank you very much. Link to comment Share on other sites More sharing options...
rocky Posted December 4, 2010 Share Posted December 4, 2010 There is one security fix in PrestaShop v1.3.3 that I'm aware of. It is line 6 of modules/blockpermanentlinks/blockpermanentlinks-header.tpl (and blockpermanentlinks.tpl) which was changed from: <script type="text/javascript">writeBookmarkLink('{$come_from}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks'}');</script> to: <script type="text/javascript">writeBookmarkLink('{$come_from|replace:"'":''|addslashes}', '{$meta_title|addslashes|addslashes}', '{l s='bookmark' mod='blockpermanentlinks'}');</script> Link to comment Share on other sites More sharing options...
itbranson Posted December 4, 2010 Author Share Posted December 4, 2010 Many thanks Rocky! Today i decided to update my PS myself...first time! So far it seems i've updated the software correctly. I exactly followed the steps in wiki. There was only one thing that was confusing, it's about .htaccess file. In my old prestashop folder, there wasn't htaccess file. I didn't know where to find. There was one htaccess file that belongs to my other website, but didn't really find htaccess for PS. Any hint for my embarrising confusion? Link to comment Share on other sites More sharing options...
rocky Posted December 4, 2010 Share Posted December 4, 2010 I guess you didn't have friendly URLs enabled on your old site. You can simply upload a blank .htaccess file (with chmod 666 permissions) then go to Tools > Generators > Generate .htaccess file to create one. Link to comment Share on other sites More sharing options...
itbranson Posted December 5, 2010 Author Share Posted December 5, 2010 Thank you again. I have created .htaccess as you recommended and turned on Friendly URL. But then when i see my product categories, it says the URL is not availble and doesn't display my products. When i turned off Friendly URL, then the page is loaded Ok.My hosting is Hostgator and am sure they allow URL rewriting.I believe i've done something wrong, or? Link to comment Share on other sites More sharing options...
rocky Posted December 5, 2010 Share Posted December 5, 2010 You must generate a .htaccess file before friendly URLs will work. Follow the instructions in my previous post. Link to comment Share on other sites More sharing options...
itbranson Posted December 5, 2010 Author Share Posted December 5, 2010 yes, now it's working. I first turned on Friendly URL and then generated .htaccess file and now it's working charmingly.Thank you very much as usual. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now