Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Smarty problem

edited February 2015 in Vanilla 2.0 - 2.8

Hi!

1.Why when I write {$User|@var_dump} or {'test'|@var_dump} application crashed with message:

"Something has gone wrong.

We've run into a problem and are unable to handle this request right now.
Please check back in a little while."

2.

{php}
var_dump('test');
var_dump($User);
echo 'test'';
{/php}

hothing happens...(

3.

{php}
$var = $this->get_template_vars('var');
var_dump($var);
{/php}

Apache log:

PHP Fatal error:  Call to a member function get_template_vars() on a non-object in /var/www/html/Vanilla-bootstrap/cache/Smarty/compile/vanilla^%%FD^FDB^FDB7A827%%default.master.tpl.php on line 83, referer: http://vb.loc/

P.S. LAMP + Smarty already installed.

Comments

Sign In or Register to comment.