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

Problems with function.touch or intallation.

 
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
alcides
Smarty n00b


Joined: 14 May 2012
Posts: 2

PostPosted: Mon May 14, 2012 1:01 pm    Post subject: Problems with function.touch or intallation. Reply with quote

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


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

PostPosted: Mon May 14, 2012 7:17 pm    Post subject: Reply with quote

Looks like that the template_c folder has required permissions.

Call $smarty->testInstall(); to check your installation.
Back to top
View user's profile Send private message
alcides
Smarty n00b


Joined: 14 May 2012
Posts: 2

PostPosted: Wed May 16, 2012 12:05 pm    Post subject: Reply with quote

Thanks.
Back to top
View user's profile Send private message
ozubaba
Smarty n00b


Joined: 29 Jun 2012
Posts: 1

PostPosted: Fri Jun 29, 2012 12:20 pm    Post subject: Reply with quote

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