|
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 |
Gokhank58 Smarty n00b
Joined: 13 Jun 2019 Posts: 3
|
Posted: Thu Jun 13, 2019 3:23 pm Post subject: class not found errors |
|
|
Smarty is not working
I get the following error.
Code: |
Fatal error: Uncaught Error: Class 'Smarty_Internal_Debug' not found in /opt/lampp/htdocs/smarty_php/libs/Smarty.class.php:1044 Stack trace: #0 /opt/lampp/htdocs/smarty_php/libs/sysplugins/smarty_internal_templatebase.php(189): Smarty->createTemplate('index.tpl', NULL, NULL, Object(Smarty), false) #1 /opt/lampp/htdocs/smarty_php/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute('index.tpl', NULL, NULL, NULL, 1) #2 /opt/lampp/htdocs/smarty_php/index.php(35): Smarty_Internal_TemplateBase->display('index.tpl') #3 {main} thrown in /opt/lampp/htdocs/smarty_php/libs/Smarty.class.php on line 1044 |
I have php 7 |
|
Back to top |
|
bsmither Smarty Elite
Joined: 20 Dec 2011 Posts: 322 Location: West Coast
|
Posted: Thu Jun 13, 2019 7:54 pm Post subject: |
|
|
Do you have this file:
Code: | \opt\lampp\htdocs\smarty_php\libs\sysplugins\smarty_internal_debug.php |
|
|
Back to top |
|
Gokhank58 Smarty n00b
Joined: 13 Jun 2019 Posts: 3
|
Posted: Fri Jun 14, 2019 12:55 pm Post subject: |
|
|
bsmither wrote: | Do you have this file:
Code: | \opt\lampp\htdocs\smarty_php\libs\sysplugins\smarty_internal_debug.php |
|
yes file available |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri Jun 14, 2019 9:06 pm Post subject: |
|
|
How did you include smarty in your project to begin with? |
|
Back to top |
|
Gokhank58 Smarty n00b
Joined: 13 Jun 2019 Posts: 3
|
Posted: Sat Jun 15, 2019 11:12 am Post subject: |
|
|
AnrDaemon wrote: | How did you include smarty in your project to begin with? |
Hi, thanks for the answers.
I followed the steps in the video below
https://www.youtube.com/watch?v=eHDgi4ugXWI |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Jun 15, 2019 8:32 pm Post subject: |
|
|
I don't have time to waste with random youtube.
Why don't you follow steps explained in the documentation instead? |
|
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
|