|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
tunde_ajao Smarty Rookie
Joined: 23 Aug 2011 Posts: 8
|
Posted: Thu Nov 29, 2012 5:34 am Post subject: Assign_by_ref |
|
|
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 |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Nov 29, 2012 3:58 pm Post subject: |
|
|
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 |
|
|
|
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
|