View previous topic :: View next topic |
Author |
Message |
Dummkopf Smarty Rookie
Joined: 19 Apr 2003 Posts: 23
|
Posted: Wed Dec 17, 2003 7:20 pm Post subject: Problem: Page doesn't change anymore |
|
|
Hi everybody,
I deleted some directories of the template_c-dir and now some pages don't display any content!
I called every thinkable smarty-function in order to force compilation, clear cache, etc., but it doesn't want to work.
If anybody knows about the problem - and how to solve it: Please help me !! |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed Dec 17, 2003 7:24 pm Post subject: |
|
|
Clear both your templates_c and cache dirs. If it is not working, you have introduced an error into your application and/or templates since the last compile. |
|
Back to top |
|
Dummkopf Smarty Rookie
Joined: 19 Apr 2003 Posts: 23
|
Posted: Wed Dec 17, 2003 7:39 pm Post subject: |
|
|
I deleted the whole dir, but it still doesn't display anything !!
On my local system, everything is fine and the files are just uploaded ... |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Dec 17, 2003 8:11 pm Post subject: |
|
|
Make sure both templates_c and cache directories exist, they are writable by the apache user, and the paths to these directories are setup correctly in your application. |
|
Back to top |
|
Dummkopf Smarty Rookie
Joined: 19 Apr 2003 Posts: 23
|
Posted: Wed Dec 17, 2003 8:18 pm Post subject: |
|
|
I just copied all the compiled files from my localhost to the server and now it displays at least something ...
But it still doesn't change the content if I change a content file.
These are included via the index.tpl with {include ...} and come from a db.
Help is still appreciated ... |
|
Back to top |
|
Dummkopf Smarty Rookie
Joined: 19 Apr 2003 Posts: 23
|
Posted: Wed Dec 17, 2003 8:44 pm Post subject: |
|
|
Does anybody know how to set the chmod-numbers of a directory also to all the sub-dirs ??
I think that is the solution of my probs ... |
|
Back to top |
|
Dummkopf Smarty Rookie
Joined: 19 Apr 2003 Posts: 23
|
Posted: Wed Dec 17, 2003 9:25 pm Post subject: |
|
|
If anybody will ever have the same problem:
Take flashFXP - it can chmod dirs recursivly ...
With the write permissions everything works fine! |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed Dec 17, 2003 10:04 pm Post subject: |
|
|
Dummkopf wrote: | Does anybody know how to set the chmod-numbers of a directory also to all the sub-dirs ??
I think that is the solution of my probs ... |
In a unix environment you do this
Code: |
chmod -R [mod] /path/to/templates_c/
|
If you want to change _just_ the directories (no files)
Code: |
find /path/to/templates_c/ -type dir -exec chmod [mod] {} \;
|
It would be easiest to just clean out those directories though, let the files recompile. |
|
Back to top |
|
|