Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony]Symfony2 - Problem z instalacją (open_basedir)
gregory90
post 18.05.2012, 13:15:59
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 1
Dołączył: 3.10.2009

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


Witam,
próbuję uruchomić Symfony 2 na hostingu webd.pl, jednak z marnym skutkiem. Po wgraniu Symfony 2(nic nie zmieniane w plikach) config.php odpala się normalnie, nie ma żadnych błędów, jednak gdy chcę wejść na app_dev.php, dostaje takie coś:
  1. Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/gregory9/) in /home/gregory9/public_html/Symfony/app/bootstrap.php.cache on line 1198
  2. Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/home/gregory9/) in /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php
  3. on line 55 Fatal error: Uncaught exception 'ErrorException' with message 'Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s):
  4. (/tmp/:/home/gregory9/) in /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php line 55' in
  5. /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php:67
  6. Stack trace: #0 /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component\HttpKernel\Debug\ErrorHandler->handle(2, 'require(): open...', '/home/gregory9/...', 55, Array)
  7. #1 /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component\ClassLoader\DebugUniversalClassLoader::loadClass()
  8. #2 [internal function]: Symfony\Component\ClassLoader\DebugUniversalClassLoader->loadClass('Symfony\Compone...')
  9. #3 /home/gregory9/public_html/Symfony/app/bootstrap.php.cache in /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php on line 67


W php.ini mam:
open_basedir= /tmp/:/home/gregory9/

Co robię źle?

EDIT:
Jakby ktoś miał ten sam problem:
Kod
php app/console cache:clear --env=prod


Ten post edytował gregory90 18.05.2012, 15:03:50
Go to the top of the page
+Quote Post

Posty w temacie


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 Wersja Lo-Fi Aktualny czas: 14.08.2025 - 16:01