Palooo 2009
Active Member
Hello,
I am trying to include a php file in smarty file by using
but i am getting these errors:
It's a php library to fetch imdb info.
Any help will be appreciated.
Thanks
-Pal
I am trying to include a php file in smarty file by using
PHP:
{include_php file='/path/to/file.php'}
but i am getting these errors:
PHP:
Warning: Smarty error: file:imdb.php is not readable in ../../smarty/libs/Smarty.class.php on line 1093
Warning: include() [function.include]: Filename cannot be empty in ../../smarty/libs/Smarty.class.php on line 1923
Warning: include() [function.include]: Filename cannot be empty in ../../smarty/libs/Smarty.class.php on line 1923
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in ../../smarty/libs/Smarty.class.php on line 1923
Fatal error: Class 'Imdb' not found in templates_c/%%48^485^485E6CB9%%imdb.tpl.php on line 12
It's a php library to fetch imdb info.
Any help will be appreciated.
Thanks
-Pal