|
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 |
suf3r Smarty Rookie
Joined: 09 Apr 2010 Posts: 31
|
Posted: Tue Jan 10, 2012 8:38 am Post subject: template compile error's |
|
|
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 |
|
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
|
Back to top |
|
suf3r Smarty Rookie
Joined: 09 Apr 2010 Posts: 31
|
Posted: Tue Jan 10, 2012 3:00 pm Post subject: |
|
|
Version: 3.1.7 According download page, latest/stable release. |
|
Back to top |
|
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
Posted: Tue Jan 10, 2012 3:13 pm Post subject: |
|
|
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 |
|
suf3r Smarty Rookie
Joined: 09 Apr 2010 Posts: 31
|
Posted: Wed Jan 11, 2012 12:33 pm Post subject: |
|
|
I didn't tryed yet, thanks for suggestion. Then i have time, will try it and post result's. |
|
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
|