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ś:
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 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 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): (/tmp/:/home/gregory9/) in /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php line 55' in /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php:67 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) #1 /home/gregory9/public_html/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php(55): Symfony\Component\ClassLoader\DebugUniversalClassLoader::loadClass() #2 [internal function]: Symfony\Component\ClassLoader\DebugUniversalClassLoader->loadClass('Symfony\Compone...') #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