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

smarty_internal_templatebase.php

 
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 -> Bugs
View previous topic :: View next topic  
Author Message
m[e]ntor
Smarty Rookie


Joined: 02 Jan 2007
Posts: 9

PostPosted: Mon May 27, 2013 3:28 pm    Post subject: smarty_internal_templatebase.php Reply with quote

Hi,

on morning today, iīve postet in the german section following post: (http://www.smarty.net/forums/viewtopic.php?t=24320).

After a bit of debugging, maybe iīve found the problem:

Currently i use smarty-3.1.13

In the smarty_internal_templatebase.php line 161 and 165, is an include of the compiled file. The first include creates a function with the name 'content_519d0458756b08_38163315'. If the original Template is changed, line 164 creates a new compiled file and line 165 includes this file again.

But, and i think here is my problem, the function got the same name, so it will not refresh, and finally, with the first call, i didnīt get the new, but only the old content from the file. If i refresh the page, and the new template will parsed once again, i got the new content.

Any ideas why this could happen? System: win7/Zend Server 6/php5.4

Over the last monthīs ive got the same problem with older php versions on that maschine.

// Oliver
Back to top
View user's profile Send private message Visit poster's website
m[e]ntor
Smarty Rookie


Joined: 02 Jan 2007
Posts: 9

PostPosted: Tue May 28, 2013 5:01 am    Post subject: Reply with quote

After deactivating Zend Optimizer, everything is fine. Problem solved. Thanks.

// Oliver
Back to top
View user's profile Send private message Visit poster's website
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 -> Bugs 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