Hello,
the main issue, so far, is problem to write into cache directory, i.e. /var/www/comp461/sf_sandbox/cache Make sure webserver can write into. ;) Do same for the *log* folder, i.e. /var/www/comp461/sf_sandbox/log Thanks. p.s. it's described here http://www.symfony-project.org/book/1_2/03-Running-Symfony look for "chmod 777 cache" On May 9, 3:00 pm, "[email protected]" <[email protected]> wrote: > hey i installed symfony from svn repository to my home folder.And i > read doc/03running-symfony.txt.In that tutorial install sandbox to web > root directory.I installed as a result.But when i joined my localhost > and when i checked symfony works or not.I took lots mistakes.It is > below. > > http://localhost/comp461/sf_sandbox/web/ > > Fatal error: Uncaught exception 'sfCacheException' with message > 'Failed to make cache directory "/var/www/comp461/sf_sandbox/ > > cache/frontend/prod/config" while generating cache for > configuration file "config/config_handlers.yml".' in /var/www/comp461/ > sf_sandbox/lib/symfony/config/sfConfigCache.class.php:337 Stack trace: > #0 /var/www/comp461/sf_sandbox/lib/symfony/config/ > sfConfigCache.class.php(107): sfConfigCache->writeCacheFile('config/ > config_h...', '/var/www/comp46...', '<?php?// auto-g...') #1 /var/www/ > comp461/sf_sandbox/lib/symfony/config/sfConfigCache.class.php(194): > sfConfigCache->callHandler('config/config_h...', Array, '/var/www/ > comp46...') #2 /var/www/comp461/sf_sandbox/lib/symfony/config/ > sfConfigCache.class.php(276): sfConfigCache->checkConfig('config/ > config_h...') #3 /var/www/comp461/sf_sandbox/lib/symfony/config/ > sfConfigCache.class.php(54): sfConfigCache->loadConfigHandlers() #4 / > var/www/comp461/sf_sandbox/lib/symfony/config/sfConfigCache.class.php > (194): sfConfigCache->callHandler('config/core_com...', Array, '/ in / > var/www/comp461/sf_sandbox/lib/symfony/config/sfConfigCache.class.php > on line 337 > > http://localhost/comp461/sf_sandbox/test/bootstrap/functional.php > > Fatal error: Uncaught exception 'InvalidArgumentException' with > message 'The application "" does not exist.' in /var/www/comp461/ > sf_sandbox/lib/symfony/config/sfProjectConfiguration.class.php:569 > Stack trace: #0 /var/www/comp461/sf_sandbox/test/bootstrap/ > functional.php(22): sfProjectConfiguration::getApplicationConfiguration > ('', 'test', true) #1 {main} thrown in /var/www/comp461/sf_sandbox/lib/ > symfony/config/sfProjectConfiguration.class.php on line 569 > > http://localhost/comp461/sf_sandbox/test/bootstrap/unit.php > it is empty page. > > all php file in lib directory is empty file is it normal ? > > http://localhost/comp461/sf_sandbox/data/symfony/bin/release.php > > Warning: require_once(/var/www/comp461/sf_sandbox/data/symfony/ > bin/../../lib/exception/sfException.class.php) [function.require- > once]: failed to open stream: No such file or directory in /var/www/ > comp461/sf_sandbox/data/symfony/bin/release.php on line 20 > > Fatal error: require_once() [function.require]: Failed opening > required '/var/www/comp461/sf_sandbox/data/symfony/bin/../../lib/ > exception/sfException.class.php' (include_path='.:/usr/share/php:/usr/ > share/pear') in /var/www/comp461/sf_sandbox/data/symfony/bin/ > release.php on line 20 > > http://localhost/comp461/sf_sandbox/apps/frontend/config/frontendConf... > > Fatal error: Class 'sfApplicationConfiguration' not found in /var/ > www/comp461/sf_sandbox/apps/frontend/config/ > frontendConfiguration.class.php on line 3 > > http://localhost/comp461/sf_sandbox/apps/frontend/lib/myUser.class.php > Fatal error: Class 'sfBasicSecurityUser' not found in /var/www/ > comp461/sf_sandbox/apps/frontend/lib/myUser.class.php on line 3 > > http://localhost/comp461/sf_sandbox/apps/frontend/templates/layout.php > > Fatal error: Call to undefined function include_http_metas() in / > var/www/comp461/sf_sandbox/apps/frontend/templates/layout.php on line > 4 > > how can i fix that errors.if i move my 1.2/ (/symfony directory) to > same directory with sandbox,all mistake will be fixed automatically.Or > what can i do for that problems. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
