Posts under Open Source Software

How to clear cache in Prestashop 1.6?

advertisement

prestashopPrestashop use Smarty as it’s template engine and Smarty come with caching mechanism. If you are editing your template and you can’t see the changes even you refresh the page, then you can try to clear the template cache at Prestashop admin. BTW, Prestashop version 1.6 come with a handy clear cache button where you can easily clear the template cache by just clicking on the backend button. There is no need to manual delete all the cache thru FTP again!

To clear cache in Prestashop 1.6, follow the steps below:-

Continue reading How to clear cache in Prestashop 1.6? »

Prestashop 1.6: “Unexpected token <” error when upload category thumbnail

advertisement

prestashopRecently i tried to upgrade a Prestashop system from version 1.5 to 1.6. The upgrade scripts shows no error, but when i go there are some hiccups at the backend. When i tried to upload thumbnail for my category, the upload failed. And it show the error message “Unexpected token <“. After some testing and debugging still the same, at the end i tried to reset the Category module and it magically solve the problem!

prestashop category thumbnail upload error, unexpected  token

To solve “Unexpected token <” error when upload category thumbnail in prestashop 1.6, follow the steps below:-

Continue reading Prestashop 1.6: “Unexpected token <” error when upload category thumbnail »

How to block all file access except one using .htaccess

advertisement

htaccessIf you use .htaccess to control the file access, i guess u might came to a situation where you want to block all the files but except one. For an example, you might want to block all the php file access in WordPress wp-content folder using .htaccess. however some of the plugins need to have direct file access (and this is php file too). To solve this problem, you can use htaccess to allow the access for only one file.

To block all access except one file using .htaccess, follow the steps below:-

Continue reading How to block all file access except one using .htaccess »