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

Undefined property: Smarty::$template_ext

 
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 -> General
View previous topic :: View next topic  
Author Message
Marco1976
Smarty n00b


Joined: 09 Aug 2015
Posts: 1

PostPosted: Sun Aug 09, 2015 8:09 pm    Post subject: Undefined property: Smarty::$template_ext Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


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

PostPosted: Sun Aug 09, 2015 9:33 pm    Post subject: Reply with quote

$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
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 -> General 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