Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> smarty i problem z zezwoleniami, permission denied - mkdir
deniol13
post
Post #1





Grupa: Zarejestrowani
Postów: 190
Pomógł: 2
Dołączył: 30.11.2009

Ostrzeżenie: (10%)
X----


Witam, od niedawna przeszedłem na Linuxa a dokładnie Ubuntu w wersji 10.04, pracuję sobie na nim itd. i potrzebuję smarty w moim projekcie. Ściągnąłem smarty3, wrzuciłem do katalogu z aplikacją i tak wygląda "inicjalizacjia"

  1. $this->smarty = new Smarty;
  2. $this->smarty->template_dir = TEMPLATES . $this->conf['default_template'] . '/';
  3. $this->smarty->compile_dir = TEMPLATES_C . $this->conf['default_template'] . '/';
  4. $this->smarty->compile_check = true;
  5. $this->smarty->debugging = false;
  6. $this->smarty->caching = true;
  7. $this->smarty->use_sub_dirs = false;
  8.  
  9. $this->smarty->display( 'test.tpl' );


A taki dostaję error
  1. mkdir(): Permission deniedrename(/tmp/wrtahSGBp,./cache/f90829abf41f11f91488e6f7662c6aceadfd44aa.test.tpl.php): No such file or directorychmod(): No such file or directoryfilemtime(): stat failed for ./cache/f90829abf41f11f91488e6f7662c6aceadfd44aa.test.tpl.php


Próbowałem ustawić chmody dla katalogu kompilacji, folderu tmp ale nie pomaga. Proszę o pomoc
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 00:21