|
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 |
Marco1976 Smarty n00b
Joined: 09 Aug 2015 Posts: 1
|
Posted: Sun Aug 09, 2015 8:09 pm Post subject: Undefined property: Smarty::$template_ext |
|
|
i need some help to debug.
i instll all actuall modules following this installation tutorial:
http://www.phpclasses.org/blog/post/261-Working-with-CodeIgniter-HMVC-Framework-Smarty-Template-and-Doctrine-ORM-all-together.html
Code: |
A PHP Error was encountered
Severity: User Notice
Message: Undefined property: Smarty::$template_ext
Filename: Smarty/Smarty.class.php
Line Number: 738
Backtrace:
File: C:\xampp\htdocs\application\third_party\Smarty\Smarty.class.php
Line: 738
Function: trigger_error
File: C:\xampp\htdocs\application\libraries\MY_Parser.php
Line: 198
Function: __get
File: C:\xampp\htdocs\application\modules\welcome\controllers\welcome.php
Line: 28
Function: parse
File: C:\xampp\htdocs\index.php
Line: 292
Function: require_once
An uncaught Exception was encountered
Type: SmartyException
Message: Missing template name
Filename: C:\xampp\htdocs\application\third_party\Smarty\sysplugins\smarty_internal_template.php
Line Number: 679
Backtrace:
File: C:\xampp\htdocs\application\third_party\Smarty\sysplugins\smarty_internal_templatebase.php
Line: 119
Function: __get
File: C:\xampp\htdocs\application\libraries\MY_Parser.php
Line: 224
Function: fetch
File: C:\xampp\htdocs\application\modules\welcome\controllers\welcome.php
Line: 28
Function: parse
File: C:\xampp\htdocs\index.php
Line: 292
Function: require_once
|
|
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Aug 09, 2015 9:33 pm Post subject: |
|
|
$template_ext is defined in the CI_Smarty class.
It looks like that you did instance the Smarty class instead of CI_Smarty. |
|
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
|