-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] GPM keeps generating snippet files in wrong location #56
Comments
The snippet files in these wrong locations are empty btw.. |
This is cache problem, system settings cache is not cleared properly during the installation (before it gets to installing elements) and MODX can't resolve You can clear cache manually (I would recommend deletion of everything under I didn't spot this problem for a while, so you may have something different in your env around permissions... |
Thanks. I made sure I cleared the cache.. Even did a fresh install, but ended up at the same point. I isolated the problem now though, but I don't know where to look for an answer.. It is as follows: there is a Layout template in ContentBlocks, containing the snippet call of the fbStripAsAlias snippet:
When I change the snippet back to being non-static, the snippet works. When I change the snippet to being static, in a different location than GPM, and without the |
Triple checked all the file paths and system settings, even did a fresh install, but static snippet files keep popping up under the default MODX core/components folder:
This results in the snippets not firing in some cases, but not all. Very, very strange.. Error log is silent.
The text was updated successfully, but these errors were encountered: