croxton / Stash

Stash allows you to stash text and snippets of code for reuse throughout your templates.
GNU General Public License v3.0
198 stars 20 forks source link

Unable to update Stash embed file DB remains unchanged #151

Closed jawwolfe closed 7 years ago

jawwolfe commented 7 years ago

Hi. When I make a change to a stash embed file, then delete the exp_stash row to allow the cache to update, the changes never appear. I have made these kind of changes in the past year w/o problem. Using 2.6.7 Thanks.

croxton commented 7 years ago

Maybe you didn't delete the right row? Try truncating the table, that will clear all the rows.

You can use replace="yes" on the stash embed tag to have it update automatically (make sure to remove that for production environment).

jawwolfe commented 7 years ago

Ok thanks I'll try those ideal.

jawwolfe commented 7 years ago

Yea, I had to delete all rows in the table. Thanks! From now I will clear this cache in that way. In the past I had successfully delete only a single row depending on the file I update.