"Fatal error: Uncaught exception 'sfException' with message 'Problem
executing command sh: line 1: */etc/php5/apache2: is a directory*"
Make sure you have correct command, for example first parameters must be
full path to php binary, NOT directory.
Let me know how your $command var finally looks, before you passing it
to sfFilesystem->sh(...).
Thanks.
p.s.
are you sure it's windows server? just curious, because you have unix
like path in error it throw.
Tomasz Ignatiuk wrote:
> This looks nice, but not working. Maybe because this is Windows server
> and it has something to do with shell commands?
>
> Fatal error: Uncaught exception 'sfException' with message 'Problem
> executing command sh: line 1: /etc/php5/apache2: is a directory ' in /
> home/users/.../public_html/pd/lib/symfony/task/sfFilesystem.class.php:
> 291 Stack trace: #0 /home/users/.../public_html/pd/web/
> sf_cc_webscript.php(8): sfFilesystem->sh('/etc/php5/apach...') #1
> {main} thrown in /home/users/.../public_html/pd/lib/symfony/task/
> sfFilesystem.class.php on line 291
>
>
> On 31 Mar, 04:04, "Yevgeniy A. Viktorov" <[email protected]>
> wrote:
>
>> It's might looks like this:http://gist.github.com/88008
>>
>> Thanks.
>>
>> Tomasz Ignatiuk wrote:
>>
>>> Did anyone tried to clear cache without CLI anf FTP? It takes some
>>> time for FTP client to log in, go to symfony project, list all
>>> catalogs and subdirectories in cache and delete them. So I am thinking
>>> how about to create a php file, that when I run it through browser, it
>>> will clear cache. Anyone tried it? Any ideas?
>>>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---