Hi,

You don't have shell access? That's definitely not something I would
suggest. I can't give much of a suggestion besides to, well, get shell
access. I wonder whether clear-cache does something else besides just
deleting the contents of the cache directory, as otherwise you probably
wouldn't have a problem.

There was a discussion here a while ago about the risks of running symfony
on a shared host. I think I agree with that. But if that's your only option,
definitely have a host that offers shell access.

Thanks,
Brandon

> -----Original Message-----
> From: symfony-users@googlegroups.com [mailto:symfony-
> us...@googlegroups.com] On Behalf Of Johannes Frandsen
> Sent: Monday, January 05, 2009 3:43 AM
> To: symfony-users@googlegroups.com
> Subject: [symfony-users] Re: Symfony on shared host
> 
> Im running 1.1.6 in my dev environment and my build script just copies
> the files from my pear installation in to the data, lib and web folder
> and changes the projectconfiguration file to point to the lib folder
> before uploading to the production server via ftp.
> 
> I do not have access to the shell on the production server , so I can
> only flush the cache by manually deleting the content of the cache
> folder.
> 
> As far as I have understood the autoload is generated if the cache is
> empty, but my problem is the no files are generated only the folder
> structure under cache.
> 
> Any other ideas?
> 
> Joe
> 
> 
> On 05/01/2009, at 04.14, José Leonardo Diaz Ordoñez wrote:
> 
> 
>       I have an error like that in my local server, it was an autoload
> problem in my case I had two version of the symfony framework in my
> lib/vendor folder (1.2 and 1.2.2Dev)
> 
>       If you have access to the console try to execute "symfony cc" or
> "symfony YOUR_ORM:build-all "  It gave me some real strange errors, if
> any error appear again publish so I can tell if is the same it gave me.
> 
>       2009/1/4 Lee Bolding <l...@leesbian.net>
> 
> 
> 
>               cache and log need to be 777 *recursively*
> 
>               chmod -R 777 cache
>               chmod -R 777 log
> 
>               That should fix it :)
> 
> 
>               On 4 Jan 2009, at 19:02, Johannes Frandsen wrote:
> 
>               >
>               > I get this error when I try to run my symfony project on
> a shared
>               > host:
>               >
>               > Fatal error: Uncaught exception 'sfCacheException' with
> message
>               > 'Failed to make cache directory
> "/var/www/html/greenoak.dk/cache/
>               > frontend/dev/config" while generating cache for
> configuration file
>               > "config/config_handlers.yml".' in
> /var/www/html/greenoak.dk/lib/
>               > symfony/config/sfConfigCache.class.php:337 Stack trace:
> #0 /var/www/
>               >
> html/greenoak.dk/lib/symfony/config/sfConfigCache.class.php(107)
> <http://greenoak.dk/lib/symfony/config/sfConfigCache.class.php%28107%29
> > :
>               > sfConfigCache->writeCacheFile('config/config_h...',
> '/var/www/html/
>               > g...', '<?php?// auto-g...') #1
> /var/www/html/greenoak.dk/lib/symfony/
>               > config/sfConfigCache.class.php(194): sfConfigCache-
>               >> callHandler('config/config_h...', Array,
> '/var/www/html/g...') #2 /
>               > var/www/html/greenoak.dk/lib/symfony/config/
>               > sfConfigCache.class.php(276): sfConfigCache-
> >checkConfig('config/
>               > config_h...') #3
> /var/www/html/greenoak.dk/lib/symfony/config/
>               > sfConfigCache.class.php(54): sfConfigCache-
> >loadConfigHandlers() #4 /
>               > var/www/html/greenoak.dk/lib/symfony/config/
>               > sfConfigCache.class.php(194): sfConfigCache-
> >callHandler('config/
>               > settings...', Array, '/var/www/html/g. in
> /var/www/html/greenoak.dk/
>               > lib/symfony/config/sfConfigCache.class.php on line 337
>               >
>               > Safemode is on  but I have copied all the files from the
> pear
>               > installation (so my installation resemble what a symfony
> freeze would
>               > do ), so to the best of my knowledge this should not be
> the problem.
>               >
>               > Both cache and log have 777 file permission
>               >
>               > When I look i the cache folder I can see that some of the
> folder
>               > structure is created but no files
>               >
>               > Any help appreciated...
>               >
>               > Im running php 5.2.6 on the shared host
>               >
>               > Joe
>               >
>               >
>               >
>               >
>               >
>               >
>               > >
> 
> 
> 
> 
> 
> 
> 
> 
>       --
>       -----------------------------------------------------------------
> -----------------------------------------------------------------------
> ----
>       José Leonardo Diaz Ordoñez
>       Ingeniero en Electrónica y Telecomunicaciones
>       Énfasis en Ingeniería Telemática.
>       Universidad del Cauca, Popayán -Colombia
>       2007
> 
> 
> 
> 
> 
> 
> 
> > 




--~--~---------~--~----~------------~-------~--~----~
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