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 Compiler auto Generate Name Problems

 
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
msameerbutt
Smarty Rookie


Joined: 02 Oct 2003
Posts: 11
Location: India

PostPosted: Sat May 29, 2004 11:33 am    Post subject: Template Compiler auto Generate Name Problems Reply with quote

HI
i m using smarty
The Template_C dir generates runtime Dir and files

having such kind of names

..%2F..%2Ftango%2Fmembers%2Flogin.htm.php

an dir name

having
%%-10
%%-11

No problem is this in Unix based server when i want to delete these auto genreated files and dirs , i cannot i recieve error illigal file /dir name
i also tried to rename them but same error

tell me how can i overcome this problem
_________________
Hi I am New Comer
But Every one has this stage i will struggle hard need your help

thanks
Back to top
View user's profile Send private message MSN Messenger
electr0n
Smarty Rookie


Joined: 26 Mar 2004
Posts: 32
Location: Germany

PostPosted: Sat May 29, 2004 12:48 pm    Post subject: Reply with quote

You have to change the owner of these files.
Back to top
View user's profile Send private message
Duncan
Smarty Pro


Joined: 16 Dec 2003
Posts: 166

PostPosted: Sat May 29, 2004 10:43 pm    Post subject: Reply with quote

You can also use this method in your script to let the webserver clean all the files - that way you won't have to worry about the correct user/permission settings.

http://smarty.php.net/manual/en/api.clear.compiled.tpl.php
Back to top
View user's profile Send private message
msameerbutt
Smarty Rookie


Joined: 02 Oct 2003
Posts: 11
Location: India

PostPosted: Mon May 31, 2004 6:22 am    Post subject: Reply with quote

Thankx for your Support
But it is not Ownership Problem. and Also clear_compile_tpl() is also not working

its Naming Problem
All I want to give my Custom name to that compiled Dir
is there any way to change its default compiled dir naming secheme.
_________________
Hi I am New Comer
But Every one has this stage i will struggle hard need your help

thanks
Back to top
View user's profile Send private message MSN Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Mon May 31, 2004 7:15 am    Post subject: Reply with quote

No, but perhaps you don't want Smarty to use sub directories at all by setting use_sub_dirs = false.
Back to top
View user's profile Send private message
msameerbutt
Smarty Rookie


Joined: 02 Oct 2003
Posts: 11
Location: India

PostPosted: Wed Jul 28, 2004 5:35 am    Post subject: Reply with quote

Does anyone Help me
Can i Customize Name of Sub Dir & file name of Template_c
As Mention Above
_________________
Hi I am New Comer
But Every one has this stage i will struggle hard need your help

thanks
Back to top
View user's profile Send private message MSN Messenger
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