move smarty compiled files to store/[data]/smarty3 - which puts all writeable areas of the server except the config file and logs under the "store" directory. We'll do logs at a future time.

This commit is contained in:
friendica
2014-07-10 21:34:52 -07:00
parent f2c54cfcaf
commit c74fd78993
11 changed files with 37 additions and 32 deletions
+3 -3
View File
@@ -49,11 +49,11 @@ you might have trouble getting everything to work.]
`git pull`
- make sure folder *view/tpl/smarty3* exists and is writable by webserver
- make sure folder *store/[data]/smarty3* exists and is writable by webserver
`mkdir view/tpl/smarty3`
`mkdir -p "store/\[data\]/smarty3"`
`chmod 777 view/smarty3`
`chmod 777 "store/\[data\]/smarty3"`
- For installing addons
+1 -1
View File
@@ -17,7 +17,7 @@ Most likely, your session table has crashed. Run the MySQL command [code]repair
[*][b]When I switch theme, I sometimes get elements of one theme superimposed on top of the other[/b]
a) view/tpl/smarty3 isn't writeable by the webserver. Make it so.
a) store/[data]/smarty3 isn't writeable by the webserver. Make it so.
b) You're using Midori, or with certain themes, Konqueror in KHTML mode.
+3 -3
View File
@@ -41,11 +41,11 @@ you might have trouble getting everything to work.]
`git pull`
- make sure folder *view/tpl/smarty3* exists and is writable by webserver
- make sure folder *store/[data]/smarty3* exists and is writable by webserver
`mkdir view/tpl/smarty3`
`mkdir -p "store/\[data\]/smarty3"`
`chmod 777 view/smarty3`
`chmod 777 "store/\[data\]/smarty3"`
- For installing addons
+1 -1
View File
@@ -24,7 +24,7 @@ Symptoms:
2) Missing icons, tabs, menus or features.
We use the Smarty3 template engine to generate pages. These templates are compiled before they are displayed. Occasionally, a new or modified template will fail to overwrite the old compiled version. To clear the Smarty cache, delete all the files in view/tpl/smarty3/compiled [b]but do not delete the directory itself[/b]. Templates will then be recompiled on their next access.
We use the Smarty3 template engine to generate pages. These templates are compiled before they are displayed. Occasionally, a new or modified template will fail to overwrite the old compiled version. To clear the Smarty cache, delete all the files in store/[data]/smarty3/compiled [b]but do not delete the directory itself[/b]. Templates will then be recompiled on their next access.
[b]Theme Issues[/b]
+2 -2
View File
@@ -260,8 +260,8 @@ Check if you can update the addons
[code]pi@pi /var/www $ cd addon/
pi@pi /var/www/addon $ sudo git pull[/code]
Make sure folder view/tpl/smarty3 exists and is writable by the webserver
[code]pi@pi /var/www $ sudo chmod ou+w view/tpl/smarty3/[/code]
Make sure folder store/[data]/smarty3 exists and is writable by the webserver
[code]pi@pi /var/www $ sudo chmod ou+w "store/\[data\]/smarty3"[/code]
Create .htconfig.php and is writable by the webserver
[code]pi@pi /var/www $ sudo touch .htconfig.php