smarty template kompilieren Verzeichnis nicht beschreibbar
ich bin mit der aktuellen version von smarty (3.0rc3).
ich habe meine templates_c Verzeichnis beschreibbar in der Kommandozeile (chmod -R 777 templates_c), aber smarty noch Ausgänge, wenn ich call $smart->Nutz->testInstall();
Testing compile directory...
FAILED: ./php/classes/smarty/templates_c/is not writable.
Warning: rename(/tmp/wrtub1GxS,./php/classes/smarty/templates_c
und dies, wenn ich smarty verwenden
/73e0ecf25f1c14182b8af5906bb8e9afa33b2b07.file.main.html.php):
Permission denied in /var/www/html/dev/dynamic/php/classes/smarty/sysplugins/smarty_internal_write_file.php on line 41
Warning: chmod(): No such file or directory
in /var/www/html/dev/dynamic/php/classes/smarty/sysplugins/smarty_internal_write_file.php
hier ist meine ls -al Ausgabe
drwxrwxrwx. 8 cove cove 4096 Aug 31 15:53 .
drwxrwxr-x. 5 cove cove 4096 Aug 31 15:24 ..
drwxrwxrwx. 2 cove cove 4096 Aug 31 15:36 cache
drwxrwxrwx. 2 cove cove 4096 Aug 31 15:39 configs
-rwxrwxrwx. 1 cove cove 2810 Aug 31 15:22 debug.tpl
drwxrwxrwx. 2 cove cove 4096 Jul 15 01:09 plugins
-rwxrwxrwx. 1 cove cove 27135 Aug 31 15:45 Smarty.class.php
drwxrwxrwx. 2 cove cove 4096 Jul 15 01:09 sysplugins
drwxrwxrwx. 2 cove cove 4096 Aug 31 15:36 templates
drwxrwxrwx. 2 nobody nobody 4096 Aug 31 15:53 templates_c
arbeite ich auf fedora 13. kann mir bitte jemand helfen.
danke im Voraus
InformationsquelleAutor kossibox | 2010-09-01
Du musst angemeldet sein, um einen Kommentar abzugeben.
dies ist die Lösung in meinem Fall:
deaktivieren Sie selinux
im terminal geben Sie system-config-selinux
viel Glück
InformationsquelleAutor kossibox