Possible to clean img/p folder in prestashop? - image

How is it with the img/p folder in Prestashop 1.6.0.9? Is it possible fully to clean it? Cause this folder went to big now, and FTP is almost full now, i need space. For example when i renamed it on FTP, all images on the website worked, and prestashop created automaticaly one new img/p folder, and all seems that works right (also when the initial img/p was out after renaming). Thanks in advance.

when you delete the folder you may see the images working, its from smarty cache, once you clear the smarty cache, presta default (not found) image will be shown.

Related

Opencart 2 caching

Has opencart 2.1 a cache system apart from modification?
I'm trying to restyle an opencart 2.1 site.
I've modified catalog/view/theme/my-theme/template/product/product.tpl
but I'm not able to see my updates.
The site has only 1 modification that affects Admin area...I've also tried to disable it and update cache, but without success.
I've tried to open site in another browser, but nothing.
Finally I've tried to rename product.tpl to product111.tpl (also in view/theme/default/product)... but the original product page is still loaded.
Does someone know why this happens?
UPDATE : I haven't found a solution, so I made a fresh installation, applied custom theme and then copied modified files... everything is Ok now. If I modify product.tpl, all changes are visible in product page.
If you have vQmod installed there is a vqcache also.
You can check to see if you have vQmod installed like this:
yoursite.com/vqmod/install
It should usually clear itself, but if it doesn't then you can safely rename the vqcache folder to clear it.
The reason I say rename rather than delete is that sometimes a change to the cache will show an error which wasn't spotted when the original change was made and might prevent orders until it's fixed. If you rename then you can place the folder back and it will work again but of course you should fix the error when you can.

magento file upload not working

I have this odd situation. When creating (or updating) a product in the images section whenever I select a file (or multiple files) the list the selected files doesn't appear therefore I can't upload any images to a product. I don't have ANY errors in the console or in the log and the most odd is that when running the code on a localhost it works. All the required folders on the server exists and they are writable. Any ideas on what could be the reason?
Please check Flash browser plugin working. It's should be installed and enabled.
ok, guys, I found the problem. It easy at it seems took me a lot of time to realize that it's only working when accessing the website with www

Magento Image upload missing?

I'm having some issues with a Magento install 1.7.0.2. We recently moved servers and now the image upload option on newsletters and CMS pages are not working. (Product images are working fine).
Media folder is set for 777 permissions as well as subfolders.
I am getting this when trying to add an image:
http://i.imgur.com/UllpyMI.png
The create folder button also does nothing, has anyone come across this before or know a solution?
Thanks!
Are you sure it is able to read the /media/wysiwyg directory?
Have you set the base URLs correctly under System / Web?
Have you copied over the js-directory?
Seems Javascript compression in Magento was the issue. Disabling compression made this work! Don't know why.

Magento: updated product's image doesn't appear in frontend

I opened a product, deleted it's images and uploaded other 2 instead. They appeared in backend.
I refreshed the cache, deleted the cache of images in System=>Cache Management. I deleted cache of images in media/catalog/product/cache manually. I deleted the cache in var/cache, deleted the cache in var/minifycache (I have Fooman Speedster), updated indexes in index management. I deleted the cache in my browser.
Finally, the previous images still were present. WTF? I hit all the delete/refresh-buttons again and again, 10 times, I deleted all the possible and impossible caches manually from a file system. Result: the new images didn't appear.
I got very angry after 2 hours of trying.
I deleted those old images from the file system.
The new images did't appear, now I have a default image of Magento for a product.
I tried to access the new images directly (e.g. http://mysite.com/media/catalog/products/o/1.jpg), and the images are loaded and found without problems.
The new images are showed in backend fine.
What the hell is happening? How to get rid of it and, finally, to go bad at 5 a.m.??? Thank everybody for helping me.
My only advice is to double and triple check that you've flush all caches possible (Magento Cache, System Cache, and all 8 caches along with media cache). If you're using Zend Full Page cache, empty that too. Go to /var/cache and delete everything in here and do the same in var/sessions (if you're storing sessions in the file system and not the database).
If all of that fails try using a different browser that you have yet to view the site on. If that fails try uploading a fresh copy of your version of magento, replacing all the core files. I've seen crazy things happen with Magento and a upload of a clean copy fixes problems for whatever reason. Hope this helps!
Just ran into this problem myself. Don't forget to look externally as well, such as in the case of varnish/pagespeed/some CDN, and pay close attention to the URLs. I spent about an hour scratching my head wondering why it wasn't working when I was purging the wrong thing (www.example.com instead of media.example.com).
just try on command
php bin/magento catalog:image:resize
then
reindex command
your system will work perfectly.

Can't upload images with Magento 1.4 on Windows/IIS

Everything else works in Magento 1.4 but I can't upload images. Running on Windows/IIS. I know it isn't officially supported but seems odd that everything works but something as simple as image uploads.
Tried updating the media path and that is correct. Also updated permissions on directories, but nothing has worked.
Any other ideas to get this to work?
thanks
I've seen this problem happen when you have Basic Authentication on the entire site. Everything works, except image upload. I didn't find a solution other than removing the basic auth temporarily when needing to upload images.
Have you tried this?
http://www.magentocommerce.com/boards/viewthread/19925/
(essentially set permissions on TEMP directory where images are saved during upload)

Resources