[eluser]Methyle[/eluser]
It's very strange - I put PHPTAL to application/libraries as well you wrote. Ok, I added include path for PHPTAL. But now I have new problem with template. My template is very simple (controller above):
Code:
<p tal:content="user/fistname"></p>
And i get this error:
[pre]
Fatal error: Uncaught exception 'Exception' with message 'Unable to find array key "fistname" in path "fistname"' in z:\home\www\system\application\libraries\PHPTAL\Context.php:299
Stack trace:
#0 z:\home\www\system\application\cache\tpl_1_1_85248dbbd73b5d022e3f62a105f827d67.php(6): phptal_path(Array, 'fistname')
#1 z:\home\www\system\application\libraries\PHPTAL.php(284): tpl_1_1_85248dbbd73b5d022e3f62a105f827d67(Object(PHPTAL), Object(PHPTAL_Context))
#2 z:\home\www\system\application\controllers\user.php(26): PHPTAL->execute()
#3 [internal function]: User->index()
#4 z:\home\www\system\codeigniter\CodeIgniter.php(216): call_user_func_array(Array, Array)
#5 z:\home\www\index.php(132): require_once('z:\home\yolk\ww...')
#6 {main}
thrown in z:\home\www\system\application\libraries\PHPTAL\Context.php on line 299
[/pre]