Include_php problem
| From: | Ben Mann | Date: | Mon, 03 Mar 2003 17:01:28 +0000 |
| Subject: | Include_php problem | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-886@lists.php.net to get a copy of this message | ||
I've just completed a site using Smarty and I've just upgraded the
Smarty files to the latest 2.4.2 release.
Since doing this errors/warnings are being generated by Apache/PHP
saying:
PHP Warning: Missing argument 4 for _smarty_include_php()
PHP Warning: extract() expects first argument to be an array in
include/Smarty.class.php on line 1738
I use the include_php tag quite a bit to bring in various pieces of
code, im specifying the filename of the PHP file correctly too as the
page does execute correctly.
Does anyone know what im missing out to cause this error?
Many Thanks.
Ben Mann