Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [Smarty] kompilacja
slash.
post
Post #1





Grupa: Zarejestrowani
Postów: 113
Pomógł: 0
Dołączył: 7.08.2003
Skąd: Warszawa | Jankowce

Ostrzeżenie: (0%)
-----


Mam problem ze smarty - skonfigurowalem go i wszystko bylo by ok gdyby nie to ze jest wlaczone SAFE MODE w php - wiec tak tworze katalog templates_c i nadaje mu prawa 770 - wlascicielem jest www, ale katalogi generowane przez smarty sa tworzone przez uzytkownika apache i nie moge tego zmienic - w efekcie otrzymuje serie bledow
Kod
Warning: Smarty error: problem creating directory "/var/www/clients/bay/templates_c/%%117/%%1172603085" in /var/www/clients/bay/lib/smarty/Smarty.class.php on line 1042



Warning: Smarty error: problem writing temporary file '/var/www/clients/bay/templates_c/%%117/%%1172603085/3fddde0c5a55e' in /var/www/clients/bay/lib/smarty/Smarty.class.php on line 1042



Warning: SAFE MODE Restriction in effect. The script whose uid is 3500 is not allowed to access /var/www/clients/bay/templates_c/%%117 owned by uid 48 in /var/www/clients/bay/lib/smarty/Smarty.class.php on line 1575



Warning: Unable to access /var/www/clients/bay/templates_c/%%117/%%1172603085/index.tpl.php in /var/www/clients/bay/lib/smarty/Smarty.class.php on line 1158



Warning: Failed opening '/var/www/clients/bay/templates_c/%%117/%%1172603085/index.tpl.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/clients/bay/lib/smarty/Smarty.class.php on line 1158


Co moge zmienic zeby sie tego pozbyc questionmark.gif
Go to the top of the page
+Quote Post
rzseattle
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 554
Pomógł: 0
Dołączył: 4.04.2002
Skąd: Tychy

Ostrzeżenie: (0%)
-----


hmm

$smarty->use_sub_dirs=false;


--------------------
"Real children don't go hoppity-skip unless they are on drugs."
Go to the top of the page
+Quote Post
slash.
post
Post #3





Grupa: Zarejestrowani
Postów: 113
Pomógł: 0
Dołączył: 7.08.2003
Skąd: Warszawa | Jankowce

Ostrzeżenie: (0%)
-----


wielkie THX - w sumie zastanawialem sie nad tym ale nie wydawalo mi sie ze to rozwiazrze problem - w sumie jest to rozwiazanie dorazne ale zastanawia mnie czy moge to jakos inaczej rozwiazac questionmark.gif
Go to the top of the page
+Quote Post
rzseattle
post
Post #4





Grupa: Przyjaciele php.pl
Postów: 554
Pomógł: 0
Dołączył: 4.04.2002
Skąd: Tychy

Ostrzeżenie: (0%)
-----


http://www.phpinsider.com/smarty-forum/vie...ight=usesubdirs
Poczytaj - znajduje sie tam rozwiazanie Deyva (naszego winksmiley.jpg )


--------------------
"Real children don't go hoppity-skip unless they are on drugs."
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 19.08.2025 - 13:36