Issue fixed given write permission to cache dir ...

Thanks

On Feb 8, 10:20 pm, deepak <deepakkumar...@gmail.com> wrote:
> Here is the complete command line output ...
> -------------------
> PHP Deprecated:  Comments starting with '#' are deprecated in /etc/
> php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
> PHP Fatal error:  Uncaught exception 'RuntimeException' with message
> 'Failed to write cache file "/var/www/sf/sandbox/app/cache/dev/
> classes-3cf6b.php".' in /var/www/sf/sandbox/src/vendor/symfony/src/
> Symfony/Component/HttpKernel/ClassCollectionLoader.php:174
> Stack trace:
> #0 /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/Component/
> HttpKernel/ClassCollectionLoader.php(112): Symfony\Component\HttpKernel
> \ClassCollectionLoader::writeCacheFile('/var/www/sf/san...', '<?php?
> namespace...')
> #1 /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/Component/
> HttpKernel/Kernel.php(132): Symfony\Component\HttpKernel
> \ClassCollectionLoader::load(Array, '/var/www/sf/san...', 'classes',
> true, true)
> #2 /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/Bundle/
> FrameworkBundle/Console/Application.php(41): Symfony\Component
> \HttpKernel\Kernel->boot()
> #3 /var/www/sf/sandbox/app/console(10): Symfony\Bundle\FrameworkBundle
> \Console\Application->__construct(Object(AppKernel))
> #4 {main}
>   thrown in /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/
> Component/HttpKernel/ClassCollectionLoader.php on line 174
>
> RuntimeException: Failed to write cache file "/var/www/sf/sandbox/app/
> cache/dev/classes-3cf6b.php". in /var/www/sf/sandbox/src/vendor/
> symfony/src/Symfony/Component/HttpKernel/ClassCollectionLoader.php on
> line 174
>
> Call Stack:
>     0.0013     323260   1. {main}() /var/www/sf/sandbox/app/console:0
>     0.0198     759232   2. Symfony\Bundle\FrameworkBundle\Console
> \Application->__construct() /var/www/sf/sandbox/app/console:10
>     0.0460    1214780   3. Symfony\Component\HttpKernel\Kernel->boot() 
> /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/Bundle/
>
> FrameworkBundle/Console/Application.php:41
>     0.0815    1767024   4. Symfony\Component\HttpKernel
> \ClassCollectionLoader::load() /var/www/sf/sandbox/src/vendor/symfony/
> src/Symfony/Component/HttpKernel/Kernel.php:132
>     5.9427    3948160   5. Symfony\Component\HttpKernel
> \ClassCollectionLoader::writeCacheFile() /var/www/sf/sandbox/src/
> vendor/symfony/src/Symfony/Component/HttpKernel/
> ClassCollectionLoader.php:112
> --------------------------
>
> On Feb 8, 10:17 pm, deepak <deepakkumar...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Thanks Christophe,
>
> > I don't know about the exception, what I am trying to know here is
> > when I go to sf2 sandbox in terminal (ubuntu setup ), Is there a way
> > to access sf2 commands like we had for symfony1.4 e.g. "symfony cc"
> > etc ...
>
> > Do these commands exits in sf2 anymore or not. (If yes, what all
> > commands are available --- point me to some relevant docs )
>
> > And that call stake is is the output when I enter "php app/console" in
> > sf2 project directory.
>
> > Hope I explained my doubt here. Let me know If it makes sense or I
> > will try to explain again.
>
> > deepak
>
> > On Feb 8, 10:05 pm, stof <s...@notk.org> wrote:
>
> > > What exception do you get ? The call stack is useless without the
> > > exception (which should be printed before that).
>
> > > Christophe
>
> > > On Tue, 8 Feb 2011 09:00:55 -0800 (PST), deepak <deepakkumar...@gmail.com>
> > > wrote:
>
> > > > Hi
>
> > > > I have checked out the symfony 2 sandbox but I am not able to access
> > > > the symfony console like we used to do in sf1.4 or older version ...
>
> > > > Any idea how to do that and how to see what all commands are
> > > > available ?
>
> > > > I tried to use  "php app/console" and I get following ....
>
> > > > ----------------------------
> > > > Call Stack:
> > > >     0.0013     323260   1. {main}() /var/www/sf/sandbox/app/console:0
> > > >     0.0198     759232   2. Symfony\Bundle\FrameworkBundle\Console
> > > > \Application->__construct() /var/www/sf/sandbox/app/console:10
> > > >     0.0460    1214780   3. Symfony\Component\HttpKernel\Kernel-
> > > >>boot() /var/www/sf/sandbox/src/vendor/symfony/src/Symfony/Bundle/
> > > > FrameworkBundle/Console/Application.php:41
> > > >     0.0815    1767024   4. Symfony\Component\HttpKernel
> > > > \ClassCollectionLoader::load() /var/www/sf/sandbox/src/vendor/symfony/
> > > > src/Symfony/Component/HttpKernel/Kernel.php:132
> > > >     5.9427    3948160   5. Symfony\Component\HttpKernel
> > > > \ClassCollectionLoader::writeCacheFile() /var/www/sf/sandbox/src/
> > > > vendor/symfony/src/Symfony/Component/HttpKernel/
> > > > ClassCollectionLoader.php:112
>
> > > > -----------------------------
>
> > > > Thanks
> > > > Deepak

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to