You are here: Re: [SMARTY] assign & assign_by_ref « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] assign & assign_by_ref

Posted by "messju mohr" on 09/30/89 11:24

On Tue, Aug 16, 2005 at 03:38:27AM +0100, Pedro wrote:
> I've developed/inherited a few apps where assign_by_ref() is used
> and am also using php5 which throws the error
>
> Fatal error: Only variables can be passed by reference in
> e:\max\cca\appo\admin.menu.inc.php on line 49
>
> Is there a way to make Smarty correct this by detecting php5 ???

no. you have to fix that yourself in admin.menu.inc.php on line 49.
e.g. only pass references as 2nd param to assign_by_ref().

> Pete

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация