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 error: Can't write directories

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


Joined: 08 Mar 2008
Posts: 2

PostPosted: Sat Mar 08, 2008 7:04 pm    Post subject: Smarty error: Can't write directories Reply with quote

I have a new Joomla site. I have successfully installed CiviCRM which uses Smarty for templates. I have used CiviCRM forums to resolve the issue, but it appears to be specific to Smarty, and not necessarily how they have integrated smarty.

I will make a post following this one so that I can post the errors (the errors include URLs, and I am a new user...)
Back to top
View user's profile Send private message
mmattson
Smarty n00b


Joined: 08 Mar 2008
Posts: 2

PostPosted: Sat Mar 08, 2008 7:05 pm    Post subject: Reply with quote

Here are some specs about my hosting environment and the error:

Quote:
PHP built On: Windows NT INFOQUEST32 5.2 build 3790
Database Version: 4.1.22-community-nt
PHP Version: 5.2.3
Web Server: Microsoft-IIS/6.0
WebServer to PHP interface: isapi
Joomla! Version: Joomla! 1.0.12 Stable [ Sunfire ] 25 December 2006 01:00 UTC

The IUSR, and temporarily all users, have full permissions on all child folders of Joomla - which includes templates_c.


Quote:
Warning: Smarty error: problem creating directory 'C:/inetpub' in C:\inetpub\vhosts\ojfsda.org\httpdocs\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1095

Warning: Smarty::include(C:\inetpub\vhosts\ojfsda.org/httpdocs/joomla\media\civicrm\templates_c\en_US\\%%DF\DF1\DF14E7A2%%index.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in C:\inetpub\vhosts\ojfsda.org\httpdocs\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1265

Warning: Smarty::include() [function.include]: Failed opening 'C:\inetpub\vhosts\ojfsda.org/httpdocs/joomla\media\civicrm\templates_c\en_US\\%%DF\DF1\DF14E7A2%%index.tpl.php' for inclusion (include_path='.;C:\inetpub\vhosts\ojfsda.org/httpdocs/joomla\administrator\components\com_civicrm\civicrm;C:\inetpub\vhosts\ojfsda.org/httpdocs/joomla\administrator\components\com_civicrm\civicrm\packages;.;./includes;./pear') in C:\inetpub\vhosts\ojfsda.org\httpdocs\joomla\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1265
Back to top
View user's profile Send private message
koejkje
Smarty Rookie


Joined: 27 Nov 2003
Posts: 30
Location: Miami, Florida

PostPosted: Mon Mar 24, 2008 8:21 pm    Post subject: Reply with quote

I have the same problem is has nothing to do with your CRM. Many other users with this problem and it never gets resolved.
_________________
R. Stacy Cook
Edit-X :: Control Your Content
www.edit-x.com
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
saikat
Smarty n00b


Joined: 25 Apr 2012
Posts: 1

PostPosted: Wed Apr 25, 2012 7:58 pm    Post subject: temporary folder solution on window hostin Reply with quote

I have the same issue with one of my client on Parallel Plesk Server,
Basically its window base.

For this you need to update folder permission for templates_c directory.

-> Website and Domain menu
-> Click On File Manager link
-> Check for templates_c Folder Permission lock
-> Update it for all users.

Hope its help you out.

Thanks Very Happy
www.vintez.com
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