Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Assign_by_ref

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
tunde_ajao
Smarty Rookie


Joined: 23 Aug 2011
Posts: 8

PostPosted: Thu Nov 29, 2012 5:34 am    Post subject: Assign_by_ref Reply with quote

Does anyone know what happen to get this error.

Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'assign_by_ref'.' in /homepages/2/d381330460/htdocs/New/libs/sysplugins/smarty_internal_templatebase.php:806 Stack trace: #0 /homepages/2/d381330460/htdocs/New/index4.php(9): Smarty_Internal_TemplateBase->__call('assign_by_ref', Array) #1 /homepages/2/d381330460/htdocs/New/index4.php(9): Smarty->assign_by_ref('publisher', 'Packt Publishin...') #2 {main} thrown in /homepages/2/d381330460/htdocs/New/libs/sysplugins/smarty_internal_templatebase.php on line 806

I tried by best to know what caused this including re-installing my smarty files

http://www.9jafilms.com/New/index4.php
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Thu Nov 29, 2012 3:58 pm    Post subject: Reply with quote

Smarty 3 has some changes in the API. Please read README and NOTES files.

example:
assing_by_ref is now assignByRef
http://www.smarty.net/docs/en/api.assign.by.ref.tpl

If you still want to use the old Smarty 2 API you must use the SmartyBC class instead of the Smarty class,
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP