|
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 |
alcides Smarty n00b
Joined: 14 May 2012 Posts: 2
|
Posted: Mon May 14, 2012 1:01 pm Post subject: Problems with function.touch or intallation. |
|
|
What to make to decide the acknowledgment below:
Warning: touch() [function.touch]: Utime failed: Permission denied in /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_template.php on line 180
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file ./templates_c/wrt4fb0f390d6925' in /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_write_file.php:46 Stack trace: #0 /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_template.php(199): Smarty_Internal_Write_File::writeFile('./templates_c/6...', '<?php /* Smarty...', Object(Smarty)) #1 /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_templatebase.php(156): Smarty_Internal_Template->compileTemplateSource() #2 /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_templatebase.php(348): Smarty_Internal_TemplateBase->fetch('tpl_comp_totem....', NULL, NULL, NULL, true) #3 /home/ogsuape/public_html/sesc1/0escalacaototem/doc_comp_totem.php(501): Smarty_Internal_TemplateBase->display('tpl_comp_totem....') #4 {main} thrown in /home/ogsuape/public_html/sesc1/0escalacaototem/libs/sysplugins/smarty_internal_write_file.php on line 46
Thanks. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon May 14, 2012 7:17 pm Post subject: |
|
|
Looks like that the template_c folder has required permissions.
Call $smarty->testInstall(); to check your installation. |
|
Back to top |
|
alcides Smarty n00b
Joined: 14 May 2012 Posts: 2
|
Posted: Wed May 16, 2012 12:05 pm Post subject: |
|
|
Thanks. |
|
Back to top |
|
ozubaba Smarty n00b
Joined: 29 Jun 2012 Posts: 1
|
Posted: Fri Jun 29, 2012 12:20 pm Post subject: |
|
|
Hi all,
I checked the installation using $smarty->testInstall(); and everything looks fine but I'm still getting the same error.
Besides, it's working properly on my local server but getting the error on the web. All the folders have the access for reading and writing on the web server.
What could be the problem?
Thanks... |
|
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
|