Hi all,
I know it’s been asked a million times, and it’s a very common problem for people, but I have been looking around the forums trying possible solutions for the problem :
When I try to call a snippet, all I get echo’d to the screen is the name of the snippet. For example :
[!testingcontent? &content=`[+content+]` &parent=`[+parent+]`!]
echo’s out in html
[[testingcontent? &content=`blah blah blah` &parent=`24`]]
rather than the expected result from the snippet call.
Strangely enough I have a working [[ditto_sitemap]] snippet that I have used to troubleshoot. Placing this [[ditto_sitemap]] snippet before or after [!testingcontent!] results in the sitemap working and the testingcontent not working. I believe that this has elimiated the rogue tags error (I am using extremely simple snippets, chunks, templates). I have also tried using non-cached and cached combinations, neither of which work.
This has also effected me when trying to use WebLoginPE for my users. This has failed in exactly the same way, echoing out the snippet call rather than running it.
This led me to believe that I had done something fundementally wrong, such as a speling mistake or not using backticks. I have checked these until I’ve gone mad and decided to make this post
I have checked the following forum topics :
http://modxcms.com/forums/index.php/topic,27987.0.html
http://modxcms.com/forums/index.php/topic,27267.0.html
http://modxcms.com/forums/index.php/topic,25775.15.html
All of which they seem to be experiencing the same problem, but there is no conclusive solution!
This led me further into thinking that perhaps some database corruption has occurred ? However when checking the site_snippets table I can see that the snippets have been entered in well and correct.
Any other ideas where I can search for likely causes of corruption ? Or whether I am missing something fundemental ?
Thanks in advance!
David