P
P
Pavel Korablin2016-04-27 21:35:04
PHP
Pavel Korablin, 2016-04-27 21:35:04

Why does nothing change after editing the code on the site?

Good day! Guys, the problem is universal ... There is a site on CMS ocStore 2.1.0.2. After editing the code on the site, nothing changes.
Cache and Cookies cleaned completely, in all 4 browsers. Nothing changes on mobile either. I also cleared the cache from the admin. panels, cleared the cache from the SEO Pro module ... NOTHING! :)
There is only one template - Default.
I edit the code through Notepad++ from Total Commander, I go via FTP ... The code is saved, I changed the code with various really noticeable changes - inserts and cuts of blocks, texts, but also nonsense ... I GENERALLY completely erased the contents of the product.tpl file (www/ catalog/view/theme/default/template/product/product.tpl). I go to the site, after all the procedures for erasing the history ... I go to view the product, and everything is in order there ... everything is displayed as before!!! What a mystic!? :)
HELP PEOPLE WISE AND KIND PLEASE!!! :)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Korablin, 2016-04-27
@pahakorablin

Thanks for the answer Zelim Beltoev! But not included. I finally figured it out ... the answer was as always simple, the problem was in the modifiers, which just had to be removed. They seem to work like a cache. I had them (system / storage / modification /) deleted the contents of the folder and all changes were applied.
Thanks to all! :)
For reference:
" Modifiers are special xml files that contain instructions for changing files. But the files themselves do not change, their virtual copies change. More details are described in the developer's guide.
But for starters, it's not about that at all. There are times when you keep changing the main files, but the changes do not occur. Most likely, the fault is just a virtual copy of the file (created by some modifier), which is located along the path your-site\system\modification\ or in Menu - Modules - Modifiers
In order to update the modifier cache, you must go to Menu - Modules - Modifiers click Refresh"

Z
Zelimkhan Beltoev, 2016-04-27
@Beltoev

Obviously caching is enabled on the server

S
Serge Tkach, 2019-03-07
@SergeTkach

Attention!
The method that the author of the question found is not optimal. It is necessary to use the toolkit built into the system to update the modifier cache !

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question