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

template compile error's

 
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 -> Installation and Setup
View previous topic :: View next topic  
Author Message
suf3r
Smarty Rookie


Joined: 09 Apr 2010
Posts: 31

PostPosted: Tue Jan 10, 2012 8:38 am    Post subject: template compile error's Reply with quote

Hi, if first compiling template, it give's these error's:

Code:
Error: 'E_WARNING' -> Message: 'unlink(/opt/lampp/htdocs/includes/tpl/tpl_compile/b50210332960d8bcf4f07f41ddb3220cf227e602.config.conf.config.php) [function.unlink]: No such file or directory' -> File: '/opt/lampp/htdocs/includes/smarty/sysplugins/smarty_internal_write_file.php' -> Line: '49'

Error: 'E_WARNING' -> Message: 'filemtime() [function.filemtime]: stat failed for /opt/lampp/htdocs/includes/tpl/tpl_compile/aa178a1a9449cfb7f0d8e4508e8d5720f158d61d.file.index.tpl.php' -> File: '/opt/lampp/htdocs/intl/smarty/sysplugins/smarty_resource.php' -> Line: '685'

Error: 'E_WARNING' -> Message: 'unlink(/opt/lampp/htdocs/includes/tpl/tpl_compile/aa178a1a9449cfb7f0d8e4508e8d5720f158d61d.file.index.tpl.php) [function.unlink]: No such file or directory' -> File: '/opt/lampp/htdocs/includes/smarty/sysplugins/smarty_internal_write_file.php' -> Line: '49'


After page refresh, error's gone.
Back to top
View user's profile Send private message
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 674
Location: Germany, border to Switzerland

PostPosted: Tue Jan 10, 2012 8:58 am    Post subject: Reply with quote

which version are you using? Have you seen http://www.smarty.net/docs/en/api.mute.expected.errors.tpl ?
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
suf3r
Smarty Rookie


Joined: 09 Apr 2010
Posts: 31

PostPosted: Tue Jan 10, 2012 3:00 pm    Post subject: Reply with quote

Version: 3.1.7 According download page, latest/stable release.
Back to top
View user's profile Send private message
rodneyrehm
Administrator


Joined: 30 Mar 2007
Posts: 674
Location: Germany, border to Switzerland

PostPosted: Tue Jan 10, 2012 3:13 pm    Post subject: Reply with quote

Have you had a look at Smarty::muteExpectedErrors()? We provide this to help you "fix" your broken custom error handlers… which I bet is the cause of you seeing those errors…
_________________
Twitter
Back to top
View user's profile Send private message Visit poster's website
suf3r
Smarty Rookie


Joined: 09 Apr 2010
Posts: 31

PostPosted: Wed Jan 11, 2012 12:33 pm    Post subject: Reply with quote

I didn't tryed yet, thanks for suggestion. Then i have time, will try it and post result's.
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 -> Installation and Setup 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