Re: [SMARTY] Urgent help with smarty!

From: Date: Thu, 08 May 2003 09:57:54 +0000
Subject: Re: [SMARTY] Urgent help with smarty!
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9506@lists.php.net to get a copy of this message
On Thursday 08 May 2003 12:33 pm, Manfred Stienstra wrote: > $_relative_paths is a string and should be an array. Maybe there is > something wrong with the config. In my version I really don't see how this > could happen, but I'm looking at a older version. This is very odd. I have a include file called bull_id_sm.php and it has the following code in it: <? $pv = $_GET; $gv = $_POST; if ($gv["bulletin_id"]) $bulletin_id = $gv["bulletin_id"]; elseif ($pv["bulletin_id"]) $bulletin_id = $pv["bulletin_id"]; else $bulletin_id = $_SESSION["bulletin_id"]; if(!session_is_registered("bulletin_id")) session_register("bulletin_id"); $smarty->assign("bull_id", $bulletin_id); ?> If I don't include this file I don't get the error message! I still get the error message if I remove the $smarty->assign bit from that file. I am very confused... John

« previous php.smarty.general (#9506) next »