|
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 |
russia5 Smarty Rookie
Joined: 24 Dec 2005 Posts: 13 Location: Pasadena Ca
|
Posted: Sun Oct 09, 2016 11:22 pm Post subject: Fatal error: Uncaught-->Smarty: |
|
|
Quote: | I have loaded smarty and I have it working on index.php/index.tpl for the crash course. However, when I try to create links.php, links.tpl in the same directories as index.php/tpl (ie index.php and links.php are both under the root and index.tpl and links.tpl are in the root of /templates) I get:
Code: | Fatal error: Uncaught --> Smarty: Smarty->assign_by_ref() undefined method <-- thrown in /home1/nuclearp/public_html/atc-roofing.com/smarty/libs/sysplugins/smarty_internal_undefined.php on line 47
|
[/code]I have checked and assured that smarty_internal_undefined.php is in the distribution in the right place. |
_________________ Success to all! |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Mon Oct 10, 2016 4:34 am Post subject: |
|
|
Then you have more than one Smarty lib, and they are of different versions. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Oct 23, 2016 10:15 pm Post subject: |
|
|
the method assign_by_ref() is Smarty2 API syntax.
use assignByRef()
or instance the SmartyBC 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
|