Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Problem z wyświetlaniem strony - błędy apache2/php5
poplop
post
Post #1





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 14.06.2010

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


Witam,
mam problem z wyświetlaniem skryptu na moim serwerze VPS. Tam gdzie powinny być newsy to ich nie ma. Załączam logi serwera abyście mogli mi pomóc. Proszę o napisanie jaki pakiet mam doinstalować lub co mam zmienić w konfiguracji danego pakietu.

A oto error.log z apache2:
CODE
[Wed Sep 14 20:33:45 2011] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze3 with Suhosin-Patch configured -- resuming normal operations
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: touch(): Utime failed: Permission denied in /var/www/Smarty/sysplugins/smarty_internal_template.php on line 255
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: rename(/tmp/wrtnTwxuT,Style/templates_c/f4eef1c6f9a4c104e64a164a62325d9df37b3c72.file.header.tpl.php): Permission denied in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 48
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: chmod(): Operation not permitted in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 50
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: touch(): Utime failed: Permission denied in /var/www/Smarty/sysplugins/smarty_internal_template.php on line 255
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: rename(/tmp/wrt5rPTJM,Style/templates_c/46eb2f83991333d70683072a6026de0d3f5eb9e0.file.menu.tpl.php): Permission denied in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 48
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: chmod(): Operation not permitted in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 50
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: touch(): Utime failed: Permission denied in /var/www/Smarty/sysplugins/smarty_internal_template.php on line 255
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: rename(/tmp/wrtFGVg0F,Style/templates_c/be0d3c8f354530551bfd1e694a29fd8a1433a30d.file.polecamy-akceptujemy.tpl.php): Permission denied in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 48
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: chmod(): Operation not permitted in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 50
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: touch(): Utime failed: Permission denied in /var/www/Smarty/sysplugins/smarty_internal_template.php on line 255
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: rename(/tmp/wrtrIM8gz,Style/templates_c/0540e8f38d9b2a47c0ba5a98891f8b6f9a9d3d3f.file.footer.tpl.php): Permission denied in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 48
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: chmod(): Operation not permitted in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 50
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: touch(): Utime failed: Permission denied in /var/www/Smarty/sysplugins/smarty_internal_template.php on line 255
[Wed Sep 14 20:33:47 2011] [error] [client 89.231.131.153] PHP Warning: rename(/tmp/wrtcDp7Bs,Style/templates_c/beb1b2653c6350f512463cb7e29d136da9545669.file.index.tpl.php): Permission denied in /var/www/Smarty/sysplugins/smarty_internal_write_file.php on line 48

Jeżeli temat umieściłem w złym dziale to przepraszam i proszę o przeniesienie do prawidłowego.

Pozdrawiam,
Poplop
Go to the top of the page
+Quote Post
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Z logów widać brak praw.
Nadaj katalogowi templates_c właściwe prawa


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
poplop
post
Post #3





Grupa: Zarejestrowani
Postów: 24
Pomógł: 0
Dołączył: 14.06.2010

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


Bardzo Ci dziękuję za pomoc.
Na początku nadawałem prawa tylko dla folderów /tmp i /cache. Nie pomyślałem o stylu.
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: 22.08.2025 - 08:58