Somehow, and for no apparent reason, the problem has stopped giving me the "non-object" error after I 'required' the Smarty.class.php, but any attempt to reload my pages after a change in the template says I can't redeclare a certain variable (sorry, forget name).
Also, I still cannot get variables created in a PHP document to pass into a Smarty template. Any PHP variables or Smarty variables created in a PHP document always contain nothing when inside a template. Variables I assign in a template also don't hold their data no matter what I put in them using the syntax ->
Code:
{assign var="foo" value="bar"}
This is most frustrating.
If anyone can please enlighten me as to what is going on I would appreciate it.