>> What gave you the impression that configuration might be needed? Maybe I’m missing something….
I think it must have been this post: http://bit.ly/5PQs5, but I looked in Smarty.class.php and Smarty_Compiler.class.php as you suggested and everything looked fine.
I had been running Smarty 2.6.25, upgrading to 2.6.26 has fixed the problem. Is 2.6.26 required (I tried a clean install of 2.6.25 but it still didn't work)? In any case, thanks!
Strange. I’ve just merged my local Windows test instance with the latest trunk, and I’m not having any trouble… of course, I’m using Windows 7 and stand-alone Apache rather than xampp, so it’s a significantly different environment. However, I didn’t get the impression from anything I read that $smarty.get should ever be unavailable. What gave you the impression that configuration might be needed? Maybe I’m missing something….
Taking a quick look at the Smarty code shows that there is a property of the Smarty object called “request_use_auto_globals” which affects whether it uses the normal superglobals (true) or the old PHP4-style $GLOBALS array (false). If that somehow got changed to false, I could see it causing problems… but I can’t imagine why that would happen! In any case, if you want to debug this, perhaps it would be helpful to look at the code in the _compile_smarty_ref() method of the Smarty library (found in Smarty/Smarty_Compiler.class.php wherever you installed the library).
Good luck, and let me know if I can be of further help!